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.manager; | 5 library services.completion.manager; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:analysis_server/completion/completion_core.dart' | |
10 show CompletionRequest, CompletionResult; | |
11 import 'package:analysis_server/src/analysis_server.dart'; | 9 import 'package:analysis_server/src/analysis_server.dart'; |
12 import 'package:analysis_server/src/protocol.dart'; | 10 import 'package:analysis_server/src/protocol.dart'; |
| 11 import 'package:analysis_server/src/provisional/completion/completion_core.dart' |
| 12 show CompletionRequest, CompletionResult; |
13 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; | 13 import 'package:analysis_server/src/services/completion/dart_completion_manager.
dart'; |
14 import 'package:analysis_server/src/services/search/search_engine.dart'; | 14 import 'package:analysis_server/src/services/search/search_engine.dart'; |
15 import 'package:analyzer/file_system/file_system.dart'; | 15 import 'package:analyzer/file_system/file_system.dart'; |
16 import 'package:analyzer/src/generated/engine.dart'; | 16 import 'package:analyzer/src/generated/engine.dart'; |
17 import 'package:analyzer/src/generated/source.dart'; | 17 import 'package:analyzer/src/generated/source.dart'; |
18 | 18 |
19 /** | 19 /** |
20 * [CompletionCache] contains information about the prior code completion | 20 * [CompletionCache] contains information about the prior code completion |
21 * for use in the next code completion. | 21 * for use in the next code completion. |
22 */ | 22 */ |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 */ | 297 */ |
298 final String name; | 298 final String name; |
299 | 299 |
300 /** | 300 /** |
301 * The elapse time or `null` if undefined. | 301 * The elapse time or `null` if undefined. |
302 */ | 302 */ |
303 final Duration elapsed; | 303 final Duration elapsed; |
304 | 304 |
305 OperationPerformance(this.name, this.elapsed); | 305 OperationPerformance(this.name, this.elapsed); |
306 } | 306 } |
OLD | NEW |