• 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": "B",
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": 20,
97              "column": 2
98            }
99          }
100        },
101        "body": [
102          {
103            "type": "ClassProperty",
104            "key": {
105              "type": "Identifier",
106              "name": "a",
107              "loc": {
108                "start": {
109                  "line": 18,
110                  "column": 5
111                },
112                "end": {
113                  "line": 18,
114                  "column": 6
115                }
116              }
117            },
118            "value": {
119              "type": "Identifier",
120              "name": "undefined",
121              "loc": {
122                "start": {
123                  "line": 19,
124                  "column": 19
125                },
126                "end": {
127                  "line": 19,
128                  "column": 28
129                }
130              }
131            },
132            "static": false,
133            "readonly": false,
134            "declare": false,
135            "optional": false,
136            "computed": false,
137            "typeAnnotation": {
138              "type": "TSUnionType",
139              "types": [
140                {
141                  "type": "TSStringKeyword",
142                  "loc": {
143                    "start": {
144                      "line": 18,
145                      "column": 8
146                    },
147                    "end": {
148                      "line": 18,
149                      "column": 14
150                    }
151                  }
152                },
153                {
154                  "type": "TSUndefinedKeyword",
155                  "loc": {
156                    "start": {
157                      "line": 19,
158                      "column": 7
159                    },
160                    "end": {
161                      "line": 19,
162                      "column": 16
163                    }
164                  }
165                }
166              ],
167              "loc": {
168                "start": {
169                  "line": 18,
170                  "column": 8
171                },
172                "end": {
173                  "line": 19,
174                  "column": 16
175                }
176              }
177            },
178            "decorators": [],
179            "loc": {
180              "start": {
181                "line": 18,
182                "column": 5
183              },
184              "end": {
185                "line": 19,
186                "column": 28
187              }
188            }
189          }
190        ],
191        "indexSignatures": [],
192        "loc": {
193          "start": {
194            "line": 17,
195            "column": 9
196          },
197          "end": {
198            "line": 20,
199            "column": 2
200          }
201        }
202      },
203      "decorators": [],
204      "loc": {
205        "start": {
206          "line": 17,
207          "column": 1
208        },
209        "end": {
210          "line": 20,
211          "column": 2
212        }
213      }
214    }
215  ],
216  "loc": {
217    "start": {
218      "line": 1,
219      "column": 1
220    },
221    "end": {
222      "line": 20,
223      "column": 2
224    }
225  }
226}
227