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.declaring_transform; | 5 library barback.transformer.declaring_transform; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import '../asset/asset_id.dart'; | 9 import '../asset/asset_id.dart'; |
10 import 'declaring_aggregate_transform.dart'; | 10 import 'declaring_aggregate_transform.dart'; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 /// Consume the primary input so that it doesn't get processed by future | 56 /// Consume the primary input so that it doesn't get processed by future |
57 /// phases or emitted once processing has finished. | 57 /// phases or emitted once processing has finished. |
58 /// | 58 /// |
59 /// Normally the primary input will automatically be forwarded unless the | 59 /// Normally the primary input will automatically be forwarded unless the |
60 /// transformer overwrites it by emitting an input with the same id. This | 60 /// transformer overwrites it by emitting an input with the same id. This |
61 /// allows the transformer to tell barback not to forward the primary input | 61 /// allows the transformer to tell barback not to forward the primary input |
62 /// even if it's not overwritten. | 62 /// even if it's not overwritten. |
63 void consumePrimary() => _aggregate.consumePrimary(primaryId); | 63 void consumePrimary() => _aggregate.consumePrimary(primaryId); |
64 } | 64 } |
OLD | NEW |