| 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/src/generated/engine.dart' | 10 import 'package:analyzer/src/generated/engine.dart'; |
| 11 show AnalysisEngine, CacheState, InternalAnalysisContext, RetentionPriority; | |
| 12 import 'package:analyzer/src/generated/java_engine.dart'; | 11 import 'package:analyzer/src/generated/java_engine.dart'; |
| 13 import 'package:analyzer/src/generated/source.dart'; | 12 import 'package:analyzer/src/generated/source.dart'; |
| 14 import 'package:analyzer/src/generated/utilities_collection.dart'; | 13 import 'package:analyzer/src/generated/utilities_collection.dart'; |
| 15 import 'package:analyzer/src/task/model.dart'; | 14 import 'package:analyzer/src/task/model.dart'; |
| 16 import 'package:analyzer/task/model.dart'; | 15 import 'package:analyzer/task/model.dart'; |
| 17 | 16 |
| 18 /** | 17 /** |
| 19 * Return `true` if the given [target] is a priority one. | 18 * Return `true` if the given [target] is a priority one. |
| 20 */ | 19 */ |
| 21 typedef bool IsPriorityAnalysisTarget(AnalysisTarget target); | 20 typedef bool IsPriorityAnalysisTarget(AnalysisTarget target); |
| (...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1256 void resultAccessed(TargetedResult result) {} | 1255 void resultAccessed(TargetedResult result) {} |
| 1257 | 1256 |
| 1258 @override | 1257 @override |
| 1259 List<TargetedResult> resultStored(TargetedResult newResult, newValue) { | 1258 List<TargetedResult> resultStored(TargetedResult newResult, newValue) { |
| 1260 return TargetedResult.EMPTY_LIST; | 1259 return TargetedResult.EMPTY_LIST; |
| 1261 } | 1260 } |
| 1262 | 1261 |
| 1263 @override | 1262 @override |
| 1264 void targetRemoved(AnalysisTarget target) {} | 1263 void targetRemoved(AnalysisTarget target) {} |
| 1265 } | 1264 } |
| OLD | NEW |