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

Side by Side Diff: pkg/analysis_server/lib/src/plugin/server_plugin.dart

Issue 1383313002: Move completion APIs to a private location (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: formatting Created 5 years, 2 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
OLDNEW
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/analysis/analysis_domain.dart'; 7 import 'package:analysis_server/analysis/analysis_domain.dart';
8 import 'package:analysis_server/analysis/index_core.dart'; 8 import 'package:analysis_server/analysis/index_core.dart';
9 import 'package:analysis_server/analysis/navigation_core.dart'; 9 import 'package:analysis_server/analysis/navigation_core.dart';
10 import 'package:analysis_server/analysis/occurrences_core.dart'; 10 import 'package:analysis_server/analysis/occurrences_core.dart';
11 import 'package:analysis_server/completion/completion_core.dart';
12 import 'package:analysis_server/edit/assist/assist_core.dart'; 11 import 'package:analysis_server/edit/assist/assist_core.dart';
13 import 'package:analysis_server/edit/fix/fix_core.dart'; 12 import 'package:analysis_server/edit/fix/fix_core.dart';
14 import 'package:analysis_server/plugin/analyzed_files.dart'; 13 import 'package:analysis_server/plugin/analyzed_files.dart';
15 import 'package:analysis_server/plugin/assist.dart'; 14 import 'package:analysis_server/plugin/assist.dart';
16 import 'package:analysis_server/plugin/fix.dart'; 15 import 'package:analysis_server/plugin/fix.dart';
17 import 'package:analysis_server/plugin/index.dart'; 16 import 'package:analysis_server/plugin/index.dart';
18 import 'package:analysis_server/plugin/navigation.dart'; 17 import 'package:analysis_server/plugin/navigation.dart';
19 import 'package:analysis_server/plugin/occurrences.dart'; 18 import 'package:analysis_server/plugin/occurrences.dart';
20 import 'package:analysis_server/src/analysis_server.dart'; 19 import 'package:analysis_server/src/analysis_server.dart';
21 import 'package:analysis_server/src/domain_analysis.dart'; 20 import 'package:analysis_server/src/domain_analysis.dart';
22 import 'package:analysis_server/src/domain_completion.dart'; 21 import 'package:analysis_server/src/domain_completion.dart';
23 import 'package:analysis_server/src/domain_execution.dart'; 22 import 'package:analysis_server/src/domain_execution.dart';
24 import 'package:analysis_server/src/domain_server.dart'; 23 import 'package:analysis_server/src/domain_server.dart';
25 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart'; 24 import 'package:analysis_server/src/domains/analysis/navigation_dart.dart';
26 import 'package:analysis_server/src/domains/analysis/occurrences_dart.dart'; 25 import 'package:analysis_server/src/domains/analysis/occurrences_dart.dart';
27 import 'package:analysis_server/src/edit/edit_domain.dart'; 26 import 'package:analysis_server/src/edit/edit_domain.dart';
28 import 'package:analysis_server/src/protocol.dart'; 27 import 'package:analysis_server/src/protocol.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 /**
38 * A function that will create a request handler that can be used by the given 38 * A function that will create a request handler that can be used by the given
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/domain_completion.dart ('k') | pkg/analysis_server/lib/src/provisional/completion/completion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698