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