@@ -36,6 +36,7 @@ export class EmptyExpr extends AST {
3636export class Structural extends AST {
3737 value :AST ;
3838 constructor ( value :AST ) {
39+ super ( ) ;
3940 this . value = value ;
4041 }
4142
@@ -64,6 +65,7 @@ export class ImplicitReceiver extends AST {
6465export class Chain extends AST {
6566 expressions :List ;
6667 constructor ( expressions :List ) {
68+ super ( ) ;
6769 this . expressions = expressions ;
6870 }
6971
@@ -86,6 +88,7 @@ export class Conditional extends AST {
8688 trueExp :AST ;
8789 falseExp :AST ;
8890 constructor ( condition :AST , trueExp :AST , falseExp :AST ) {
91+ super ( ) ;
8992 this . condition = condition ;
9093 this . trueExp = trueExp ;
9194 this . falseExp = falseExp ;
@@ -110,6 +113,7 @@ export class AccessMember extends AST {
110113 getter :Function ;
111114 setter :Function ;
112115 constructor ( receiver :AST , name :string , getter :Function , setter :Function ) {
116+ super ( ) ;
113117 this . receiver = receiver ;
114118 this . name = name ;
115119 this . getter = getter ;
@@ -155,6 +159,7 @@ export class KeyedAccess extends AST {
155159 obj :AST ;
156160 key :AST ;
157161 constructor ( obj :AST , key :AST ) {
162+ super ( ) ;
158163 this . obj = obj ;
159164 this . key = key ;
160165 }
@@ -187,6 +192,7 @@ export class Formatter extends AST {
187192 args :List < AST > ;
188193 allArgs :List < AST > ;
189194 constructor ( exp :AST , name :string , args :List ) {
195+ super ( ) ;
190196 this . exp = exp ;
191197 this . name = name ;
192198 this . args = args ;
@@ -201,6 +207,7 @@ export class Formatter extends AST {
201207export class LiteralPrimitive extends AST {
202208 value ;
203209 constructor ( value ) {
210+ super ( ) ;
204211 this . value = value ;
205212 }
206213
@@ -216,6 +223,7 @@ export class LiteralPrimitive extends AST {
216223export class LiteralArray extends AST {
217224 expressions :List ;
218225 constructor ( expressions :List ) {
226+ super ( ) ;
219227 this . expressions = expressions ;
220228 }
221229
@@ -232,6 +240,7 @@ export class LiteralMap extends AST {
232240 keys :List ;
233241 values :List ;
234242 constructor ( keys :List , values :List ) {
243+ super ( ) ;
235244 this . keys = keys ;
236245 this . values = values ;
237246 }
@@ -253,6 +262,7 @@ export class Interpolation extends AST {
253262 strings :List ;
254263 expressions :List ;
255264 constructor ( strings :List , expressions :List ) {
265+ super ( ) ;
256266 this . strings = strings ;
257267 this . expressions = expressions ;
258268 }
@@ -271,6 +281,7 @@ export class Binary extends AST {
271281 left :AST ;
272282 right :AST ;
273283 constructor ( operation :string , left :AST , right :AST ) {
284+ super ( ) ;
274285 this . operation = operation ;
275286 this . left = left ;
276287 this . right = right ;
@@ -310,6 +321,7 @@ export class Binary extends AST {
310321export class PrefixNot extends AST {
311322 expression :AST ;
312323 constructor ( expression :AST ) {
324+ super ( ) ;
313325 this . expression = expression ;
314326 }
315327
@@ -326,6 +338,7 @@ export class Assignment extends AST {
326338 target :AST ;
327339 value :AST ;
328340 constructor ( target :AST , value :AST ) {
341+ super ( ) ;
329342 this . target = target ;
330343 this . value = value ;
331344 }
@@ -345,6 +358,7 @@ export class MethodCall extends AST {
345358 args :List ;
346359 name :string ;
347360 constructor ( receiver :AST , name :string , fn :Function , args :List ) {
361+ super ( ) ;
348362 this . receiver = receiver ;
349363 this . fn = fn ;
350364 this . args = args ;
@@ -375,6 +389,7 @@ export class FunctionCall extends AST {
375389 target :AST ;
376390 args :List ;
377391 constructor ( target :AST , args :List ) {
392+ super ( ) ;
378393 this . target = target ;
379394 this . args = args ;
380395 }
@@ -397,6 +412,7 @@ export class ASTWithSource extends AST {
397412 source :string ;
398413 location :string ;
399414 constructor ( ast :AST , source :string , location :string ) {
415+ super ( ) ;
400416 this . source = source ;
401417 this . location = location ;
402418 this . ast = ast ;
@@ -429,6 +445,7 @@ export class TemplateBinding {
429445 name:string ;
430446 expression:ASTWithSource ;
431447 constructor ( key :string , keyIsVar :boolean , name :string , expression :ASTWithSource ) {
448+ super ( ) ;
432449 this . key = key ;
433450 this . keyIsVar = keyIsVar ;
434451 // only either name or expression will be filled.
0 commit comments