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