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