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.src.plugin.server_plugin; | 5 library analysis_server.src.plugin.server_plugin; |
6 | 6 |
7 import 'package:analysis_server/plugin/analysis/analysis_domain.dart'; | 7 import 'package:analysis_server/plugin/analysis/analysis_domain.dart'; |
8 import 'package:analysis_server/plugin/analysis/analyzed_files.dart'; | 8 import 'package:analysis_server/plugin/analysis/analyzed_files.dart'; |
9 import 'package:analysis_server/plugin/analysis/navigation/navigation.dart'; | 9 import 'package:analysis_server/plugin/analysis/navigation/navigation.dart'; |
10 import 'package:analysis_server/plugin/analysis/navigation/navigation_core.dart'
; | 10 import 'package:analysis_server/plugin/analysis/navigation/navigation_core.dart'
; |
11 import 'package:analysis_server/plugin/analysis/occurrences/occurrences.dart'; | 11 import 'package:analysis_server/plugin/analysis/occurrences/occurrences.dart'; |
12 import 'package:analysis_server/plugin/analysis/occurrences/occurrences_core.dar
t'; | 12 import 'package:analysis_server/plugin/analysis/occurrences/occurrences_core.dar
t'; |
13 import 'package:analysis_server/plugin/edit/assist/assist.dart'; | 13 import 'package:analysis_server/plugin/edit/assist/assist.dart'; |
14 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; | 14 import 'package:analysis_server/plugin/edit/assist/assist_core.dart'; |
15 import 'package:analysis_server/plugin/edit/fix/fix.dart'; | 15 import 'package:analysis_server/plugin/edit/fix/fix.dart'; |
16 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; | 16 import 'package:analysis_server/plugin/edit/fix/fix_core.dart'; |
17 import 'package:analysis_server/plugin/index/index.dart'; | 17 import 'package:analysis_server/plugin/index/index.dart'; |
18 import 'package:analysis_server/plugin/index/index_core.dart'; | 18 import 'package:analysis_server/plugin/index/index_core.dart'; |
| 19 import 'package:analysis_server/plugin/protocol/protocol.dart'; |
19 import 'package:analysis_server/src/analysis_server.dart'; | 20 import 'package:analysis_server/src/analysis_server.dart'; |
20 import 'package:analysis_server/src/domain_analysis.dart'; | 21 import 'package:analysis_server/src/domain_analysis.dart'; |
21 import 'package:analysis_server/src/domain_completion.dart'; | 22 import 'package:analysis_server/src/domain_completion.dart'; |
22 import 'package:analysis_server/src/domain_execution.dart'; | 23 import 'package:analysis_server/src/domain_execution.dart'; |
23 import 'package:analysis_server/src/domain_server.dart'; | 24 import 'package:analysis_server/src/domain_server.dart'; |
24 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart'; | 25 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart'; |
25 import 'package:analysis_server/src/domains/analysis/occurrences_dart.dart'; | 26 import 'package:analysis_server/src/domains/analysis/occurrences_dart.dart'; |
26 import 'package:analysis_server/src/edit/edit_domain.dart'; | 27 import 'package:analysis_server/src/edit/edit_domain.dart'; |
27 import 'package:analysis_server/src/protocol.dart'; | |
28 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
; | 28 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
; |
29 import 'package:analysis_server/src/search/search_domain.dart'; | 29 import 'package:analysis_server/src/search/search_domain.dart'; |
30 import 'package:analysis_server/src/services/correction/assist_internal.dart'; | 30 import 'package:analysis_server/src/services/correction/assist_internal.dart'; |
31 import 'package:analysis_server/src/services/correction/fix_internal.dart'; | 31 import 'package:analysis_server/src/services/correction/fix_internal.dart'; |
32 import 'package:analysis_server/src/services/index/index_contributor.dart'; | 32 import 'package:analysis_server/src/services/index/index_contributor.dart'; |
33 import 'package:analyzer/file_system/file_system.dart'; | 33 import 'package:analyzer/file_system/file_system.dart'; |
34 import 'package:analyzer/src/generated/engine.dart'; | 34 import 'package:analyzer/src/generated/engine.dart'; |
35 import 'package:plugin/plugin.dart'; | 35 import 'package:plugin/plugin.dart'; |
36 | 36 |
37 /** | 37 /** |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 * valid analysis domain receiver. | 415 * valid analysis domain receiver. |
416 */ | 416 */ |
417 void _validateSetAnalysisDomainFunction(Object extension) { | 417 void _validateSetAnalysisDomainFunction(Object extension) { |
418 if (extension is! SetAnalysisDomain) { | 418 if (extension is! SetAnalysisDomain) { |
419 String id = setAnalysisDomainExtensionPoint.uniqueIdentifier; | 419 String id = setAnalysisDomainExtensionPoint.uniqueIdentifier; |
420 throw new ExtensionError( | 420 throw new ExtensionError( |
421 'Extensions to $id must be a SetAnalysisDomain function'); | 421 'Extensions to $id must be a SetAnalysisDomain function'); |
422 } | 422 } |
423 } | 423 } |
424 } | 424 } |
OLD | NEW |