Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: pkg/barback/lib/src/transformer/base_transform.dart

Issue 261823008: Reorganize barback's source files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-add barback/lib/src/internal_asset.dart Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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.base_transform; 5 library barback.transformer.base_transform;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'log.dart'; 9 import '../graph/transform_node.dart';
10 import '../log.dart';
10 import 'transform_logger.dart'; 11 import 'transform_logger.dart';
11 import 'transform_node.dart';
12 12
13 /// The base class for the ephemeral transform objects that are passed to 13 /// The base class for the ephemeral transform objects that are passed to
14 /// transformers. 14 /// transformers.
15 /// 15 ///
16 /// This class provides the transformers with inputs, but its up to the 16 /// This class provides the transformers with inputs, but its up to the
17 /// subclasses to provide a means of emitting outputs. 17 /// subclasses to provide a means of emitting outputs.
18 abstract class BaseTransform { 18 abstract class BaseTransform {
19 final TransformNode _node; 19 final TransformNode _node;
20 20
21 /// Whether the primary input should be consumed. 21 /// Whether the primary input should be consumed.
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 /// Notifies the [BaseTransform] that the transformation has finished being 86 /// Notifies the [BaseTransform] that the transformation has finished being
87 /// applied. 87 /// applied.
88 /// 88 ///
89 /// This will close any streams and release any resources that were allocated 89 /// This will close any streams and release any resources that were allocated
90 /// for the duration of the transformation. 90 /// for the duration of the transformation.
91 void close() { 91 void close() {
92 transform._onLogController.close(); 92 transform._onLogController.close();
93 } 93 }
94 } 94 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/transformer/barback_settings.dart ('k') | pkg/barback/lib/src/transformer/declaring_transform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698