@@ -99,11 +99,11 @@ export class Parser {
9999 var part = parts [ i ] ;
100100 if ( i % 2 === 0 ) {
101101 // fixed string
102- ListWrapper . push ( strings , part ) ;
102+ strings . push ( part ) ;
103103 } else {
104104 var tokens = this . _lexer . tokenize ( part ) ;
105105 var ast = new _ParseAST ( input , location , tokens , this . _reflector , false ) . parseChain ( ) ;
106- ListWrapper . push ( expressions , ast ) ;
106+ expressions . push ( ast ) ;
107107 }
108108 }
109109 return new ASTWithSource ( new Interpolation ( strings , expressions ) , input , location ) ;
@@ -194,7 +194,7 @@ class _ParseAST {
194194 var exprs = [ ] ;
195195 while ( this . index < this . tokens . length ) {
196196 var expr = this . parsePipe ( ) ;
197- ListWrapper . push ( exprs , expr ) ;
197+ exprs . push ( expr ) ;
198198
199199 if ( this . optionalCharacter ( $SEMICOLON ) ) {
200200 if ( ! this . parseAction ) {
@@ -222,7 +222,7 @@ class _ParseAST {
222222 var name = this . expectIdentifierOrKeyword ( ) ;
223223 var args = [ ] ;
224224 while ( this . optionalCharacter ( $COLON ) ) {
225- ListWrapper . push ( args , this . parsePipe ( ) ) ;
225+ args . push ( this . parsePipe ( ) ) ;
226226 }
227227 result = new Pipe ( result , name , args , true ) ;
228228 } while ( this . optionalOperator ( "|" ) ) ;
@@ -456,7 +456,7 @@ class _ParseAST {
456456 var result = [ ] ;
457457 if ( ! this . next . isCharacter ( terminator ) ) {
458458 do {
459- ListWrapper . push ( result , this . parsePipe ( ) ) ;
459+ result . push ( this . parsePipe ( ) ) ;
460460 } while ( this . optionalCharacter ( $COMMA ) ) ;
461461 }
462462 return result ;
@@ -469,9 +469,9 @@ class _ParseAST {
469469 if ( ! this . optionalCharacter ( $RBRACE ) ) {
470470 do {
471471 var key = this . expectIdentifierOrKeywordOrString ( ) ;
472- ListWrapper . push ( keys , key ) ;
472+ keys . push ( key ) ;
473473 this . expectCharacter ( $COLON ) ;
474- ListWrapper . push ( values , this . parsePipe ( ) ) ;
474+ values . push ( this . parsePipe ( ) ) ;
475475 } while ( this . optionalCharacter ( $COMMA ) ) ;
476476 this . expectCharacter ( $RBRACE ) ;
477477 }
@@ -500,7 +500,7 @@ class _ParseAST {
500500 if ( this . next . isCharacter ( $RPAREN ) ) return [ ] ;
501501 var positionals = [ ] ;
502502 do {
503- ListWrapper . push ( positionals , this . parsePipe ( ) ) ;
503+ positionals . push ( this . parsePipe ( ) ) ;
504504 } while ( this . optionalCharacter ( $COMMA ) ) ;
505505 return positionals ;
506506 }
@@ -522,7 +522,7 @@ class _ParseAST {
522522 var exprs = [ ] ;
523523 while ( this . index < this . tokens . length && ! this . next . isCharacter ( $RBRACE ) ) {
524524 var expr = this . parseExpression ( ) ;
525- ListWrapper . push ( exprs , expr ) ;
525+ exprs . push ( expr ) ;
526526
527527 if ( this . optionalCharacter ( $SEMICOLON ) ) {
528528 while ( this . optionalCharacter ( $SEMICOLON ) ) {
@@ -581,7 +581,7 @@ class _ParseAST {
581581 var source = this . input . substring ( start , this . inputIndex ) ;
582582 expression = new ASTWithSource ( ast , source , this . location ) ;
583583 }
584- ListWrapper . push ( bindings , new TemplateBinding ( key , keyIsVar , name , expression ) ) ;
584+ bindings . push ( new TemplateBinding ( key , keyIsVar , name , expression ) ) ;
585585 if ( ! this . optionalCharacter ( $SEMICOLON ) ) {
586586 this . optionalCharacter ( $COMMA ) ;
587587 }
0 commit comments