• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "ImportDeclaration",
6      "source": {
7        "type": "StringLiteral",
8        "value": "./test4",
9        "loc": {
10          "start": {
11            "line": 16,
12            "column": 19,
13            "program": "test2.ets"
14          },
15          "end": {
16            "line": 16,
17            "column": 28,
18            "program": "test2.ets"
19          }
20        }
21      },
22      "specifiers": [
23        {
24          "type": "ImportSpecifier",
25          "local": {
26            "type": "Identifier",
27            "name": "bar",
28            "decorators": [],
29            "loc": {
30              "start": {
31                "line": 16,
32                "column": 9,
33                "program": "test2.ets"
34              },
35              "end": {
36                "line": 16,
37                "column": 12,
38                "program": "test2.ets"
39              }
40            }
41          },
42          "imported": {
43            "type": "Identifier",
44            "name": "bar",
45            "decorators": [],
46            "loc": {
47              "start": {
48                "line": 16,
49                "column": 9,
50                "program": "test2.ets"
51              },
52              "end": {
53                "line": 16,
54                "column": 12,
55                "program": "test2.ets"
56              }
57            }
58          },
59          "loc": {
60            "start": {
61              "line": 16,
62              "column": 9,
63              "program": "test2.ets"
64            },
65            "end": {
66              "line": 16,
67              "column": 12,
68              "program": "test2.ets"
69            }
70          }
71        }
72      ],
73      "loc": {
74        "start": {
75          "line": 16,
76          "column": 1,
77          "program": "test2.ets"
78        },
79        "end": {
80          "line": 16,
81          "column": 28,
82          "program": "test2.ets"
83        }
84      }
85    },
86    {
87      "type": "ClassDeclaration",
88      "definition": {
89        "id": {
90          "type": "Identifier",
91          "name": "ETSGLOBAL",
92          "decorators": [],
93          "loc": {
94            "start": {
95              "line": 1,
96              "column": 1,
97              "program": "test2.ets"
98            },
99            "end": {
100              "line": 1,
101              "column": 1,
102              "program": "test2.ets"
103            }
104          }
105        },
106        "superClass": null,
107        "implements": [],
108        "body": [
109          {
110            "type": "MethodDefinition",
111            "key": {
112              "type": "Identifier",
113              "name": "main",
114              "decorators": [],
115              "loc": {
116                "start": {
117                  "line": 1,
118                  "column": 1,
119                  "program": null
120                },
121                "end": {
122                  "line": 1,
123                  "column": 1,
124                  "program": null
125                }
126              }
127            },
128            "kind": "method",
129            "accessibility": "public",
130            "static": true,
131            "optional": false,
132            "computed": false,
133            "value": {
134              "type": "FunctionExpression",
135              "function": {
136                "type": "ScriptFunction",
137                "id": {
138                  "type": "Identifier",
139                  "name": "main",
140                  "decorators": [],
141                  "loc": {
142                    "start": {
143                      "line": 1,
144                      "column": 1,
145                      "program": null
146                    },
147                    "end": {
148                      "line": 1,
149                      "column": 1,
150                      "program": null
151                    }
152                  }
153                },
154                "generator": false,
155                "async": false,
156                "expression": false,
157                "params": [],
158                "body": {
159                  "type": "BlockStatement",
160                  "statements": [],
161                  "loc": {
162                    "start": {
163                      "line": 1,
164                      "column": 1,
165                      "program": null
166                    },
167                    "end": {
168                      "line": 1,
169                      "column": 1,
170                      "program": null
171                    }
172                  }
173                },
174                "loc": {
175                  "start": {
176                    "line": 1,
177                    "column": 1,
178                    "program": null
179                  },
180                  "end": {
181                    "line": 1,
182                    "column": 1,
183                    "program": null
184                  }
185                }
186              },
187              "loc": {
188                "start": {
189                  "line": 1,
190                  "column": 1,
191                  "program": null
192                },
193                "end": {
194                  "line": 1,
195                  "column": 1,
196                  "program": null
197                }
198              }
199            },
200            "overloads": [],
201            "decorators": [],
202            "loc": {
203              "start": {
204                "line": 1,
205                "column": 1,
206                "program": "test2.ets"
207              },
208              "end": {
209                "line": 1,
210                "column": 1,
211                "program": "test2.ets"
212              }
213            }
214          },
215          {
216            "type": "MethodDefinition",
217            "key": {
218              "type": "Identifier",
219              "name": "_$init$_",
220              "decorators": [],
221              "loc": {
222                "start": {
223                  "line": 1,
224                  "column": 1,
225                  "program": null
226                },
227                "end": {
228                  "line": 1,
229                  "column": 1,
230                  "program": null
231                }
232              }
233            },
234            "kind": "method",
235            "accessibility": "public",
236            "static": true,
237            "optional": false,
238            "computed": false,
239            "value": {
240              "type": "FunctionExpression",
241              "function": {
242                "type": "ScriptFunction",
243                "id": {
244                  "type": "Identifier",
245                  "name": "_$init$_",
246                  "decorators": [],
247                  "loc": {
248                    "start": {
249                      "line": 1,
250                      "column": 1,
251                      "program": null
252                    },
253                    "end": {
254                      "line": 1,
255                      "column": 1,
256                      "program": null
257                    }
258                  }
259                },
260                "generator": false,
261                "async": false,
262                "expression": false,
263                "params": [],
264                "body": {
265                  "type": "BlockStatement",
266                  "statements": [
267                    {
268                      "type": "ExpressionStatement",
269                      "expression": {
270                        "type": "AssignmentExpression",
271                        "operator": "=",
272                        "left": {
273                          "type": "Identifier",
274                          "name": "foo",
275                          "decorators": [],
276                          "loc": {
277                            "start": {
278                              "line": 18,
279                              "column": 12,
280                              "program": "test2.ets"
281                            },
282                            "end": {
283                              "line": 18,
284                              "column": 15,
285                              "program": "test2.ets"
286                            }
287                          }
288                        },
289                        "right": {
290                          "type": "Identifier",
291                          "name": "bar",
292                          "decorators": [],
293                          "loc": {
294                            "start": {
295                              "line": 18,
296                              "column": 18,
297                              "program": "test2.ets"
298                            },
299                            "end": {
300                              "line": 18,
301                              "column": 21,
302                              "program": "test2.ets"
303                            }
304                          }
305                        },
306                        "loc": {
307                          "start": {
308                            "line": 18,
309                            "column": 12,
310                            "program": "test2.ets"
311                          },
312                          "end": {
313                            "line": 18,
314                            "column": 21,
315                            "program": "test2.ets"
316                          }
317                        }
318                      },
319                      "loc": {
320                        "start": {
321                          "line": 18,
322                          "column": 12,
323                          "program": "test2.ets"
324                        },
325                        "end": {
326                          "line": 18,
327                          "column": 21,
328                          "program": "test2.ets"
329                        }
330                      }
331                    }
332                  ],
333                  "loc": {
334                    "start": {
335                      "line": 1,
336                      "column": 1,
337                      "program": null
338                    },
339                    "end": {
340                      "line": 1,
341                      "column": 1,
342                      "program": null
343                    }
344                  }
345                },
346                "loc": {
347                  "start": {
348                    "line": 1,
349                    "column": 1,
350                    "program": null
351                  },
352                  "end": {
353                    "line": 1,
354                    "column": 1,
355                    "program": null
356                  }
357                }
358              },
359              "loc": {
360                "start": {
361                  "line": 1,
362                  "column": 1,
363                  "program": null
364                },
365                "end": {
366                  "line": 1,
367                  "column": 1,
368                  "program": null
369                }
370              }
371            },
372            "overloads": [],
373            "decorators": [],
374            "loc": {
375              "start": {
376                "line": 1,
377                "column": 1,
378                "program": "test2.ets"
379              },
380              "end": {
381                "line": 1,
382                "column": 1,
383                "program": "test2.ets"
384              }
385            }
386          },
387          {
388            "type": "ClassProperty",
389            "key": {
390              "type": "Identifier",
391              "name": "foo",
392              "decorators": [],
393              "loc": {
394                "start": {
395                  "line": 18,
396                  "column": 12,
397                  "program": "test2.ets"
398                },
399                "end": {
400                  "line": 18,
401                  "column": 15,
402                  "program": "test2.ets"
403                }
404              }
405            },
406            "value": {
407              "type": "Identifier",
408              "name": "bar",
409              "decorators": [],
410              "loc": {
411                "start": {
412                  "line": 18,
413                  "column": 18,
414                  "program": "test2.ets"
415                },
416                "end": {
417                  "line": 18,
418                  "column": 21,
419                  "program": "test2.ets"
420                }
421              }
422            },
423            "accessibility": "public",
424            "static": true,
425            "readonly": false,
426            "declare": false,
427            "optional": false,
428            "computed": false,
429            "definite": false,
430            "decorators": [],
431            "loc": {
432              "start": {
433                "line": 18,
434                "column": 12,
435                "program": "test2.ets"
436              },
437              "end": {
438                "line": 18,
439                "column": 21,
440                "program": "test2.ets"
441              }
442            }
443          }
444        ],
445        "loc": {
446          "start": {
447            "line": 1,
448            "column": 1,
449            "program": "test2.ets"
450          },
451          "end": {
452            "line": 1,
453            "column": 1,
454            "program": "test2.ets"
455          }
456        }
457      },
458      "loc": {
459        "start": {
460          "line": 1,
461          "column": 1,
462          "program": "test2.ets"
463        },
464        "end": {
465          "line": 1,
466          "column": 1,
467          "program": "test2.ets"
468        }
469      }
470    }
471  ],
472  "loc": {
473    "start": {
474      "line": 1,
475      "column": 1,
476      "program": "test2.ets"
477    },
478    "end": {
479      "line": 19,
480      "column": 1,
481      "program": "test2.ets"
482    }
483  }
484}
485