• 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": "a",
12            "typeAnnotation": {
13              "type": "TSNumberKeyword",
14              "loc": {
15                "start": {
16                  "line": 17,
17                  "column": 8
18                },
19                "end": {
20                  "line": 17,
21                  "column": 14
22                }
23              }
24            },
25            "loc": {
26              "start": {
27                "line": 17,
28                "column": 5
29              },
30              "end": {
31                "line": 17,
32                "column": 6
33              }
34            }
35          },
36          "init": {
37            "type": "NumberLiteral",
38            "value": 1,
39            "loc": {
40              "start": {
41                "line": 17,
42                "column": 17
43              },
44              "end": {
45                "line": 17,
46                "column": 18
47              }
48            }
49          },
50          "loc": {
51            "start": {
52              "line": 17,
53              "column": 5
54            },
55            "end": {
56              "line": 17,
57              "column": 18
58            }
59          }
60        }
61      ],
62      "kind": "var",
63      "loc": {
64        "start": {
65          "line": 17,
66          "column": 1
67        },
68        "end": {
69          "line": 17,
70          "column": 19
71        }
72      }
73    },
74    {
75      "type": "ExpressionStatement",
76      "expression": {
77        "type": "UpdateExpression",
78        "operator": "++",
79        "prefix": false,
80        "argument": {
81          "type": "TSNonNullExpression",
82          "expression": {
83            "type": "Identifier",
84            "name": "a",
85            "loc": {
86              "start": {
87                "line": 18,
88                "column": 1
89              },
90              "end": {
91                "line": 18,
92                "column": 2
93              }
94            }
95          },
96          "loc": {
97            "start": {
98              "line": 18,
99              "column": 1
100            },
101            "end": {
102              "line": 18,
103              "column": 3
104            }
105          }
106        },
107        "loc": {
108          "start": {
109            "line": 18,
110            "column": 1
111          },
112          "end": {
113            "line": 18,
114            "column": 5
115          }
116        }
117      },
118      "loc": {
119        "start": {
120          "line": 18,
121          "column": 1
122        },
123        "end": {
124          "line": 18,
125          "column": 6
126        }
127      }
128    },
129    {
130      "type": "ExpressionStatement",
131      "expression": {
132        "type": "UpdateExpression",
133        "operator": "--",
134        "prefix": false,
135        "argument": {
136          "type": "TSNonNullExpression",
137          "expression": {
138            "type": "Identifier",
139            "name": "a",
140            "loc": {
141              "start": {
142                "line": 19,
143                "column": 1
144              },
145              "end": {
146                "line": 19,
147                "column": 2
148              }
149            }
150          },
151          "loc": {
152            "start": {
153              "line": 19,
154              "column": 1
155            },
156            "end": {
157              "line": 19,
158              "column": 3
159            }
160          }
161        },
162        "loc": {
163          "start": {
164            "line": 19,
165            "column": 1
166          },
167          "end": {
168            "line": 19,
169            "column": 5
170          }
171        }
172      },
173      "loc": {
174        "start": {
175          "line": 19,
176          "column": 1
177        },
178        "end": {
179          "line": 19,
180          "column": 6
181        }
182      }
183    },
184    {
185      "type": "ExpressionStatement",
186      "expression": {
187        "type": "UpdateExpression",
188        "operator": "--",
189        "prefix": true,
190        "argument": {
191          "type": "TSNonNullExpression",
192          "expression": {
193            "type": "Identifier",
194            "name": "a",
195            "loc": {
196              "start": {
197                "line": 20,
198                "column": 3
199              },
200              "end": {
201                "line": 20,
202                "column": 4
203              }
204            }
205          },
206          "loc": {
207            "start": {
208              "line": 20,
209              "column": 3
210            },
211            "end": {
212              "line": 20,
213              "column": 5
214            }
215          }
216        },
217        "loc": {
218          "start": {
219            "line": 20,
220            "column": 1
221          },
222          "end": {
223            "line": 20,
224            "column": 5
225          }
226        }
227      },
228      "loc": {
229        "start": {
230          "line": 20,
231          "column": 1
232        },
233        "end": {
234          "line": 20,
235          "column": 6
236        }
237      }
238    },
239    {
240      "type": "ExpressionStatement",
241      "expression": {
242        "type": "UpdateExpression",
243        "operator": "++",
244        "prefix": true,
245        "argument": {
246          "type": "TSNonNullExpression",
247          "expression": {
248            "type": "Identifier",
249            "name": "a",
250            "loc": {
251              "start": {
252                "line": 21,
253                "column": 3
254              },
255              "end": {
256                "line": 21,
257                "column": 4
258              }
259            }
260          },
261          "loc": {
262            "start": {
263              "line": 21,
264              "column": 3
265            },
266            "end": {
267              "line": 21,
268              "column": 5
269            }
270          }
271        },
272        "loc": {
273          "start": {
274            "line": 21,
275            "column": 1
276          },
277          "end": {
278            "line": 21,
279            "column": 5
280          }
281        }
282      },
283      "loc": {
284        "start": {
285          "line": 21,
286          "column": 1
287        },
288        "end": {
289          "line": 21,
290          "column": 6
291        }
292      }
293    },
294    {
295      "type": "ExpressionStatement",
296      "expression": {
297        "type": "AssignmentExpression",
298        "operator": "=",
299        "left": {
300          "type": "Identifier",
301          "name": "a",
302          "loc": {
303            "start": {
304              "line": 22,
305              "column": 1
306            },
307            "end": {
308              "line": 22,
309              "column": 2
310            }
311          }
312        },
313        "right": {
314          "type": "BinaryExpression",
315          "operator": "+",
316          "left": {
317            "type": "TSNonNullExpression",
318            "expression": {
319              "type": "Identifier",
320              "name": "a",
321              "loc": {
322                "start": {
323                  "line": 22,
324                  "column": 5
325                },
326                "end": {
327                  "line": 22,
328                  "column": 6
329                }
330              }
331            },
332            "loc": {
333              "start": {
334                "line": 22,
335                "column": 5
336              },
337              "end": {
338                "line": 22,
339                "column": 7
340              }
341            }
342          },
343          "right": {
344            "type": "Identifier",
345            "name": "a",
346            "loc": {
347              "start": {
348                "line": 22,
349                "column": 10
350              },
351              "end": {
352                "line": 22,
353                "column": 11
354              }
355            }
356          },
357          "loc": {
358            "start": {
359              "line": 22,
360              "column": 5
361            },
362            "end": {
363              "line": 22,
364              "column": 11
365            }
366          }
367        },
368        "loc": {
369          "start": {
370            "line": 22,
371            "column": 1
372          },
373          "end": {
374            "line": 22,
375            "column": 11
376          }
377        }
378      },
379      "loc": {
380        "start": {
381          "line": 22,
382          "column": 1
383        },
384        "end": {
385          "line": 22,
386          "column": 12
387        }
388      }
389    }
390  ],
391  "loc": {
392    "start": {
393      "line": 1,
394      "column": 1
395    },
396    "end": {
397      "line": 22,
398      "column": 12
399    }
400  }
401}
402