OLD | NEW |
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 services.completion.contributor.dart.imported_ref; | |
6 | |
7 import 'dart:async'; | 5 import 'dart:async'; |
8 | 6 |
9 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; | 7 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; |
10 import 'package:analysis_server/src/services/completion/dart/completion_manager.
dart'; | 8 import 'package:analysis_server/src/services/completion/dart/completion_manager.
dart'; |
11 import 'package:analysis_server/src/services/completion/dart/local_library_contr
ibutor.dart'; | 9 import 'package:analysis_server/src/services/completion/dart/local_library_contr
ibutor.dart'; |
12 import 'package:analysis_server/src/services/completion/dart/optype.dart'; | 10 import 'package:analysis_server/src/services/completion/dart/optype.dart'; |
13 import 'package:analyzer/dart/element/element.dart'; | 11 import 'package:analyzer/dart/element/element.dart'; |
14 import 'package:analyzer/src/generated/resolver.dart'; | 12 import 'package:analyzer/src/generated/resolver.dart'; |
15 | 13 |
16 import '../../../protocol_server.dart' show CompletionSuggestion; | 14 import '../../../protocol_server.dart' show CompletionSuggestion; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 continue; | 77 continue; |
80 } | 78 } |
81 if (hiddenNames != null && hiddenNames.contains(elem.name)) { | 79 if (hiddenNames != null && hiddenNames.contains(elem.name)) { |
82 continue; | 80 continue; |
83 } | 81 } |
84 elem.accept(visitor); | 82 elem.accept(visitor); |
85 } | 83 } |
86 return visitor.suggestions; | 84 return visitor.suggestions; |
87 } | 85 } |
88 } | 86 } |
OLD | NEW |