OLD | NEW |
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.aggregate_transformer; | 5 library barback.transformer.aggregate_transformer; |
6 | 6 |
7 import '../asset/asset_id.dart'; | 7 import '../asset/asset_id.dart'; |
8 import 'aggregate_transform.dart'; | 8 import 'aggregate_transform.dart'; |
9 | 9 |
10 /// An alternate interface for transformers that want to perform aggregate | 10 /// An alternate interface for transformers that want to perform aggregate |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 /// once it's finished. | 48 /// once it's finished. |
49 /// | 49 /// |
50 /// This may complete before [AggregateTransform.primarInputs] is closed. For | 50 /// This may complete before [AggregateTransform.primarInputs] is closed. For |
51 /// example, it may know that each key will only have two inputs associated | 51 /// example, it may know that each key will only have two inputs associated |
52 /// with it, and so use `transform.primaryInputs.take(2)` to access only those | 52 /// with it, and so use `transform.primaryInputs.take(2)` to access only those |
53 /// inputs. | 53 /// inputs. |
54 apply(AggregateTransform transform); | 54 apply(AggregateTransform transform); |
55 | 55 |
56 String toString() => runtimeType.toString().replaceAll("Transformer", ""); | 56 String toString() => runtimeType.toString().replaceAll("Transformer", ""); |
57 } | 57 } |
OLD | NEW |