| 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.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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |