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