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

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

Issue 2963323002: Add analytics to analyzer-cli and analysis server. (Closed)
Patch Set: update from review comments Created 3 years, 5 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/analyzer_cli/lib/src/options.dart ('k') | pkg/analyzer_cli/pubspec.yaml » ('j') | 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 analyzer_cli.starter; 5 library analyzer_cli.starter;
6 6
7 import 'dart:async';
8
7 import 'package:analyzer/plugin/resolver_provider.dart'; 9 import 'package:analyzer/plugin/resolver_provider.dart';
8 import 'package:analyzer_cli/src/driver.dart'; 10 import 'package:analyzer_cli/src/driver.dart';
9 import 'package:plugin/plugin.dart'; 11 import 'package:plugin/plugin.dart';
10 12
11 /** 13 /**
12 * An object that can be used to start a command-line analysis. This class 14 * An object that can be used to start a command-line analysis. This class
13 * exists so that clients can configure a command-line analyzer before starting 15 * exists so that clients can configure a command-line analyzer before starting
14 * it. 16 * it.
15 * 17 *
16 * Clients may not extend, implement or mix-in this class. 18 * Clients may not extend, implement or mix-in this class.
(...skipping 12 matching lines...) Expand all
29 void set packageResolverProvider(ResolverProvider provider); 31 void set packageResolverProvider(ResolverProvider provider);
30 32
31 /** 33 /**
32 * Set the [plugins] that are defined outside the analyzer_cli package. 34 * Set the [plugins] that are defined outside the analyzer_cli package.
33 */ 35 */
34 void set userDefinedPlugins(List<Plugin> plugins); 36 void set userDefinedPlugins(List<Plugin> plugins);
35 37
36 /** 38 /**
37 * Use the given command-line [arguments] to start this analyzer. 39 * Use the given command-line [arguments] to start this analyzer.
38 */ 40 */
39 void start(List<String> arguments); 41 Future<Null> start(List<String> arguments);
40 } 42 }
OLDNEW
« no previous file with comments | « pkg/analyzer_cli/lib/src/options.dart ('k') | pkg/analyzer_cli/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698