Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(386)

Side by Side Diff: pkg/analyzer/lib/src/context/cache.dart

Issue 1490233007: Remove the old task model (Closed) Base URL: https://github.com/dart-lang/sdk.git@analyzer-breaking-0.27
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/plugin/task.dart ('k') | pkg/analyzer/lib/src/context/context.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/plugin/task.dart ('k') | pkg/analyzer/lib/src/context/context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698