| 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.driver; | 5 library analyzer.src.task.driver; |
| 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/context/cache.dart'; | 10 import 'package:analyzer/src/context/cache.dart'; |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 /** | 590 /** |
| 591 * The work order that this item is part of, may be `null`. | 591 * The work order that this item is part of, may be `null`. |
| 592 */ | 592 */ |
| 593 WorkOrder workOrder; | 593 WorkOrder workOrder; |
| 594 | 594 |
| 595 /** | 595 /** |
| 596 * An iterator used to iterate over the descriptors of the inputs to the task, | 596 * An iterator used to iterate over the descriptors of the inputs to the task, |
| 597 * or `null` if all of the inputs have been collected and the task can be | 597 * or `null` if all of the inputs have been collected and the task can be |
| 598 * created. | 598 * created. |
| 599 */ | 599 */ |
| 600 TaskInputBuilder builder; | 600 TopLevelTaskInputBuilder builder; |
| 601 | 601 |
| 602 /** | 602 /** |
| 603 * The [TargetedResult]s outputs of this task depends on. | 603 * The [TargetedResult]s outputs of this task depends on. |
| 604 */ | 604 */ |
| 605 final HashSet<TargetedResult> inputTargetedResults = | 605 final HashSet<TargetedResult> inputTargetedResults = |
| 606 new HashSet<TargetedResult>(); | 606 new HashSet<TargetedResult>(); |
| 607 | 607 |
| 608 /** | 608 /** |
| 609 * The inputs to the task that have been computed. | 609 * The inputs to the task that have been computed. |
| 610 */ | 610 */ |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 final TaskManager taskManager; | 860 final TaskManager taskManager; |
| 861 | 861 |
| 862 _WorkOrderDependencyWalker(this.taskManager, WorkItem startingNode) | 862 _WorkOrderDependencyWalker(this.taskManager, WorkItem startingNode) |
| 863 : super(startingNode); | 863 : super(startingNode); |
| 864 | 864 |
| 865 @override | 865 @override |
| 866 WorkItem getNextInput(WorkItem node, List<WorkItem> skipInputs) { | 866 WorkItem getNextInput(WorkItem node, List<WorkItem> skipInputs) { |
| 867 return node.gatherInputs(taskManager, skipInputs); | 867 return node.gatherInputs(taskManager, skipInputs); |
| 868 } | 868 } |
| 869 } | 869 } |
| OLD | NEW |