• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "ClassDeclaration",
6      "definition": {
7        "id": {
8          "type": "Identifier",
9          "name": "A",
10          "decorators": [],
11          "loc": {
12            "start": {
13              "line": 16,
14              "column": 7,
15              "program": "constructor_super_call3.ets"
16            },
17            "end": {
18              "line": 16,
19              "column": 8,
20              "program": "constructor_super_call3.ets"
21            }
22          }
23        },
24        "superClass": null,
25        "implements": [],
26        "body": [
27          {
28            "type": "MethodDefinition",
29            "key": {
30              "type": "Identifier",
31              "name": "constructor",
32              "decorators": [],
33              "loc": {
34                "start": {
35                  "line": 1,
36                  "column": 1,
37                  "program": null
38                },
39                "end": {
40                  "line": 1,
41                  "column": 1,
42                  "program": null
43                }
44              }
45            },
46            "kind": "constructor",
47            "accessibility": "public",
48            "static": false,
49            "optional": false,
50            "computed": false,
51            "value": {
52              "type": "FunctionExpression",
53              "function": {
54                "type": "ScriptFunction",
55                "id": {
56                  "type": "Identifier",
57                  "name": "constructor",
58                  "decorators": [],
59                  "loc": {
60                    "start": {
61                      "line": 1,
62                      "column": 1,
63                      "program": null
64                    },
65                    "end": {
66                      "line": 1,
67                      "column": 1,
68                      "program": null
69                    }
70                  }
71                },
72                "generator": false,
73                "async": false,
74                "expression": false,
75                "params": [],
76                "body": {
77                  "type": "BlockStatement",
78                  "statements": [],
79                  "loc": {
80                    "start": {
81                      "line": 17,
82                      "column": 19,
83                      "program": "constructor_super_call3.ets"
84                    },
85                    "end": {
86                      "line": 17,
87                      "column": 21,
88                      "program": "constructor_super_call3.ets"
89                    }
90                  }
91                },
92                "loc": {
93                  "start": {
94                    "line": 17,
95                    "column": 16,
96                    "program": "constructor_super_call3.ets"
97                  },
98                  "end": {
99                    "line": 17,
100                    "column": 21,
101                    "program": "constructor_super_call3.ets"
102                  }
103                }
104              },
105              "loc": {
106                "start": {
107                  "line": 17,
108                  "column": 16,
109                  "program": "constructor_super_call3.ets"
110                },
111                "end": {
112                  "line": 17,
113                  "column": 21,
114                  "program": "constructor_super_call3.ets"
115                }
116              }
117            },
118            "overloads": [],
119            "decorators": [],
120            "loc": {
121              "start": {
122                "line": 17,
123                "column": 5,
124                "program": "constructor_super_call3.ets"
125              },
126              "end": {
127                "line": 17,
128                "column": 21,
129                "program": "constructor_super_call3.ets"
130              }
131            }
132          }
133        ],
134        "loc": {
135          "start": {
136            "line": 16,
137            "column": 9,
138            "program": "constructor_super_call3.ets"
139          },
140          "end": {
141            "line": 20,
142            "column": 6,
143            "program": "constructor_super_call3.ets"
144          }
145        }
146      },
147      "loc": {
148        "start": {
149          "line": 16,
150          "column": 1,
151          "program": "constructor_super_call3.ets"
152        },
153        "end": {
154          "line": 20,
155          "column": 6,
156          "program": "constructor_super_call3.ets"
157        }
158      }
159    },
160    {
161      "type": "ClassDeclaration",
162      "definition": {
163        "id": {
164          "type": "Identifier",
165          "name": "B",
166          "decorators": [],
167          "loc": {
168            "start": {
169              "line": 20,
170              "column": 7,
171              "program": "constructor_super_call3.ets"
172            },
173            "end": {
174              "line": 20,
175              "column": 8,
176              "program": "constructor_super_call3.ets"
177            }
178          }
179        },
180        "superClass": {
181          "type": "ETSTypeReference",
182          "part": {
183            "type": "ETSTypeReferencePart",
184            "name": {
185              "type": "Identifier",
186              "name": "A",
187              "decorators": [],
188              "loc": {
189                "start": {
190                  "line": 20,
191                  "column": 17,
192                  "program": "constructor_super_call3.ets"
193                },
194                "end": {
195                  "line": 20,
196                  "column": 18,
197                  "program": "constructor_super_call3.ets"
198                }
199              }
200            },
201            "loc": {
202              "start": {
203                "line": 20,
204                "column": 17,
205                "program": "constructor_super_call3.ets"
206              },
207              "end": {
208                "line": 20,
209                "column": 20,
210                "program": "constructor_super_call3.ets"
211              }
212            }
213          },
214          "loc": {
215            "start": {
216              "line": 20,
217              "column": 17,
218              "program": "constructor_super_call3.ets"
219            },
220            "end": {
221              "line": 20,
222              "column": 20,
223              "program": "constructor_super_call3.ets"
224            }
225          }
226        },
227        "implements": [],
228        "body": [
229          {
230            "type": "MethodDefinition",
231            "key": {
232              "type": "Identifier",
233              "name": "constructor",
234              "decorators": [],
235              "loc": {
236                "start": {
237                  "line": 1,
238                  "column": 1,
239                  "program": null
240                },
241                "end": {
242                  "line": 1,
243                  "column": 1,
244                  "program": null
245                }
246              }
247            },
248            "kind": "constructor",
249            "accessibility": "public",
250            "static": false,
251            "optional": false,
252            "computed": false,
253            "value": {
254              "type": "FunctionExpression",
255              "function": {
256                "type": "ScriptFunction",
257                "id": {
258                  "type": "Identifier",
259                  "name": "constructor",
260                  "decorators": [],
261                  "loc": {
262                    "start": {
263                      "line": 1,
264                      "column": 1,
265                      "program": null
266                    },
267                    "end": {
268                      "line": 1,
269                      "column": 1,
270                      "program": null
271                    }
272                  }
273                },
274                "generator": false,
275                "async": false,
276                "expression": false,
277                "params": [
278                  {
279                    "type": "ETSParameterExpression",
280                    "name": {
281                      "type": "Identifier",
282                      "name": "x",
283                      "typeAnnotation": {
284                        "type": "ETSPrimitiveType",
285                        "loc": {
286                          "start": {
287                            "line": 21,
288                            "column": 20,
289                            "program": "constructor_super_call3.ets"
290                          },
291                          "end": {
292                            "line": 21,
293                            "column": 23,
294                            "program": "constructor_super_call3.ets"
295                          }
296                        }
297                      },
298                      "decorators": [],
299                      "loc": {
300                        "start": {
301                          "line": 21,
302                          "column": 17,
303                          "program": "constructor_super_call3.ets"
304                        },
305                        "end": {
306                          "line": 21,
307                          "column": 23,
308                          "program": "constructor_super_call3.ets"
309                        }
310                      }
311                    },
312                    "loc": {
313                      "start": {
314                        "line": 21,
315                        "column": 17,
316                        "program": "constructor_super_call3.ets"
317                      },
318                      "end": {
319                        "line": 21,
320                        "column": 23,
321                        "program": "constructor_super_call3.ets"
322                      }
323                    }
324                  }
325                ],
326                "body": {
327                  "type": "BlockStatement",
328                  "statements": [],
329                  "loc": {
330                    "start": {
331                      "line": 21,
332                      "column": 25,
333                      "program": "constructor_super_call3.ets"
334                    },
335                    "end": {
336                      "line": 23,
337                      "column": 6,
338                      "program": "constructor_super_call3.ets"
339                    }
340                  }
341                },
342                "loc": {
343                  "start": {
344                    "line": 21,
345                    "column": 16,
346                    "program": "constructor_super_call3.ets"
347                  },
348                  "end": {
349                    "line": 23,
350                    "column": 6,
351                    "program": "constructor_super_call3.ets"
352                  }
353                }
354              },
355              "loc": {
356                "start": {
357                  "line": 21,
358                  "column": 16,
359                  "program": "constructor_super_call3.ets"
360                },
361                "end": {
362                  "line": 23,
363                  "column": 6,
364                  "program": "constructor_super_call3.ets"
365                }
366              }
367            },
368            "overloads": [],
369            "decorators": [],
370            "loc": {
371              "start": {
372                "line": 21,
373                "column": 5,
374                "program": "constructor_super_call3.ets"
375              },
376              "end": {
377                "line": 23,
378                "column": 6,
379                "program": "constructor_super_call3.ets"
380              }
381            }
382          }
383        ],
384        "loc": {
385          "start": {
386            "line": 20,
387            "column": 19,
388            "program": "constructor_super_call3.ets"
389          },
390          "end": {
391            "line": 25,
392            "column": 1,
393            "program": "constructor_super_call3.ets"
394          }
395        }
396      },
397      "loc": {
398        "start": {
399          "line": 20,
400          "column": 1,
401          "program": "constructor_super_call3.ets"
402        },
403        "end": {
404          "line": 25,
405          "column": 1,
406          "program": "constructor_super_call3.ets"
407        }
408      }
409    },
410    {
411      "type": "ClassDeclaration",
412      "definition": {
413        "id": {
414          "type": "Identifier",
415          "name": "ETSGLOBAL",
416          "decorators": [],
417          "loc": {
418            "start": {
419              "line": 1,
420              "column": 1,
421              "program": "constructor_super_call3.ets"
422            },
423            "end": {
424              "line": 1,
425              "column": 1,
426              "program": "constructor_super_call3.ets"
427            }
428          }
429        },
430        "superClass": null,
431        "implements": [],
432        "body": [
433          {
434            "type": "MethodDefinition",
435            "key": {
436              "type": "Identifier",
437              "name": "main",
438              "decorators": [],
439              "loc": {
440                "start": {
441                  "line": 1,
442                  "column": 1,
443                  "program": null
444                },
445                "end": {
446                  "line": 1,
447                  "column": 1,
448                  "program": null
449                }
450              }
451            },
452            "kind": "method",
453            "accessibility": "public",
454            "static": true,
455            "optional": false,
456            "computed": false,
457            "value": {
458              "type": "FunctionExpression",
459              "function": {
460                "type": "ScriptFunction",
461                "id": {
462                  "type": "Identifier",
463                  "name": "main",
464                  "decorators": [],
465                  "loc": {
466                    "start": {
467                      "line": 1,
468                      "column": 1,
469                      "program": null
470                    },
471                    "end": {
472                      "line": 1,
473                      "column": 1,
474                      "program": null
475                    }
476                  }
477                },
478                "generator": false,
479                "async": false,
480                "expression": false,
481                "params": [],
482                "body": {
483                  "type": "BlockStatement",
484                  "statements": [],
485                  "loc": {
486                    "start": {
487                      "line": 1,
488                      "column": 1,
489                      "program": null
490                    },
491                    "end": {
492                      "line": 1,
493                      "column": 1,
494                      "program": null
495                    }
496                  }
497                },
498                "loc": {
499                  "start": {
500                    "line": 1,
501                    "column": 1,
502                    "program": null
503                  },
504                  "end": {
505                    "line": 1,
506                    "column": 1,
507                    "program": null
508                  }
509                }
510              },
511              "loc": {
512                "start": {
513                  "line": 1,
514                  "column": 1,
515                  "program": null
516                },
517                "end": {
518                  "line": 1,
519                  "column": 1,
520                  "program": null
521                }
522              }
523            },
524            "overloads": [],
525            "decorators": [],
526            "loc": {
527              "start": {
528                "line": 1,
529                "column": 1,
530                "program": "constructor_super_call3.ets"
531              },
532              "end": {
533                "line": 1,
534                "column": 1,
535                "program": "constructor_super_call3.ets"
536              }
537            }
538          },
539          {
540            "type": "MethodDefinition",
541            "key": {
542              "type": "Identifier",
543              "name": "_$init$_",
544              "decorators": [],
545              "loc": {
546                "start": {
547                  "line": 1,
548                  "column": 1,
549                  "program": null
550                },
551                "end": {
552                  "line": 1,
553                  "column": 1,
554                  "program": null
555                }
556              }
557            },
558            "kind": "method",
559            "accessibility": "public",
560            "static": true,
561            "optional": false,
562            "computed": false,
563            "value": {
564              "type": "FunctionExpression",
565              "function": {
566                "type": "ScriptFunction",
567                "id": {
568                  "type": "Identifier",
569                  "name": "_$init$_",
570                  "decorators": [],
571                  "loc": {
572                    "start": {
573                      "line": 1,
574                      "column": 1,
575                      "program": null
576                    },
577                    "end": {
578                      "line": 1,
579                      "column": 1,
580                      "program": null
581                    }
582                  }
583                },
584                "generator": false,
585                "async": false,
586                "expression": false,
587                "params": [],
588                "body": {
589                  "type": "BlockStatement",
590                  "statements": [],
591                  "loc": {
592                    "start": {
593                      "line": 1,
594                      "column": 1,
595                      "program": null
596                    },
597                    "end": {
598                      "line": 1,
599                      "column": 1,
600                      "program": null
601                    }
602                  }
603                },
604                "loc": {
605                  "start": {
606                    "line": 1,
607                    "column": 1,
608                    "program": null
609                  },
610                  "end": {
611                    "line": 1,
612                    "column": 1,
613                    "program": null
614                  }
615                }
616              },
617              "loc": {
618                "start": {
619                  "line": 1,
620                  "column": 1,
621                  "program": null
622                },
623                "end": {
624                  "line": 1,
625                  "column": 1,
626                  "program": null
627                }
628              }
629            },
630            "overloads": [],
631            "decorators": [],
632            "loc": {
633              "start": {
634                "line": 1,
635                "column": 1,
636                "program": "constructor_super_call3.ets"
637              },
638              "end": {
639                "line": 1,
640                "column": 1,
641                "program": "constructor_super_call3.ets"
642              }
643            }
644          }
645        ],
646        "loc": {
647          "start": {
648            "line": 1,
649            "column": 1,
650            "program": "constructor_super_call3.ets"
651          },
652          "end": {
653            "line": 1,
654            "column": 1,
655            "program": "constructor_super_call3.ets"
656          }
657        }
658      },
659      "loc": {
660        "start": {
661          "line": 1,
662          "column": 1,
663          "program": "constructor_super_call3.ets"
664        },
665        "end": {
666          "line": 1,
667          "column": 1,
668          "program": "constructor_super_call3.ets"
669        }
670      }
671    }
672  ],
673  "loc": {
674    "start": {
675      "line": 1,
676      "column": 1,
677      "program": "constructor_super_call3.ets"
678    },
679    "end": {
680      "line": 25,
681      "column": 1,
682      "program": "constructor_super_call3.ets"
683    }
684  }
685}
686