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 analyzer.src.context.cache; | 5 library analyzer.src.context.cache; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:collection'; | 8 import 'dart:collection'; |
9 | 9 |
| 10 import 'package:analyzer/exception/exception.dart'; |
10 import 'package:analyzer/file_system/file_system.dart'; | 11 import 'package:analyzer/file_system/file_system.dart'; |
11 import 'package:analyzer/src/generated/engine.dart'; | 12 import 'package:analyzer/src/generated/engine.dart'; |
12 import 'package:analyzer/src/generated/java_engine.dart'; | |
13 import 'package:analyzer/src/generated/source.dart'; | 13 import 'package:analyzer/src/generated/source.dart'; |
14 import 'package:analyzer/src/generated/utilities_collection.dart'; | 14 import 'package:analyzer/src/generated/utilities_collection.dart'; |
15 import 'package:analyzer/src/task/model.dart'; | 15 import 'package:analyzer/src/task/model.dart'; |
16 import 'package:analyzer/task/model.dart'; | 16 import 'package:analyzer/task/model.dart'; |
17 | 17 |
18 /** | 18 /** |
19 * The cache results visiting function type. | 19 * The cache results visiting function type. |
20 */ | 20 */ |
21 typedef void CacheResultVisitor(AnalysisTarget target, ResultData data); | 21 typedef void CacheResultVisitor(AnalysisTarget target, ResultData data); |
22 | 22 |
(...skipping 1516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 void resultAccessed(TargetedResult result) {} | 1539 void resultAccessed(TargetedResult result) {} |
1540 | 1540 |
1541 @override | 1541 @override |
1542 List<TargetedResult> resultStored(TargetedResult newResult, newValue) { | 1542 List<TargetedResult> resultStored(TargetedResult newResult, newValue) { |
1543 return TargetedResult.EMPTY_LIST; | 1543 return TargetedResult.EMPTY_LIST; |
1544 } | 1544 } |
1545 | 1545 |
1546 @override | 1546 @override |
1547 void targetRemoved(AnalysisTarget target) {} | 1547 void targetRemoved(AnalysisTarget target) {} |
1548 } | 1548 } |
OLD | NEW |