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

Side by Side Diff: pkg/analysis_server/lib/src/provisional/completion/dart/completion_dart.dart

Issue 2567403002: Fix up imports after d8c9645c260d163679b4193661566df87cfa9515. (Closed)
Patch Set: Created 4 years 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 | pkg/analysis_server/lib/src/services/completion/dart/inherited_reference_contributor.dart » ('j') | 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) 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.provisional.completion.completion_dart; 5 library analysis_server.src.provisional.completion.completion_dart;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'package:analysis_server/plugin/protocol/protocol.dart'; 9 import 'package:analysis_server/plugin/protocol/protocol.dart';
10 import 'package:analysis_server/src/provisional/completion/completion_core.dart' ; 10 import 'package:analysis_server/src/provisional/completion/completion_core.dart' ;
11 import 'package:analysis_server/src/provisional/completion/dart/completion_targe t.dart'; 11 import 'package:analysis_server/src/provisional/completion/dart/completion_targe t.dart';
12 import 'package:analysis_server/src/services/completion/dart/optype.dart';
12 import 'package:analyzer/dart/ast/ast.dart'; 13 import 'package:analyzer/dart/ast/ast.dart';
13 import 'package:analyzer/dart/element/element.dart'; 14 import 'package:analyzer/dart/element/element.dart';
14 import 'package:analyzer/dart/element/type.dart'; 15 import 'package:analyzer/dart/element/type.dart';
15 import 'package:analyzer/src/generated/source.dart'; 16 import 'package:analyzer/src/generated/source.dart';
16 17
17 export 'package:analysis_server/src/provisional/completion/completion_core.dart' 18 export 'package:analysis_server/src/provisional/completion/completion_core.dart'
18 show EMPTY_LIST; 19 show EMPTY_LIST;
19 20
20 const int DART_RELEVANCE_COMMON_USAGE = 1200; 21 const int DART_RELEVANCE_COMMON_USAGE = 1200;
21 const int DART_RELEVANCE_DEFAULT = 1000; 22 const int DART_RELEVANCE_DEFAULT = 1000;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 /** 152 /**
152 * Return a [Future] that completes with a list of [CompilationUnitElement]s 153 * Return a [Future] that completes with a list of [CompilationUnitElement]s
153 * comprising the library in which in which the completion is occurring. 154 * comprising the library in which in which the completion is occurring.
154 * The [Future] may return `null` if the library unit cannot be determined 155 * The [Future] may return `null` if the library unit cannot be determined
155 * (e.g. unlinked part file). 156 * (e.g. unlinked part file).
156 * Any information obtained from [target] prior to calling this method 157 * Any information obtained from [target] prior to calling this method
157 * should be discarded as it may have changed. 158 * should be discarded as it may have changed.
158 */ 159 */
159 Future<List<CompilationUnitElement>> resolveUnits(); 160 Future<List<CompilationUnitElement>> resolveUnits();
160 } 161 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/completion/dart/inherited_reference_contributor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698