OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 library barback.lazy_transformer; | |
6 | |
7 import 'declaring_transformer.dart'; | |
8 | |
9 /// An interface for [Transformer]s that indicates that the transformer's | |
10 /// outputs shouldn't be generated until requested. | |
11 /// | |
12 /// The [declareOutputs] method is used to figure out which assets should be | |
13 /// treated as "lazy." Lazy assets will only be forced to be generated if | |
14 /// they're requested by the user or if they're used by a non-declaring | |
15 /// transformer. | |
16 abstract class LazyTransformer extends DeclaringTransformer {} | |
OLD | NEW |