feat(dart/transform): Add a parser for .ng_deps.dart files and use.

Use the parser in `BindGenerator`
This checkin also removes types from `registerSetters` calls since they
can cause runtime failures (see #886). We will resolve this by
generating change detector classes in the future.
This commit is contained in:
Tim Blasi
2015-03-12 14:04:41 -07:00
parent 92b22d24d0
commit 4b12c19560
7 changed files with 102 additions and 89 deletions

View File

@ -5,6 +5,8 @@ import 'dart:convert';
import 'package:barback/barback.dart';
/// A class that allows fetching code using [AssetId]s without all the
/// additional baggage of a [Transform].
abstract class AssetReader {
Future<String> readAsString(AssetId id, {Encoding encoding});
Future<bool> hasInput(AssetId id);