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 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:io'; | 6 import 'dart:io'; |
7 | 7 |
8 import 'package:analysis_server/protocol/protocol.dart'; | 8 import 'package:analysis_server/protocol/protocol.dart'; |
9 import 'package:analysis_server/protocol/protocol_generated.dart' | 9 import 'package:analysis_server/protocol/protocol_generated.dart'; |
10 hide Element, ElementKind; | |
11 import 'package:analysis_server/src/analysis_server.dart'; | 10 import 'package:analysis_server/src/analysis_server.dart'; |
12 import 'package:analysis_server/src/channel/channel.dart'; | 11 import 'package:analysis_server/src/channel/channel.dart'; |
13 import 'package:analysis_server/src/operation/operation.dart'; | 12 import 'package:analysis_server/src/operation/operation.dart'; |
14 import 'package:analysis_server/src/operation/operation_analysis.dart'; | 13 import 'package:analysis_server/src/operation/operation_analysis.dart'; |
15 import 'package:analyzer/dart/element/element.dart'; | 14 import 'package:analyzer/dart/element/element.dart'; |
16 import 'package:analyzer/file_system/file_system.dart' as resource; | 15 import 'package:analyzer/file_system/file_system.dart' as resource; |
17 import 'package:analyzer/file_system/memory_file_system.dart' as resource; | 16 import 'package:analyzer/file_system/memory_file_system.dart' as resource; |
18 import 'package:analyzer/source/package_map_provider.dart'; | 17 import 'package:analyzer/source/package_map_provider.dart'; |
19 import 'package:analyzer/source/pub_package_map_provider.dart'; | 18 import 'package:analyzer/source/pub_package_map_provider.dart'; |
20 import 'package:analyzer/src/generated/engine.dart'; | 19 import 'package:analyzer/src/generated/engine.dart'; |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 } | 429 } |
431 return mismatchDescription; | 430 return mismatchDescription; |
432 } | 431 } |
433 | 432 |
434 @override | 433 @override |
435 bool matches(item, Map matchState) { | 434 bool matches(item, Map matchState) { |
436 Response response = item; | 435 Response response = item; |
437 return response != null && response.id == _id && response.error == null; | 436 return response != null && response.id == _id && response.error == null; |
438 } | 437 } |
439 } | 438 } |
OLD | NEW |