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

Side by Side Diff: third_party/pkg/angular/lib/core/parser/parser.dart

Issue 180873006: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 6 years, 9 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 library angular.core.parser; 1 library angular.core.parser;
2 2
3 export 'package:angular/core/parser/syntax.dart' 3 export 'package:angular/core/parser/syntax.dart'
4 show Visitor, Expression, BoundExpression; 4 show Visitor, Expression, BoundExpression;
5 export 'package:angular/core/parser/dynamic_parser.dart' 5 export 'package:angular/core/parser/dynamic_parser.dart'
6 show DynamicParser, DynamicParserBackend, ClosureMap; 6 show DynamicParser, DynamicParserBackend, ClosureMap;
7 export 'package:angular/core/parser/static_parser.dart' 7 export 'package:angular/core/parser/static_parser.dart'
8 show StaticParser, StaticParserFunctions; 8 show StaticParser, StaticParserFunctions;
9 9
10 typedef LocalsWrapper(context, locals); 10 typedef LocalsWrapper(context, locals);
11 typedef Getter(self); 11 typedef Getter(self);
12 typedef Setter(self, value); 12 typedef Setter(self, value);
13 typedef BoundGetter([locals]);
14 typedef BoundSetter(value, [locals]);
13 15
14 /// Placeholder for DI. The parser you are looking for is [DynamicParser]. 16 /// Placeholder for DI. The parser you are looking for is [DynamicParser].
15 abstract class Parser<T> { 17 abstract class Parser<T> {
16 T call(String input); 18 T call(String input);
17 } 19 }
18 20
19
20 abstract class ParserBackend<T> { 21 abstract class ParserBackend<T> {
21 bool isAssignable(T expression); 22 bool isAssignable(T expression);
22 23
23 T newChain(List expressions) 24 T newChain(List expressions)
24 => null; 25 => null;
25 T newFilter(T expression, String name, List arguments) 26 T newFilter(T expression, String name, List arguments)
26 => null; 27 => null;
27 28
28 T newAssign(T target, T value) 29 T newAssign(T target, T value)
29 => null; 30 => null;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 => newLiteralPrimitive(null); 95 => newLiteralPrimitive(null);
95 T newLiteralZero() 96 T newLiteralZero()
96 => newLiteralNumber(0); 97 => newLiteralNumber(0);
97 T newLiteralBoolean(bool value) 98 T newLiteralBoolean(bool value)
98 => newLiteralPrimitive(value); 99 => newLiteralPrimitive(value);
99 T newLiteralNumber(num value) 100 T newLiteralNumber(num value)
100 => newLiteralPrimitive(value); 101 => newLiteralPrimitive(value);
101 T newLiteralString(String value) 102 T newLiteralString(String value)
102 => null; 103 => null;
103 } 104 }
OLDNEW
« no previous file with comments | « third_party/pkg/angular/lib/core/parser/lexer.dart ('k') | third_party/pkg/angular/lib/core/parser/static_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698