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.src.services.completion.completion_core; | |
6 | |
7 import 'package:analysis_server/src/ide_options.dart'; | 5 import 'package:analysis_server/src/ide_options.dart'; |
8 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
; | 6 import 'package:analysis_server/src/provisional/completion/completion_core.dart'
; |
9 import 'package:analysis_server/src/services/completion/completion_performance.d
art'; | 7 import 'package:analysis_server/src/services/completion/completion_performance.d
art'; |
10 import 'package:analyzer/file_system/file_system.dart'; | 8 import 'package:analyzer/file_system/file_system.dart'; |
11 import 'package:analyzer/src/dart/analysis/driver.dart'; | 9 import 'package:analyzer/src/dart/analysis/driver.dart'; |
12 import 'package:analyzer/src/generated/source.dart'; | 10 import 'package:analyzer/src/generated/source.dart'; |
13 | 11 |
14 /** | 12 /** |
15 * The information about a requested list of completions. | 13 * The information about a requested list of completions. |
16 */ | 14 */ |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 _aborted = true; | 70 _aborted = true; |
73 } | 71 } |
74 | 72 |
75 @override | 73 @override |
76 void checkAborted() { | 74 void checkAborted() { |
77 if (_aborted) { | 75 if (_aborted) { |
78 throw new AbortCompletion(); | 76 throw new AbortCompletion(); |
79 } | 77 } |
80 } | 78 } |
81 } | 79 } |
OLD | NEW |