1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "A", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 17, 14 "column": 7 15 }, 16 "end": { 17 "line": 17, 18 "column": 8 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": 18, 33 "column": 5 34 }, 35 "end": { 36 "line": 18, 37 "column": 16 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 { 58 "type": "ExpressionStatement", 59 "expression": { 60 "type": "AssignmentExpression", 61 "operator": "=", 62 "left": { 63 "type": "MemberExpression", 64 "object": { 65 "type": "ThisExpression", 66 "loc": { 67 "start": { 68 "line": 19, 69 "column": 9 70 }, 71 "end": { 72 "line": 19, 73 "column": 13 74 } 75 } 76 }, 77 "property": { 78 "type": "Identifier", 79 "name": "a", 80 "decorators": [], 81 "loc": { 82 "start": { 83 "line": 19, 84 "column": 14 85 }, 86 "end": { 87 "line": 19, 88 "column": 15 89 } 90 } 91 }, 92 "computed": false, 93 "optional": false, 94 "loc": { 95 "start": { 96 "line": 19, 97 "column": 9 98 }, 99 "end": { 100 "line": 19, 101 "column": 15 102 } 103 } 104 }, 105 "right": { 106 "type": "ClassExpression", 107 "definition": { 108 "id": { 109 "type": "Identifier", 110 "name": "B", 111 "decorators": [], 112 "loc": { 113 "start": { 114 "line": 19, 115 "column": 24 116 }, 117 "end": { 118 "line": 19, 119 "column": 25 120 } 121 } 122 }, 123 "superClass": null, 124 "implements": [], 125 "constructor": { 126 "type": "MethodDefinition", 127 "key": { 128 "type": "Identifier", 129 "name": "constructor", 130 "decorators": [], 131 "loc": { 132 "start": { 133 "line": 1, 134 "column": 1 135 }, 136 "end": { 137 "line": 1, 138 "column": 1 139 } 140 } 141 }, 142 "kind": "constructor", 143 "static": false, 144 "optional": false, 145 "computed": false, 146 "value": { 147 "type": "FunctionExpression", 148 "function": { 149 "type": "ScriptFunction", 150 "id": null, 151 "generator": false, 152 "async": false, 153 "expression": false, 154 "params": [], 155 "body": { 156 "type": "BlockStatement", 157 "statements": [], 158 "loc": { 159 "start": { 160 "line": 1, 161 "column": 1 162 }, 163 "end": { 164 "line": 1, 165 "column": 1 166 } 167 } 168 }, 169 "loc": { 170 "start": { 171 "line": 1, 172 "column": 1 173 }, 174 "end": { 175 "line": 1, 176 "column": 1 177 } 178 } 179 }, 180 "loc": { 181 "start": { 182 "line": 1, 183 "column": 1 184 }, 185 "end": { 186 "line": 1, 187 "column": 1 188 } 189 } 190 }, 191 "overloads": [], 192 "decorators": [], 193 "loc": { 194 "start": { 195 "line": 19, 196 "column": 18 197 }, 198 "end": { 199 "line": 21, 200 "column": 10 201 } 202 } 203 }, 204 "body": [ 205 { 206 "type": "MethodDefinition", 207 "key": { 208 "type": "Identifier", 209 "name": "b", 210 "decorators": [], 211 "loc": { 212 "start": { 213 "line": 20, 214 "column": 20 215 }, 216 "end": { 217 "line": 20, 218 "column": 21 219 } 220 } 221 }, 222 "kind": "method", 223 "static": true, 224 "optional": false, 225 "computed": false, 226 "value": { 227 "type": "FunctionExpression", 228 "function": { 229 "type": "ScriptFunction", 230 "id": null, 231 "generator": false, 232 "async": false, 233 "expression": false, 234 "params": [], 235 "body": { 236 "type": "BlockStatement", 237 "statements": [], 238 "loc": { 239 "start": { 240 "line": 20, 241 "column": 24 242 }, 243 "end": { 244 "line": 20, 245 "column": 26 246 } 247 } 248 }, 249 "loc": { 250 "start": { 251 "line": 20, 252 "column": 21 253 }, 254 "end": { 255 "line": 20, 256 "column": 26 257 } 258 } 259 }, 260 "loc": { 261 "start": { 262 "line": 20, 263 "column": 21 264 }, 265 "end": { 266 "line": 20, 267 "column": 26 268 } 269 } 270 }, 271 "overloads": [], 272 "decorators": [], 273 "loc": { 274 "start": { 275 "line": 20, 276 "column": 13 277 }, 278 "end": { 279 "line": 20, 280 "column": 26 281 } 282 } 283 } 284 ], 285 "indexSignatures": [], 286 "loc": { 287 "start": { 288 "line": 19, 289 "column": 26 290 }, 291 "end": { 292 "line": 21, 293 "column": 10 294 } 295 } 296 }, 297 "loc": { 298 "start": { 299 "line": 19, 300 "column": 18 301 }, 302 "end": { 303 "line": 21, 304 "column": 10 305 } 306 } 307 }, 308 "loc": { 309 "start": { 310 "line": 19, 311 "column": 9 312 }, 313 "end": { 314 "line": 21, 315 "column": 10 316 } 317 } 318 }, 319 "loc": { 320 "start": { 321 "line": 19, 322 "column": 9 323 }, 324 "end": { 325 "line": 21, 326 "column": 10 327 } 328 } 329 } 330 ], 331 "loc": { 332 "start": { 333 "line": 18, 334 "column": 19 335 }, 336 "end": { 337 "line": 22, 338 "column": 6 339 } 340 } 341 }, 342 "loc": { 343 "start": { 344 "line": 18, 345 "column": 16 346 }, 347 "end": { 348 "line": 22, 349 "column": 6 350 } 351 } 352 }, 353 "loc": { 354 "start": { 355 "line": 18, 356 "column": 16 357 }, 358 "end": { 359 "line": 22, 360 "column": 6 361 } 362 } 363 }, 364 "overloads": [], 365 "decorators": [], 366 "loc": { 367 "start": { 368 "line": 18, 369 "column": 5 370 }, 371 "end": { 372 "line": 22, 373 "column": 6 374 } 375 } 376 }, 377 "body": [], 378 "indexSignatures": [], 379 "loc": { 380 "start": { 381 "line": 17, 382 "column": 9 383 }, 384 "end": { 385 "line": 23, 386 "column": 2 387 } 388 } 389 }, 390 "decorators": [], 391 "loc": { 392 "start": { 393 "line": 17, 394 "column": 1 395 }, 396 "end": { 397 "line": 23, 398 "column": 2 399 } 400 } 401 } 402 ], 403 "loc": { 404 "start": { 405 "line": 1, 406 "column": 1 407 }, 408 "end": { 409 "line": 24, 410 "column": 1 411 } 412 } 413} 414