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

Side by Side Diff: pkg/analysis_server/lib/src/domain_completion.dart

Issue 2876913002: Unused import cleanup. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/protocol/protocol.dart'; 9 import 'package:analysis_server/protocol/protocol.dart';
10 import 'package:analysis_server/protocol/protocol_generated.dart'; 10 import 'package:analysis_server/protocol/protocol_generated.dart';
11 import 'package:analysis_server/src/analysis_server.dart'; 11 import 'package:analysis_server/src/analysis_server.dart';
12 import 'package:analysis_server/src/constants.dart'; 12 import 'package:analysis_server/src/constants.dart';
13 import 'package:analysis_server/src/domain_abstract.dart'; 13 import 'package:analysis_server/src/domain_abstract.dart';
14 import 'package:analysis_server/src/plugin/plugin_manager.dart'; 14 import 'package:analysis_server/src/plugin/plugin_manager.dart';
15 import 'package:analysis_server/src/plugin/result_converter.dart'; 15 import 'package:analysis_server/src/plugin/result_converter.dart';
16 import 'package:analysis_server/src/provisional/completion/completion_core.dart' ; 16 import 'package:analysis_server/src/provisional/completion/completion_core.dart' ;
17 import 'package:analysis_server/src/services/completion/completion_core.dart'; 17 import 'package:analysis_server/src/services/completion/completion_core.dart';
18 import 'package:analysis_server/src/services/completion/completion_performance.d art'; 18 import 'package:analysis_server/src/services/completion/completion_performance.d art';
19 import 'package:analyzer/src/dart/analysis/driver.dart'; 19 import 'package:analyzer/src/dart/analysis/driver.dart';
20 import 'package:analyzer/src/generated/source.dart'; 20 import 'package:analyzer/src/generated/source.dart';
21 import 'package:analyzer/src/source/source_resource.dart';
22 import 'package:analyzer_plugin/protocol/protocol.dart' as plugin; 21 import 'package:analyzer_plugin/protocol/protocol.dart' as plugin;
23 import 'package:analyzer_plugin/protocol/protocol_constants.dart' as plugin; 22 import 'package:analyzer_plugin/protocol/protocol_constants.dart' as plugin;
24 import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin; 23 import 'package:analyzer_plugin/protocol/protocol_generated.dart' as plugin;
25 24
26 /** 25 /**
27 * Instances of the class [CompletionDomainHandler] implement a [RequestHandler] 26 * Instances of the class [CompletionDomainHandler] implement a [RequestHandler]
28 * that handles requests in the completion domain. 27 * that handles requests in the completion domain.
29 */ 28 */
30 class CompletionDomainHandler extends AbstractRequestHandler { 29 class CompletionDomainHandler extends AbstractRequestHandler {
31 /** 30 /**
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 final int replacementOffset; 293 final int replacementOffset;
295 294
296 /** 295 /**
297 * The suggested completions. 296 * The suggested completions.
298 */ 297 */
299 final List<CompletionSuggestion> suggestions; 298 final List<CompletionSuggestion> suggestions;
300 299
301 CompletionResult( 300 CompletionResult(
302 this.replacementOffset, this.replacementLength, this.suggestions); 301 this.replacementOffset, this.replacementLength, this.suggestions);
303 } 302 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698