| OLD | NEW |
| 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/plugin/analysis/resolver_provider.dart'; | |
| 8 import 'package:analysis_server/src/server/driver.dart'; | 7 import 'package:analysis_server/src/server/driver.dart'; |
| 9 import 'package:analyzer/instrumentation/instrumentation.dart'; | 8 import 'package:analyzer/instrumentation/instrumentation.dart'; |
| 9 import 'package:analyzer/plugin/resolver_provider.dart'; |
| 10 import 'package:plugin/plugin.dart'; | 10 import 'package:plugin/plugin.dart'; |
| 11 | 11 |
| 12 /** | 12 /** |
| 13 * An object that can be used to start an analysis server. This class exists so | 13 * 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. | 14 * that clients can configure an analysis server before starting it. |
| 15 * | 15 * |
| 16 * Clients may not extend, implement or mix-in this class. | 16 * Clients may not extend, implement or mix-in this class. |
| 17 */ | 17 */ |
| 18 abstract class ServerStarter { | 18 abstract class ServerStarter { |
| 19 /** | 19 /** |
| (...skipping 16 matching lines...) Expand all Loading... |
| 36 /** | 36 /** |
| 37 * Set the [plugins] that are defined outside the analysis_server package. | 37 * Set the [plugins] that are defined outside the analysis_server package. |
| 38 */ | 38 */ |
| 39 void set userDefinedPlugins(List<Plugin> plugins); | 39 void set userDefinedPlugins(List<Plugin> plugins); |
| 40 | 40 |
| 41 /** | 41 /** |
| 42 * Use the given command-line [arguments] to start this server. | 42 * Use the given command-line [arguments] to start this server. |
| 43 */ | 43 */ |
| 44 void start(List<String> arguments); | 44 void start(List<String> arguments); |
| 45 } | 45 } |
| OLD | NEW |