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