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

Unified Diff: third_party/pkg/angular/lib/core/parser/syntax.dart

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/lib/core/parser/syntax.dart
===================================================================
--- third_party/pkg/angular/lib/core/parser/syntax.dart (revision 33054)
+++ third_party/pkg/angular/lib/core/parser/syntax.dart (working copy)
@@ -3,7 +3,6 @@
import 'package:angular/core/parser/parser.dart' show LocalsWrapper;
import 'package:angular/core/parser/unparser.dart' show Unparser;
import 'package:angular/core/parser/utils.dart' show EvalError;
-import 'package:angular/core/module.dart';
abstract class Visitor {
visit(Expression expression)
@@ -57,7 +56,7 @@
bool get isAssignable => false;
bool get isChain => false;
- eval(scope, [FilterMap filters = defaultFilterMap])
+ eval(scope)
=> throw new EvalError("Cannot evaluate $this");
assign(scope, value)
=> throw new EvalError("Cannot assign to $this");
@@ -201,14 +200,3 @@
LiteralObject(this.keys, this.values);
accept(Visitor visitor) => visitor.visitLiteralObject(this);
}
-
-const defaultFilterMap = const _DefaultFilterMap();
-
-class _DefaultFilterMap implements FilterMap {
- const _DefaultFilterMap();
-
- call(name) => throw 'No NgFilter: $name found!';
- Type operator[](annotation) => null;
- forEach(fn) { }
- annotationsFor(type) => null;
-}
« no previous file with comments | « third_party/pkg/angular/lib/core/parser/static_parser.dart ('k') | third_party/pkg/angular/lib/core/parser/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698