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

Side by Side Diff: pkg/barback/lib/src/graph/transformer_classifier.dart

Issue 261823008: Reorganize barback's source files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-add barback/lib/src/internal_asset.dart Created 6 years, 7 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/graph/transform_node.dart ('k') | pkg/barback/lib/src/group_runner.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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.transformer_classifier; 5 library barback.graph.transformer_classifier;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'asset_forwarder.dart'; 9 import '../asset/asset_forwarder.dart';
10 import 'asset_node.dart'; 10 import '../asset/asset_node.dart';
11 import 'errors.dart'; 11 import '../errors.dart';
12 import 'log.dart'; 12 import '../log.dart';
13 import '../transformer/transformer.dart';
14 import '../utils.dart';
13 import 'node_status.dart'; 15 import 'node_status.dart';
14 import 'node_streams.dart'; 16 import 'node_streams.dart';
15 import 'phase.dart'; 17 import 'phase.dart';
16 import 'transform_node.dart'; 18 import 'transform_node.dart';
17 import 'transformer.dart';
18 import 'utils.dart';
19 19
20 /// A class for classifying the primary inputs for a transformer according to 20 /// A class for classifying the primary inputs for a transformer according to
21 /// its `classifyPrimary` method. 21 /// its `classifyPrimary` method.
22 /// 22 ///
23 /// This is used for non-aggregate transformers; they're modeled as aggregate 23 /// This is used for non-aggregate transformers; they're modeled as aggregate
24 /// transformers that return the primary path if `isPrimary` is true and `null` 24 /// transformers that return the primary path if `isPrimary` is true and `null`
25 /// if `isPrimary` is `null`. 25 /// if `isPrimary` is `null`.
26 class TransformerClassifier { 26 class TransformerClassifier {
27 /// The containing [Phase]. 27 /// The containing [Phase].
28 final Phase _phase; 28 final Phase _phase;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 /// Force all deferred transforms to begin producing concrete assets. 119 /// Force all deferred transforms to begin producing concrete assets.
120 void forceAllTransforms() { 120 void forceAllTransforms() {
121 for (var transform in _transforms.values) { 121 for (var transform in _transforms.values) {
122 transform.force(); 122 transform.force();
123 } 123 }
124 } 124 }
125 125
126 String toString() => "classifier in $_location for $transformer"; 126 String toString() => "classifier in $_location for $transformer";
127 } 127 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/graph/transform_node.dart ('k') | pkg/barback/lib/src/group_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698