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.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'; |
(...skipping 27 matching lines...) Expand all Loading... |
38 * this location. | 38 * this location. |
39 */ | 39 */ |
40 //CompletionResult get previousResults; | 40 //CompletionResult get previousResults; |
41 | 41 |
42 /** | 42 /** |
43 * Return the analysis context in which the completion is being requested. | 43 * Return the analysis context in which the completion is being requested. |
44 */ | 44 */ |
45 AnalysisContext get context; | 45 AnalysisContext get context; |
46 | 46 |
47 /** | 47 /** |
48 * The offset within the source at which the completion is being requested. | 48 * Return the offset within the source at which the completion is being |
| 49 * requested. |
49 */ | 50 */ |
50 int get offset; | 51 int get offset; |
51 | 52 |
52 /** | 53 /** |
53 * Return the resource provider associated with this request. | 54 * Return the resource provider associated with this request. |
54 */ | 55 */ |
55 ResourceProvider get resourceProvider; | 56 ResourceProvider get resourceProvider; |
56 | 57 |
57 /** | 58 /** |
58 * Return the source in which the completion is being requested. | 59 * Return the source in which the completion is being requested. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 * the replacementOffset will be the offset of the beginning of the | 98 * the replacementOffset will be the offset of the beginning of the |
98 * identifier. | 99 * identifier. |
99 */ | 100 */ |
100 int get replacementOffset; | 101 int get replacementOffset; |
101 | 102 |
102 /** | 103 /** |
103 * Return the list of suggestions being contributed by the contributor. | 104 * Return the list of suggestions being contributed by the contributor. |
104 */ | 105 */ |
105 List<CompletionSuggestion> get suggestions; | 106 List<CompletionSuggestion> get suggestions; |
106 } | 107 } |
OLD | NEW |