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

Side by Side Diff: pkg/analyzer/lib/src/task/model.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/src/task/html.dart ('k') | pkg/analyzer/test/enum_test.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.task.model; 5 library analyzer.src.task.model;
6 6
7 import 'package:analyzer/src/generated/engine.dart' hide AnalysisTask; 7 import 'package:analyzer/src/generated/engine.dart';
8 import 'package:analyzer/src/task/inputs.dart'; 8 import 'package:analyzer/src/task/inputs.dart';
9 import 'package:analyzer/task/model.dart'; 9 import 'package:analyzer/task/model.dart';
10 10
11 /** 11 /**
12 * The default [ResultCachingPolicy], results are never flushed. 12 * The default [ResultCachingPolicy], results are never flushed.
13 */ 13 */
14 const ResultCachingPolicy DEFAULT_CACHING_POLICY = 14 const ResultCachingPolicy DEFAULT_CACHING_POLICY =
15 const SimpleResultCachingPolicy(-1, -1); 15 const SimpleResultCachingPolicy(-1, -1);
16 16
17 /** 17 /**
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 AnalysisTask createTask(AnalysisContext context, AnalysisTarget target, 138 AnalysisTask createTask(AnalysisContext context, AnalysisTarget target,
139 Map<String, dynamic> inputs) { 139 Map<String, dynamic> inputs) {
140 AnalysisTask task = buildTask(context, target); 140 AnalysisTask task = buildTask(context, target);
141 task.inputs = inputs; 141 task.inputs = inputs;
142 return task; 142 return task;
143 } 143 }
144 144
145 @override 145 @override
146 String toString() => name; 146 String toString() => name;
147 } 147 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/task/html.dart ('k') | pkg/analyzer/test/enum_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698