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.inherited_ref; | 5 library services.completion.contributor.dart.inherited_ref; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; | 9 import 'package:analysis_server/src/provisional/completion/dart/completion_dart.
dart'; |
10 import 'package:analysis_server/src/provisional/completion/dart/completion_targe
t.dart'; | 10 import 'package:analysis_server/src/provisional/completion/dart/completion_targe
t.dart'; |
11 import 'package:analysis_server/src/services/completion/dart/completion_manager.
dart'; | |
12 import 'package:analysis_server/src/services/completion/dart/optype.dart'; | 11 import 'package:analysis_server/src/services/completion/dart/optype.dart'; |
13 import 'package:analysis_server/src/services/completion/dart/suggestion_builder.
dart'; | 12 import 'package:analysis_server/src/services/completion/dart/suggestion_builder.
dart'; |
14 import 'package:analyzer/dart/ast/ast.dart'; | 13 import 'package:analyzer/dart/ast/ast.dart'; |
15 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; | 14 import 'package:analyzer/dart/ast/standard_resolution_map.dart'; |
16 import 'package:analyzer/dart/element/element.dart'; | 15 import 'package:analyzer/dart/element/element.dart'; |
17 import 'package:analyzer/dart/element/type.dart'; | 16 import 'package:analyzer/dart/element/type.dart'; |
18 | 17 |
19 import '../../../protocol_server.dart' | 18 import '../../../protocol_server.dart' |
20 show CompletionSuggestion, CompletionSuggestionKind; | 19 show CompletionSuggestion, CompletionSuggestionKind; |
21 | 20 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 addSuggestion(elem); | 127 addSuggestion(elem); |
129 } | 128 } |
130 } else { | 129 } else { |
131 if (optype.includeVoidReturnSuggestions) { | 130 if (optype.includeVoidReturnSuggestions) { |
132 addSuggestion(elem); | 131 addSuggestion(elem); |
133 } | 132 } |
134 } | 133 } |
135 } | 134 } |
136 } | 135 } |
137 } | 136 } |
OLD | NEW |