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

Side by Side Diff: pkg/analysis_server/lib/src/domain_completion.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) 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 domain.completion; 5 library domain.completion;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/completion/completion_core.dart'
10 show CompletionRequest, CompletionResult;
11 import 'package:analysis_server/src/analysis_server.dart'; 9 import 'package:analysis_server/src/analysis_server.dart';
12 import 'package:analysis_server/src/constants.dart'; 10 import 'package:analysis_server/src/constants.dart';
13 import 'package:analysis_server/src/context_manager.dart'; 11 import 'package:analysis_server/src/context_manager.dart';
14 import 'package:analysis_server/src/protocol.dart'; 12 import 'package:analysis_server/src/protocol.dart';
13 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
14 show CompletionRequest, CompletionResult;
15 import 'package:analysis_server/src/services/completion/completion_manager.dart' ; 15 import 'package:analysis_server/src/services/completion/completion_manager.dart' ;
16 import 'package:analysis_server/src/services/search/search_engine.dart'; 16 import 'package:analysis_server/src/services/search/search_engine.dart';
17 import 'package:analyzer/src/generated/engine.dart'; 17 import 'package:analyzer/src/generated/engine.dart';
18 import 'package:analyzer/src/generated/source.dart'; 18 import 'package:analyzer/src/generated/source.dart';
19 19
20 export 'package:analysis_server/src/services/completion/completion_manager.dart' 20 export 'package:analysis_server/src/services/completion/completion_manager.dart'
21 show CompletionPerformance, CompletionRequest, OperationPerformance; 21 show CompletionPerformance, CompletionRequest, OperationPerformance;
22 22
23 /** 23 /**
24 * Instances of the class [CompletionDomainHandler] implement a [RequestHandler] 24 * Instances of the class [CompletionDomainHandler] implement a [RequestHandler]
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 if (_sourcesChangedSubscription != null) { 277 if (_sourcesChangedSubscription != null) {
278 _sourcesChangedSubscription.cancel(); 278 _sourcesChangedSubscription.cancel();
279 _sourcesChangedSubscription = null; 279 _sourcesChangedSubscription = null;
280 } 280 }
281 if (_manager != null) { 281 if (_manager != null) {
282 _manager.dispose(); 282 _manager.dispose();
283 _manager = null; 283 _manager = null;
284 } 284 }
285 } 285 }
286 } 286 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/plugin/completion.dart ('k') | pkg/analysis_server/lib/src/plugin/server_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698