• 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": 20,
95              "column": 2
96            },
97            "end": {
98              "line": 20,
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": "bar",
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        "loc": {
264          "start": {
265            "line": 17,
266            "column": 11
267          },
268          "end": {
269            "line": 20,
270            "column": 2
271          }
272        }
273      },
274      "loc": {
275        "start": {
276          "line": 17,
277          "column": 1
278        },
279        "end": {
280          "line": 20,
281          "column": 2
282        }
283      }
284    }
285  ],
286  "loc": {
287    "start": {
288      "line": 1,
289      "column": 1
290    },
291    "end": {
292      "line": 20,
293      "column": 2
294    }
295  }
296}
297