1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "A", 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": 17, 97 "column": 10 98 } 99 } 100 }, 101 "body": [], 102 "indexSignatures": [], 103 "loc": { 104 "start": { 105 "line": 17, 106 "column": 8 107 }, 108 "end": { 109 "line": 17, 110 "column": 10 111 } 112 } 113 }, 114 "decorators": [], 115 "loc": { 116 "start": { 117 "line": 17, 118 "column": 1 119 }, 120 "end": { 121 "line": 17, 122 "column": 10 123 } 124 } 125 }, 126 { 127 "type": "VariableDeclaration", 128 "declarations": [ 129 { 130 "type": "VariableDeclarator", 131 "id": { 132 "type": "Identifier", 133 "name": "a", 134 "loc": { 135 "start": { 136 "line": 18, 137 "column": 5 138 }, 139 "end": { 140 "line": 18, 141 "column": 6 142 } 143 } 144 }, 145 "init": { 146 "type": "ClassExpression", 147 "definition": { 148 "id": null, 149 "superClass": null, 150 "implements": [ 151 { 152 "type": "TSClassImplements", 153 "expression": { 154 "type": "Identifier", 155 "name": "A", 156 "loc": { 157 "start": { 158 "line": 18, 159 "column": 26 160 }, 161 "end": { 162 "line": 18, 163 "column": 27 164 } 165 } 166 }, 167 "loc": { 168 "start": { 169 "line": 18, 170 "column": 26 171 }, 172 "end": { 173 "line": 18, 174 "column": 28 175 } 176 } 177 } 178 ], 179 "constructor": { 180 "type": "MethodDefinition", 181 "key": { 182 "type": "Identifier", 183 "name": "constructor", 184 "loc": { 185 "start": { 186 "line": 1, 187 "column": 1 188 }, 189 "end": { 190 "line": 1, 191 "column": 1 192 } 193 } 194 }, 195 "kind": "constructor", 196 "static": false, 197 "optional": false, 198 "computed": false, 199 "value": { 200 "type": "FunctionExpression", 201 "function": { 202 "type": "ScriptFunction", 203 "id": null, 204 "generator": false, 205 "async": false, 206 "expression": false, 207 "params": [], 208 "body": { 209 "type": "BlockStatement", 210 "statements": [], 211 "loc": { 212 "start": { 213 "line": 1, 214 "column": 1 215 }, 216 "end": { 217 "line": 1, 218 "column": 1 219 } 220 } 221 }, 222 "loc": { 223 "start": { 224 "line": 1, 225 "column": 1 226 }, 227 "end": { 228 "line": 1, 229 "column": 1 230 } 231 } 232 }, 233 "loc": { 234 "start": { 235 "line": 1, 236 "column": 1 237 }, 238 "end": { 239 "line": 1, 240 "column": 1 241 } 242 } 243 }, 244 "overloads": [], 245 "decorators": [], 246 "loc": { 247 "start": { 248 "line": 18, 249 "column": 9 250 }, 251 "end": { 252 "line": 18, 253 "column": 29 254 } 255 } 256 }, 257 "body": [], 258 "indexSignatures": [], 259 "loc": { 260 "start": { 261 "line": 18, 262 "column": 27 263 }, 264 "end": { 265 "line": 18, 266 "column": 29 267 } 268 } 269 }, 270 "loc": { 271 "start": { 272 "line": 18, 273 "column": 9 274 }, 275 "end": { 276 "line": 18, 277 "column": 29 278 } 279 } 280 }, 281 "loc": { 282 "start": { 283 "line": 18, 284 "column": 5 285 }, 286 "end": { 287 "line": 18, 288 "column": 29 289 } 290 } 291 } 292 ], 293 "kind": "var", 294 "loc": { 295 "start": { 296 "line": 18, 297 "column": 1 298 }, 299 "end": { 300 "line": 18, 301 "column": 29 302 } 303 } 304 } 305 ], 306 "loc": { 307 "start": { 308 "line": 1, 309 "column": 1 310 }, 311 "end": { 312 "line": 19, 313 "column": 1 314 } 315 } 316} 317