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

Side by Side Diff: pkg/analysis_server/lib/src/services/completion/dart/imported_reference_contributor.dart

Issue 2894883002: Remove more libraries directives from server (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
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 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698