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