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

Side by Side Diff: pkg/barback/lib/src/transformer/declaring_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.declaring_transform; 5 library barback.transformer.declaring_transform;
6 6
7 import 'asset_id.dart'; 7 import '../asset/asset_id.dart';
8 import '../graph/transform_node.dart';
8 import 'base_transform.dart'; 9 import 'base_transform.dart';
9 import 'transform_node.dart';
10 10
11 /// A transform for [DeclaringTransform]ers that allows them to declare the ids 11 /// A transform for [DeclaringTransform]ers that allows them to declare the ids
12 /// of the outputs they'll generate without generating the concrete bodies of 12 /// of the outputs they'll generate without generating the concrete bodies of
13 /// those outputs. 13 /// those outputs.
14 class DeclaringTransform extends BaseTransform { 14 class DeclaringTransform extends BaseTransform {
15 final _outputIds = new Set<AssetId>(); 15 final _outputIds = new Set<AssetId>();
16 16
17 final AssetId primaryId; 17 final AssetId primaryId;
18 18
19 DeclaringTransform._(TransformNode node) 19 DeclaringTransform._(TransformNode node)
(...skipping 18 matching lines...) Expand all
38 class DeclaringTransformController extends BaseTransformController { 38 class DeclaringTransformController extends BaseTransformController {
39 DeclaringTransform get transform => super.transform; 39 DeclaringTransform get transform => super.transform;
40 40
41 /// The set of ids that the transformer declares it will emit for the given 41 /// The set of ids that the transformer declares it will emit for the given
42 /// primary input. 42 /// primary input.
43 Set<AssetId> get outputIds => transform._outputIds; 43 Set<AssetId> get outputIds => transform._outputIds;
44 44
45 DeclaringTransformController(TransformNode node) 45 DeclaringTransformController(TransformNode node)
46 : super(new DeclaringTransform._(node)); 46 : super(new DeclaringTransform._(node));
47 } 47 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/transformer/base_transform.dart ('k') | pkg/barback/lib/src/transformer/declaring_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698