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_aggregate_transform; | 5 library barback.transformer.declaring_aggregate_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 '../graph/transform_node.dart'; | 10 import '../graph/transform_node.dart'; |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 : super(new DeclaringAggregateTransform._(node)); | 96 : super(new DeclaringAggregateTransform._(node)); |
97 | 97 |
98 /// Adds a primary input id to the [DeclaringAggregateTransform.primaryIds] | 98 /// Adds a primary input id to the [DeclaringAggregateTransform.primaryIds] |
99 /// stream. | 99 /// stream. |
100 void addId(AssetId id) => transform._idController.add(id); | 100 void addId(AssetId id) => transform._idController.add(id); |
101 | 101 |
102 void done() { | 102 void done() { |
103 transform._idController.close(); | 103 transform._idController.close(); |
104 } | 104 } |
105 } | 105 } |
OLD | NEW |