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