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