| 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 pub.excluding_aggregate_transformer; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 | 6 |
| 9 import 'package:barback/barback.dart'; | 7 import 'package:barback/barback.dart'; |
| 10 | 8 |
| 11 import 'transformer_config.dart'; | 9 import 'transformer_config.dart'; |
| 12 | 10 |
| 13 /// Decorates an inner [AggregateTransformer] and handles including and | 11 /// Decorates an inner [AggregateTransformer] and handles including and |
| 14 /// excluding primary inputs. | 12 /// excluding primary inputs. |
| 15 class ExcludingAggregateTransformer extends AggregateTransformer { | 13 class ExcludingAggregateTransformer extends AggregateTransformer { |
| 16 /// If [config] defines includes or excludes, wraps [inner] in an | 14 /// If [config] defines includes or excludes, wraps [inner] in an |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 (_inner as DeclaringAggregateTransformer).declareOutputs(transform); | 58 (_inner as DeclaringAggregateTransformer).declareOutputs(transform); |
| 61 } | 59 } |
| 62 | 60 |
| 63 class _LazyExcludingAggregateTransformer | 61 class _LazyExcludingAggregateTransformer |
| 64 extends _DeclaringExcludingAggregateTransformer | 62 extends _DeclaringExcludingAggregateTransformer |
| 65 implements LazyAggregateTransformer { | 63 implements LazyAggregateTransformer { |
| 66 _LazyExcludingAggregateTransformer(DeclaringAggregateTransformer inner, | 64 _LazyExcludingAggregateTransformer(DeclaringAggregateTransformer inner, |
| 67 TransformerConfig config) | 65 TransformerConfig config) |
| 68 : super(inner, config); | 66 : super(inner, config); |
| 69 } | 67 } |
| OLD | NEW |