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

Side by Side Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 1212113004: Remove REFERENCED_NAMES result for ResolveUnitReferencesTask. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 months 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 | « no previous file | no next file » | 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.dart; 5 library analyzer.src.task.dart;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:math' as math; 8 import 'dart:math' as math;
9 9
10 import 'package:analyzer/src/context/cache.dart'; 10 import 'package:analyzer/src/context/cache.dart';
(...skipping 3116 matching lines...) Expand 10 before | Expand all | Expand 10 after
3127 * The name of the [TYPE_PROVIDER] input. 3127 * The name of the [TYPE_PROVIDER] input.
3128 */ 3128 */
3129 static const String TYPE_PROVIDER_INPUT = 'TYPE_PROVIDER_INPUT'; 3129 static const String TYPE_PROVIDER_INPUT = 'TYPE_PROVIDER_INPUT';
3130 3130
3131 /** 3131 /**
3132 * The task descriptor describing this kind of task. 3132 * The task descriptor describing this kind of task.
3133 */ 3133 */
3134 static final TaskDescriptor DESCRIPTOR = new TaskDescriptor( 3134 static final TaskDescriptor DESCRIPTOR = new TaskDescriptor(
3135 'ResolveUnitReferencesTask', createTask, buildInputs, <ResultDescriptor>[ 3135 'ResolveUnitReferencesTask', createTask, buildInputs, <ResultDescriptor>[
3136 RESOLVE_REFERENCES_ERRORS, 3136 RESOLVE_REFERENCES_ERRORS,
3137 RESOLVED_UNIT5, 3137 RESOLVED_UNIT5
3138 REFERENCED_NAMES
3139 ]); 3138 ]);
3140 3139
3141 ResolveUnitReferencesTask( 3140 ResolveUnitReferencesTask(
3142 InternalAnalysisContext context, AnalysisTarget target) 3141 InternalAnalysisContext context, AnalysisTarget target)
3143 : super(context, target); 3142 : super(context, target);
3144 3143
3145 @override 3144 @override
3146 TaskDescriptor get descriptor => DESCRIPTOR; 3145 TaskDescriptor get descriptor => DESCRIPTOR;
3147 3146
3148 @override 3147 @override
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
3704 3703
3705 @override 3704 @override
3706 bool moveNext() { 3705 bool moveNext() {
3707 if (_newSources.isEmpty) { 3706 if (_newSources.isEmpty) {
3708 return false; 3707 return false;
3709 } 3708 }
3710 currentTarget = _newSources.removeLast(); 3709 currentTarget = _newSources.removeLast();
3711 return true; 3710 return true;
3712 } 3711 }
3713 } 3712 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698