| Index: third_party/pkg/angular/lib/tools/parser_generator/generator.dart
|
| diff --git a/third_party/pkg/angular/lib/tools/parser_generator/generator.dart b/third_party/pkg/angular/lib/tools/parser_generator/generator.dart
|
| index 60d1be0771e4d77b1093bfbdbb85271f3b425d4d..27877cdf8dc8ae8270a6e7712ed3b095a2766601 100644
|
| --- a/third_party/pkg/angular/lib/tools/parser_generator/generator.dart
|
| +++ b/third_party/pkg/angular/lib/tools/parser_generator/generator.dart
|
| @@ -28,9 +28,9 @@ class ParserGenerator {
|
| }
|
|
|
| generateParser(Iterable<String> expressions) {
|
| - print("StaticParserFunctions functions(FilterLookup filters)");
|
| + print("StaticParserFunctions functions()");
|
| print(" => new StaticParserFunctions(");
|
| - print(" buildEval(filters), buildAssign(filters));");
|
| + print(" buildEval(), buildAssign());");
|
| print("");
|
|
|
| // Compute the function maps.
|
| @@ -50,7 +50,7 @@ class ParserGenerator {
|
|
|
| void generateBuildFunction(String name, Map map) {
|
| String mapLiteral = map.keys.map((e) => ' "$e": ${map[e]}').join(',\n');
|
| - print("Map<String, Function> $name(FilterLookup filters) {");
|
| + print("Map<String, Function> $name() {");
|
| print(" return {\n$mapLiteral\n };");
|
| print("}");
|
| print("");
|
| @@ -74,7 +74,7 @@ class ParserGenerator {
|
| }
|
|
|
| String getCode(Expression e, bool assign) {
|
| - String args = assign ? "scope, value" : "scope";
|
| + String args = assign ? "scope, value" : "scope, filters";
|
| String code = _codegen.generate(e, assign);
|
| if (e.isChain) {
|
| code = code.replaceAll('\n', '\n ');
|
|
|