OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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; | 5 library analysis.server; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
10 import 'package:analyzer/file_system/file_system.dart'; | 10 import 'package:analyzer/file_system/file_system.dart'; |
11 import 'package:analysis_server/src/analysis_logger.dart'; | 11 import 'package:analysis_server/src/analysis_logger.dart'; |
12 import 'package:analysis_server/src/channel.dart'; | 12 import 'package:analysis_server/src/channel.dart'; |
13 import 'package:analysis_server/src/constants.dart'; | 13 import 'package:analysis_server/src/constants.dart'; |
14 import 'package:analysis_server/src/context_manager.dart'; | 14 import 'package:analysis_server/src/context_manager.dart'; |
15 import 'package:analysis_server/src/domain_analysis.dart'; | 15 import 'package:analysis_server/src/domain_analysis.dart'; |
16 import 'package:analysis_server/src/operation/operation_analysis.dart'; | 16 import 'package:analysis_server/src/operation/operation_analysis.dart'; |
17 import 'package:analysis_server/src/operation/operation.dart'; | 17 import 'package:analysis_server/src/operation/operation.dart'; |
18 import 'package:analysis_server/src/operation/operation_queue.dart'; | 18 import 'package:analysis_server/src/operation/operation_queue.dart'; |
19 import 'package:analysis_server/src/package_map_provider.dart'; | 19 import 'package:analysis_server/src/package_map_provider.dart'; |
20 import 'package:analysis_server/src/protocol.dart'; | 20 import 'package:analysis_server/src/protocol.dart'; |
21 import 'package:analyzer/source/package_map_resolver.dart'; | 21 import 'package:analyzer/source/package_map_resolver.dart'; |
22 import 'package:analyzer/src/generated/ast.dart'; | 22 import 'package:analyzer/src/generated/ast.dart'; |
23 import 'package:analyzer/src/generated/engine.dart'; | 23 import 'package:analyzer/src/generated/engine.dart'; |
24 import 'package:analyzer/src/generated/source.dart'; | 24 import 'package:analyzer/src/generated/source.dart'; |
25 import 'package:analyzer/src/generated/sdk.dart'; | 25 import 'package:analyzer/src/generated/sdk.dart'; |
26 import 'package:analyzer/src/generated/source_io.dart'; | 26 import 'package:analyzer/src/generated/source_io.dart'; |
27 import 'package:analyzer/src/generated/java_engine.dart'; | 27 import 'package:analyzer/src/generated/java_engine.dart'; |
28 import 'package:analysis_services/constants.dart'; | 28 import 'package:analysis_server/src/services/constants.dart'; |
29 import 'package:analysis_services/correction/change.dart'; | 29 import 'package:analysis_server/src/services/correction/change.dart'; |
30 import 'package:analysis_services/index/index.dart'; | 30 import 'package:analysis_server/src/services/index/index.dart'; |
31 import 'package:analysis_services/search/search_engine.dart'; | 31 import 'package:analysis_server/src/services/search/search_engine.dart'; |
32 import 'package:analyzer/src/generated/element.dart'; | 32 import 'package:analyzer/src/generated/element.dart'; |
33 | 33 |
34 | 34 |
35 class ServerContextManager extends ContextManager { | 35 class ServerContextManager extends ContextManager { |
36 final AnalysisServer analysisServer; | 36 final AnalysisServer analysisServer; |
37 | 37 |
38 /** | 38 /** |
39 * The default options used to create new analysis contexts. | 39 * The default options used to create new analysis contexts. |
40 */ | 40 */ |
41 AnalysisOptionsImpl defaultOptions = new AnalysisOptionsImpl(); | 41 AnalysisOptionsImpl defaultOptions = new AnalysisOptionsImpl(); |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
832 /** | 832 /** |
833 * An enumeration of the services provided by the server domain. | 833 * An enumeration of the services provided by the server domain. |
834 */ | 834 */ |
835 class ServerService extends Enum2<ServerService> { | 835 class ServerService extends Enum2<ServerService> { |
836 static const ServerService STATUS = const ServerService('STATUS', 0); | 836 static const ServerService STATUS = const ServerService('STATUS', 0); |
837 | 837 |
838 static const List<ServerService> VALUES = const [STATUS]; | 838 static const List<ServerService> VALUES = const [STATUS]; |
839 | 839 |
840 const ServerService(String name, int ordinal) : super(name, ordinal); | 840 const ServerService(String name, int ordinal) : super(name, ordinal); |
841 } | 841 } |
OLD | NEW |