| OLD | NEW |
| 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 'package:analyzer/plugin/resolver_provider.dart'; | 7 import 'package:analyzer/plugin/resolver_provider.dart'; |
| 8 import 'package:analyzer_cli/src/driver.dart'; | |
| 9 import 'package:plugin/plugin.dart'; | 8 import 'package:plugin/plugin.dart'; |
| 10 | 9 |
| 10 import 'src/driver.dart'; |
| 11 |
| 11 /** | 12 /** |
| 12 * An object that can be used to start a command-line analysis. This class | 13 * 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 | 14 * exists so that clients can configure a command-line analyzer before starting |
| 14 * it. | 15 * 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 */ |
| 18 abstract class CommandLineStarter { | 19 abstract class CommandLineStarter { |
| 19 /** | 20 /** |
| 20 * Initialize a newly created starter to start up a command-line analysis. | 21 * Initialize a newly created starter to start up a command-line analysis. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 /** | 32 /** |
| 32 * Set the [plugins] that are defined outside the analyzer_cli package. | 33 * Set the [plugins] that are defined outside the analyzer_cli package. |
| 33 */ | 34 */ |
| 34 void set userDefinedPlugins(List<Plugin> plugins); | 35 void set userDefinedPlugins(List<Plugin> plugins); |
| 35 | 36 |
| 36 /** | 37 /** |
| 37 * Use the given command-line [arguments] to start this analyzer. | 38 * Use the given command-line [arguments] to start this analyzer. |
| 38 */ | 39 */ |
| 39 void start(List<String> arguments); | 40 void start(List<String> arguments); |
| 40 } | 41 } |
| OLD | NEW |