This repository was archived by the owner on Apr 15, 2025. It is now read-only.
File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ import 'package:angular/core/parser/dynamic_parser_impl.dart';
9
9
import 'package:angular/core/parser/eval.dart' ;
10
10
import 'package:angular/core/parser/utils.dart' show EvalError;
11
11
12
+ @NgInjectableService ()
12
13
class ClosureMap {
13
14
Getter lookupGetter (String name) => null ;
14
15
Setter lookupSetter (String name) => null ;
15
16
Function lookupFunction (String name, int arity) => null ;
16
17
}
17
18
19
+ @NgInjectableService ()
18
20
class DynamicParser implements Parser <Expression > {
19
21
final Lexer _lexer;
20
22
final ParserBackend _backend;
@@ -60,6 +62,7 @@ class DynamicExpression extends Expression {
60
62
}
61
63
}
62
64
65
+ @NgInjectableService ()
63
66
class DynamicParserBackend extends ParserBackend {
64
67
final FilterMap _filters;
65
68
final ClosureMap _closures;
Original file line number Diff line number Diff line change 1
1
library angular.core.parser.static_parser;
2
2
3
+ import 'package:angular/core/module.dart' show NgInjectableService;
3
4
import 'package:angular/core/parser/parser.dart' ;
4
5
import 'package:angular/core/parser/utils.dart' show EvalError;
5
6
@@ -9,7 +10,7 @@ class StaticParserFunctions {
9
10
StaticParserFunctions (this .eval, this .assign);
10
11
}
11
12
12
- // @NgInjectableService()
13
+ @NgInjectableService ()
13
14
class StaticParser implements Parser <Expression > {
14
15
final StaticParserFunctions _functions;
15
16
final DynamicParser _fallbackParser;
You can’t perform that action at this time.
0 commit comments