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

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

Issue 2742343006: Formalizing the hacks letting the angular analyzer plugin run for now. (Closed)
Patch Set: Rename variable not method Created 3 years, 9 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
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 analysis_server.starter; 5 library analysis_server.starter;
6 6
7 import 'package:analysis_server/src/server/driver.dart'; 7 import 'package:analysis_server/src/server/driver.dart';
8 import 'package:analysis_server/src/analysis_server.dart';
8 import 'package:analyzer/instrumentation/instrumentation.dart'; 9 import 'package:analyzer/instrumentation/instrumentation.dart';
9 import 'package:analyzer/plugin/resolver_provider.dart'; 10 import 'package:analyzer/plugin/resolver_provider.dart';
10 import 'package:plugin/plugin.dart'; 11 import 'package:plugin/plugin.dart';
11 12
12 /** 13 /**
13 * An object that can be used to start an analysis server. This class exists so 14 * An object that can be used to start an analysis server. This class exists so
14 * that clients can configure an analysis server before starting it. 15 * that clients can configure an analysis server before starting it.
15 * 16 *
16 * Clients may not extend, implement or mix-in this class. 17 * Clients may not extend, implement or mix-in this class.
17 */ 18 */
(...skipping 22 matching lines...) Expand all
40 */ 41 */
41 void set packageResolverProvider(ResolverProvider provider); 42 void set packageResolverProvider(ResolverProvider provider);
42 43
43 /** 44 /**
44 * Set the [plugins] that are defined outside the analysis_server package. 45 * Set the [plugins] that are defined outside the analysis_server package.
45 */ 46 */
46 void set userDefinedPlugins(List<Plugin> plugins); 47 void set userDefinedPlugins(List<Plugin> plugins);
47 48
48 /** 49 /**
49 * Use the given command-line [arguments] to start this server. 50 * Use the given command-line [arguments] to start this server.
51 *
52 * At least temporarily returns AnalysisServer so that consumers of the
53 * starter API can then use the server, this is done as a stopgap for the
54 * angular plugin until the official plugin API is finished.
50 */ 55 */
51 void start(List<String> arguments); 56 AnalysisServer start(List<String> arguments);
52 } 57 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/server/driver.dart ('k') | pkg/analyzer/lib/src/context/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698