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

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

Issue 35543006: Fix type errors detected with --error-on-bad-type. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.barback; 5 library barback.barback;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'asset.dart'; 9 import 'asset.dart';
10 import 'asset_id.dart'; 10 import 'asset_id.dart';
11 import 'asset_set.dart'; 11 import 'asset_set.dart';
12 import 'barback_logger.dart';
12 import 'build_result.dart'; 13 import 'build_result.dart';
13 import 'errors.dart'; 14 import 'errors.dart';
14 import 'package_graph.dart'; 15 import 'package_graph.dart';
15 import 'package_provider.dart'; 16 import 'package_provider.dart';
16 import 'transformer.dart'; 17 import 'transformer.dart';
17 18
18 /// A general-purpose asynchronous build dependency graph manager. 19 /// A general-purpose asynchronous build dependency graph manager.
19 /// 20 ///
20 /// It consumes source assets (including Dart files) in a set of packages, 21 /// It consumes source assets (including Dart files) in a set of packages,
21 /// runs transformations on them, and then tracks which sources have been 22 /// runs transformations on them, and then tracks which sources have been
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 /// 103 ///
103 /// To the extent that [transformers] is similar to the previous transformer 104 /// To the extent that [transformers] is similar to the previous transformer
104 /// phases for [package], the existing asset graph will be preserved. 105 /// phases for [package], the existing asset graph will be preserved.
105 /// 106 ///
106 /// Elements of the inner iterable of [transformers] must be either 107 /// Elements of the inner iterable of [transformers] must be either
107 /// [Transformer]s or [TransformerGroup]s. 108 /// [Transformer]s or [TransformerGroup]s.
108 void updateTransformers(String package, 109 void updateTransformers(String package,
109 Iterable<Iterable> transformers) => 110 Iterable<Iterable> transformers) =>
110 _graph.updateTransformers(package, transformers); 111 _graph.updateTransformers(package, transformers);
111 } 112 }
OLDNEW
« no previous file with comments | « no previous file | pkg/barback/lib/src/phase_output.dart » ('j') | pkg/barback/lib/src/transform.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698