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.computer.dart.invocation; | 5 library services.completion.computer.dart.invocation; |
6 | 6 |
7 import 'package:analysis_server/completion/completion_dart.dart'; | 7 import 'package:analysis_server/completion/completion_dart.dart'; |
8 import 'package:analysis_server/src/protocol_server.dart' | 8 import 'package:analysis_server/src/protocol_server.dart' |
9 show CompletionSuggestion, CompletionSuggestionKind, SourceChange; | 9 show CompletionSuggestion, CompletionSuggestionKind, SourceChange; |
10 import 'package:analysis_server/src/protocol_server.dart' as protocol | 10 import 'package:analysis_server/src/protocol_server.dart' as protocol |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 for (String memberName in memberNames) { | 151 for (String memberName in memberNames) { |
152 CompletionSuggestion suggestion = | 152 CompletionSuggestion suggestion = |
153 _buildSuggestion(request.source, identifier, map.get(memberName)); | 153 _buildSuggestion(request.source, identifier, map.get(memberName)); |
154 if (suggestion != null) { | 154 if (suggestion != null) { |
155 suggestions.add(suggestion); | 155 suggestions.add(suggestion); |
156 } | 156 } |
157 } | 157 } |
158 return suggestions; | 158 return suggestions; |
159 } | 159 } |
160 } | 160 } |
OLD | NEW |