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

Side by Side Diff: pkg/barback/lib/src/group_runner.dart

Issue 188673004: Roll forward commits r33138, r33135, and r33134. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-upload Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « pkg/barback/lib/src/asset_node_set.dart ('k') | pkg/barback/lib/src/phase_forwarder.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) 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
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 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/asset_node_set.dart ('k') | pkg/barback/lib/src/phase_forwarder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698