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 analysis_server.completion.completion_core; | 5 library analysis_server.src.provisional.completion.completion_core; |
6 | 6 |
7 import 'package:analysis_server/src/protocol.dart'; | 7 import 'package:analysis_server/src/protocol.dart'; |
8 import 'package:analyzer/file_system/file_system.dart'; | 8 import 'package:analyzer/file_system/file_system.dart'; |
9 import 'package:analyzer/src/generated/engine.dart'; | 9 import 'package:analyzer/src/generated/engine.dart'; |
10 import 'package:analyzer/src/generated/source.dart'; | 10 import 'package:analyzer/src/generated/source.dart'; |
11 | 11 |
12 /** | 12 /** |
13 * An object used to produce completions for a specific error. Completion | 13 * An object used to produce completions for a specific error. Completion |
14 * contributors are long-lived objects and must not retain any state between | 14 * contributors are long-lived objects and must not retain any state between |
15 * invocations of [computeSuggestions]. | 15 * invocations of [computeSuggestions]. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 * the replacementOffset will be the offset of the beginning of the | 75 * the replacementOffset will be the offset of the beginning of the |
76 * identifier. | 76 * identifier. |
77 */ | 77 */ |
78 int get replacementOffset; | 78 int get replacementOffset; |
79 | 79 |
80 /** | 80 /** |
81 * Return the list of suggestions being contributed by the contributor. | 81 * Return the list of suggestions being contributed by the contributor. |
82 */ | 82 */ |
83 List<CompletionSuggestion> get suggestions; | 83 List<CompletionSuggestion> get suggestions; |
84 } | 84 } |
OLD | NEW |