| 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.transform; | 5 library barback.transformer.transform; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:convert'; | 8 import 'dart:convert'; |
| 9 | 9 |
| 10 import '../asset/asset.dart'; | 10 import '../asset/asset.dart'; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 | 95 |
| 96 /// Consume the primary input so that it doesn't get processed by future | 96 /// Consume the primary input so that it doesn't get processed by future |
| 97 /// phases or emitted once processing has finished. | 97 /// phases or emitted once processing has finished. |
| 98 /// | 98 /// |
| 99 /// Normally the primary input will automatically be forwarded unless the | 99 /// Normally the primary input will automatically be forwarded unless the |
| 100 /// transformer overwrites it by emitting an input with the same id. This | 100 /// transformer overwrites it by emitting an input with the same id. This |
| 101 /// allows the transformer to tell barback not to forward the primary input | 101 /// allows the transformer to tell barback not to forward the primary input |
| 102 /// even if it's not overwritten. | 102 /// even if it's not overwritten. |
| 103 void consumePrimary() => _aggregate.consumePrimary(primaryInput.id); | 103 void consumePrimary() => _aggregate.consumePrimary(primaryInput.id); |
| 104 } | 104 } |
| OLD | NEW |