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