Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(632)

Side by Side Diff: pkg/analysis_server/lib/starter.dart

Issue 1335113004: Improve the documentation of extension points (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Minor clean-up Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analysis_server/lib/plugin/navigation.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library driver; 5 library driver;
6 6
7 import 'package:analysis_server/src/context_manager.dart'; 7 import 'package:analysis_server/src/context_manager.dart';
8 import 'package:analysis_server/src/server/driver.dart'; 8 import 'package:analysis_server/src/server/driver.dart';
9 import 'package:analysis_server/uri/resolver_provider.dart'; 9 import 'package:analysis_server/uri/resolver_provider.dart';
10 import 'package:analyzer/instrumentation/instrumentation.dart'; 10 import 'package:analyzer/instrumentation/instrumentation.dart';
11 import 'package:plugin/plugin.dart'; 11 import 'package:plugin/plugin.dart';
12 12
13 /** 13 /**
14 * An object that can be used to start an analysis server. 14 * An object that can be used to start an analysis server.
15 *
16 * Clients are not expected to subtype this class.
15 */ 17 */
16 abstract class ServerStarter { 18 abstract class ServerStarter {
17 /** 19 /**
18 * Initialize a newly created starter to start up an analysis server. 20 * Initialize a newly created starter to start up an analysis server.
19 */ 21 */
20 factory ServerStarter() = Driver; 22 factory ServerStarter() = Driver;
21 23
22 /** 24 /**
23 * Set the context manager used to create analysis contexts within each of the 25 * Set the context manager used to create analysis contexts within each of the
24 * analysis roots. 26 * analysis roots.
(...skipping 16 matching lines...) Expand all
41 /** 43 /**
42 * Set the [plugins] that are defined outside the analysis_server package. 44 * Set the [plugins] that are defined outside the analysis_server package.
43 */ 45 */
44 void set userDefinedPlugins(List<Plugin> plugins); 46 void set userDefinedPlugins(List<Plugin> plugins);
45 47
46 /** 48 /**
47 * Use the given command-line [arguments] to start this server. 49 * Use the given command-line [arguments] to start this server.
48 */ 50 */
49 void start(List<String> arguments); 51 void start(List<String> arguments);
50 } 52 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/plugin/navigation.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698