Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 barback.group_runner; | 5 library barback.group_runner; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'asset_cascade.dart'; | 9 import 'asset_cascade.dart'; |
| 10 import 'asset_node.dart'; | 10 import 'asset_node.dart'; |
| 11 import 'asset_node_set.dart'; | |
|
Bob Nystrom
2014/03/06 21:29:36
Is this needed?
nweiz
2014/03/06 22:24:28
Good eye. Nope.
| |
| 11 import 'log.dart'; | 12 import 'log.dart'; |
| 12 import 'phase.dart'; | 13 import 'phase.dart'; |
| 13 import 'stream_pool.dart'; | 14 import 'stream_pool.dart'; |
| 14 import 'transformer_group.dart'; | 15 import 'transformer_group.dart'; |
| 15 | 16 |
| 16 /// A class that processes all of the phases in a single transformer group. | 17 /// A class that processes all of the phases in a single transformer group. |
| 17 /// | 18 /// |
| 18 /// A group takes many inputs, processes them, and emits many outputs. | 19 /// A group takes many inputs, processes them, and emits many outputs. |
| 19 class GroupRunner { | 20 class GroupRunner { |
| 20 /// The group this runner runs. | 21 /// The group this runner runs. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 82 _phases.first.addInput(node); | 83 _phases.first.addInput(node); |
| 83 } | 84 } |
| 84 | 85 |
| 85 /// Removes this group and all sub-phases within it. | 86 /// Removes this group and all sub-phases within it. |
| 86 void remove() { | 87 void remove() { |
| 87 _phases.first.remove(); | 88 _phases.first.remove(); |
| 88 } | 89 } |
| 89 | 90 |
| 90 String toString() => "group in phase $_location for $_group"; | 91 String toString() => "group in phase $_location for $_group"; |
| 91 } | 92 } |
| OLD | NEW |