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 services.completion.contributor.dart.label; | 5 library services.completion.contributor.dart.label; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/plugin/protocol/protocol.dart' as protocol | 9 import 'package:analysis_server/protocol/protocol_generated.dart' as protocol |
10 show ElementKind; | 10 show ElementKind; |
11 import 'package:analysis_server/src/protocol_server.dart' | 11 import 'package:analysis_server/src/protocol_server.dart' |
12 show CompletionSuggestion, CompletionSuggestionKind; | 12 show CompletionSuggestion, CompletionSuggestionKind; |
13 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; | 13 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; |
14 import 'package:analysis_server/src/services/completion/dart/completion_manager.
dart' | 14 import 'package:analysis_server/src/services/completion/dart/completion_manager.
dart' |
15 show DartCompletionRequestImpl; | 15 show DartCompletionRequestImpl; |
16 import 'package:analysis_server/src/services/completion/dart/local_declaration_v
isitor.dart' | 16 import 'package:analysis_server/src/services/completion/dart/local_declaration_v
isitor.dart' |
17 show LocalDeclarationVisitor; | 17 show LocalDeclarationVisitor; |
18 import 'package:analysis_server/src/services/completion/dart/optype.dart'; | 18 import 'package:analysis_server/src/services/completion/dart/optype.dart'; |
19 import 'package:analysis_server/src/services/completion/dart/utilities.dart'; | 19 import 'package:analysis_server/src/services/completion/dart/utilities.dart'; |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 0, | 149 0, |
150 false, | 150 false, |
151 false); | 151 false); |
152 suggestions.add(suggestion); | 152 suggestions.add(suggestion); |
153 return suggestion; | 153 return suggestion; |
154 } | 154 } |
155 } | 155 } |
156 return null; | 156 return null; |
157 } | 157 } |
158 } | 158 } |
OLD | NEW |