1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "C", 12 "decorators": [], 13 "loc": { 14 "start": { 15 "line": 17, 16 "column": 5 17 }, 18 "end": { 19 "line": 17, 20 "column": 6 21 } 22 } 23 }, 24 "init": null, 25 "loc": { 26 "start": { 27 "line": 17, 28 "column": 5 29 }, 30 "end": { 31 "line": 17, 32 "column": 6 33 } 34 } 35 } 36 ], 37 "kind": "var", 38 "loc": { 39 "start": { 40 "line": 17, 41 "column": 1 42 }, 43 "end": { 44 "line": 17, 45 "column": 7 46 } 47 } 48 }, 49 { 50 "type": "VariableDeclaration", 51 "declarations": [ 52 { 53 "type": "VariableDeclarator", 54 "id": { 55 "type": "Identifier", 56 "name": "cls1", 57 "decorators": [], 58 "loc": { 59 "start": { 60 "line": 19, 61 "column": 5 62 }, 63 "end": { 64 "line": 19, 65 "column": 9 66 } 67 } 68 }, 69 "init": { 70 "type": "ClassExpression", 71 "definition": { 72 "id": { 73 "type": "Identifier", 74 "name": "C", 75 "decorators": [], 76 "loc": { 77 "start": { 78 "line": 19, 79 "column": 18 80 }, 81 "end": { 82 "line": 19, 83 "column": 19 84 } 85 } 86 }, 87 "superClass": null, 88 "implements": [], 89 "constructor": { 90 "type": "MethodDefinition", 91 "key": { 92 "type": "Identifier", 93 "name": "constructor", 94 "decorators": [], 95 "loc": { 96 "start": { 97 "line": 1, 98 "column": 1 99 }, 100 "end": { 101 "line": 1, 102 "column": 1 103 } 104 } 105 }, 106 "kind": "constructor", 107 "static": false, 108 "optional": false, 109 "computed": false, 110 "value": { 111 "type": "FunctionExpression", 112 "function": { 113 "type": "ScriptFunction", 114 "id": null, 115 "generator": false, 116 "async": false, 117 "expression": false, 118 "params": [], 119 "body": { 120 "type": "BlockStatement", 121 "statements": [], 122 "loc": { 123 "start": { 124 "line": 1, 125 "column": 1 126 }, 127 "end": { 128 "line": 1, 129 "column": 1 130 } 131 } 132 }, 133 "loc": { 134 "start": { 135 "line": 1, 136 "column": 1 137 }, 138 "end": { 139 "line": 1, 140 "column": 1 141 } 142 } 143 }, 144 "loc": { 145 "start": { 146 "line": 1, 147 "column": 1 148 }, 149 "end": { 150 "line": 1, 151 "column": 1 152 } 153 } 154 }, 155 "overloads": [], 156 "decorators": [], 157 "loc": { 158 "start": { 159 "line": 19, 160 "column": 12 161 }, 162 "end": { 163 "line": 27, 164 "column": 2 165 } 166 } 167 }, 168 "body": [ 169 { 170 "type": "MethodDefinition", 171 "key": { 172 "type": "Identifier", 173 "name": "method", 174 "decorators": [], 175 "loc": { 176 "start": { 177 "line": 20, 178 "column": 3 179 }, 180 "end": { 181 "line": 20, 182 "column": 9 183 } 184 } 185 }, 186 "kind": "method", 187 "static": false, 188 "optional": false, 189 "computed": false, 190 "value": { 191 "type": "FunctionExpression", 192 "function": { 193 "type": "ScriptFunction", 194 "id": null, 195 "generator": false, 196 "async": false, 197 "expression": false, 198 "params": [], 199 "body": { 200 "type": "BlockStatement", 201 "statements": [ 202 { 203 "type": "ReturnStatement", 204 "argument": { 205 "type": "Identifier", 206 "name": "C", 207 "decorators": [], 208 "loc": { 209 "start": { 210 "line": 21, 211 "column": 12 212 }, 213 "end": { 214 "line": 21, 215 "column": 13 216 } 217 } 218 }, 219 "loc": { 220 "start": { 221 "line": 21, 222 "column": 5 223 }, 224 "end": { 225 "line": 21, 226 "column": 14 227 } 228 } 229 } 230 ], 231 "loc": { 232 "start": { 233 "line": 20, 234 "column": 12 235 }, 236 "end": { 237 "line": 22, 238 "column": 4 239 } 240 } 241 }, 242 "loc": { 243 "start": { 244 "line": 20, 245 "column": 9 246 }, 247 "end": { 248 "line": 22, 249 "column": 4 250 } 251 } 252 }, 253 "loc": { 254 "start": { 255 "line": 20, 256 "column": 9 257 }, 258 "end": { 259 "line": 22, 260 "column": 4 261 } 262 } 263 }, 264 "overloads": [], 265 "decorators": [], 266 "loc": { 267 "start": { 268 "line": 20, 269 "column": 3 270 }, 271 "end": { 272 "line": 22, 273 "column": 4 274 } 275 } 276 }, 277 { 278 "type": "MethodDefinition", 279 "key": { 280 "type": "Identifier", 281 "name": "staticMethod", 282 "decorators": [], 283 "loc": { 284 "start": { 285 "line": 24, 286 "column": 10 287 }, 288 "end": { 289 "line": 24, 290 "column": 22 291 } 292 } 293 }, 294 "kind": "method", 295 "static": true, 296 "optional": false, 297 "computed": false, 298 "value": { 299 "type": "FunctionExpression", 300 "function": { 301 "type": "ScriptFunction", 302 "id": null, 303 "generator": false, 304 "async": false, 305 "expression": false, 306 "params": [], 307 "body": { 308 "type": "BlockStatement", 309 "statements": [ 310 { 311 "type": "ReturnStatement", 312 "argument": { 313 "type": "Identifier", 314 "name": "C", 315 "decorators": [], 316 "loc": { 317 "start": { 318 "line": 25, 319 "column": 12 320 }, 321 "end": { 322 "line": 25, 323 "column": 13 324 } 325 } 326 }, 327 "loc": { 328 "start": { 329 "line": 25, 330 "column": 5 331 }, 332 "end": { 333 "line": 25, 334 "column": 14 335 } 336 } 337 } 338 ], 339 "loc": { 340 "start": { 341 "line": 24, 342 "column": 25 343 }, 344 "end": { 345 "line": 26, 346 "column": 4 347 } 348 } 349 }, 350 "loc": { 351 "start": { 352 "line": 24, 353 "column": 22 354 }, 355 "end": { 356 "line": 26, 357 "column": 4 358 } 359 } 360 }, 361 "loc": { 362 "start": { 363 "line": 24, 364 "column": 22 365 }, 366 "end": { 367 "line": 26, 368 "column": 4 369 } 370 } 371 }, 372 "overloads": [], 373 "decorators": [], 374 "loc": { 375 "start": { 376 "line": 24, 377 "column": 3 378 }, 379 "end": { 380 "line": 26, 381 "column": 4 382 } 383 } 384 } 385 ], 386 "indexSignatures": [], 387 "loc": { 388 "start": { 389 "line": 19, 390 "column": 20 391 }, 392 "end": { 393 "line": 27, 394 "column": 2 395 } 396 } 397 }, 398 "loc": { 399 "start": { 400 "line": 19, 401 "column": 12 402 }, 403 "end": { 404 "line": 27, 405 "column": 2 406 } 407 } 408 }, 409 "loc": { 410 "start": { 411 "line": 19, 412 "column": 5 413 }, 414 "end": { 415 "line": 27, 416 "column": 2 417 } 418 } 419 } 420 ], 421 "kind": "var", 422 "loc": { 423 "start": { 424 "line": 19, 425 "column": 1 426 }, 427 "end": { 428 "line": 27, 429 "column": 3 430 } 431 } 432 }, 433 { 434 "type": "VariableDeclaration", 435 "declarations": [ 436 { 437 "type": "VariableDeclarator", 438 "id": { 439 "type": "Identifier", 440 "name": "cls2", 441 "decorators": [], 442 "loc": { 443 "start": { 444 "line": 29, 445 "column": 5 446 }, 447 "end": { 448 "line": 29, 449 "column": 9 450 } 451 } 452 }, 453 "init": { 454 "type": "ClassExpression", 455 "definition": { 456 "id": null, 457 "superClass": null, 458 "implements": [], 459 "constructor": { 460 "type": "MethodDefinition", 461 "key": { 462 "type": "Identifier", 463 "name": "constructor", 464 "decorators": [], 465 "loc": { 466 "start": { 467 "line": 1, 468 "column": 1 469 }, 470 "end": { 471 "line": 1, 472 "column": 1 473 } 474 } 475 }, 476 "kind": "constructor", 477 "static": false, 478 "optional": false, 479 "computed": false, 480 "value": { 481 "type": "FunctionExpression", 482 "function": { 483 "type": "ScriptFunction", 484 "id": null, 485 "generator": false, 486 "async": false, 487 "expression": false, 488 "params": [], 489 "body": { 490 "type": "BlockStatement", 491 "statements": [], 492 "loc": { 493 "start": { 494 "line": 1, 495 "column": 1 496 }, 497 "end": { 498 "line": 1, 499 "column": 1 500 } 501 } 502 }, 503 "loc": { 504 "start": { 505 "line": 1, 506 "column": 1 507 }, 508 "end": { 509 "line": 1, 510 "column": 1 511 } 512 } 513 }, 514 "loc": { 515 "start": { 516 "line": 1, 517 "column": 1 518 }, 519 "end": { 520 "line": 1, 521 "column": 1 522 } 523 } 524 }, 525 "overloads": [], 526 "decorators": [], 527 "loc": { 528 "start": { 529 "line": 29, 530 "column": 12 531 }, 532 "end": { 533 "line": 32, 534 "column": 2 535 } 536 } 537 }, 538 "body": [ 539 { 540 "type": "MethodDefinition", 541 "key": { 542 "type": "Identifier", 543 "name": "method", 544 "decorators": [], 545 "loc": { 546 "start": { 547 "line": 30, 548 "column": 3 549 }, 550 "end": { 551 "line": 30, 552 "column": 9 553 } 554 } 555 }, 556 "kind": "method", 557 "static": false, 558 "optional": false, 559 "computed": false, 560 "value": { 561 "type": "FunctionExpression", 562 "function": { 563 "type": "ScriptFunction", 564 "id": null, 565 "generator": false, 566 "async": false, 567 "expression": false, 568 "params": [], 569 "body": { 570 "type": "BlockStatement", 571 "statements": [], 572 "loc": { 573 "start": { 574 "line": 30, 575 "column": 12 576 }, 577 "end": { 578 "line": 30, 579 "column": 15 580 } 581 } 582 }, 583 "loc": { 584 "start": { 585 "line": 30, 586 "column": 9 587 }, 588 "end": { 589 "line": 30, 590 "column": 15 591 } 592 } 593 }, 594 "loc": { 595 "start": { 596 "line": 30, 597 "column": 9 598 }, 599 "end": { 600 "line": 30, 601 "column": 15 602 } 603 } 604 }, 605 "overloads": [], 606 "decorators": [], 607 "loc": { 608 "start": { 609 "line": 30, 610 "column": 3 611 }, 612 "end": { 613 "line": 30, 614 "column": 15 615 } 616 } 617 }, 618 { 619 "type": "MethodDefinition", 620 "key": { 621 "type": "Identifier", 622 "name": "staticMethod", 623 "decorators": [], 624 "loc": { 625 "start": { 626 "line": 31, 627 "column": 10 628 }, 629 "end": { 630 "line": 31, 631 "column": 22 632 } 633 } 634 }, 635 "kind": "method", 636 "static": true, 637 "optional": false, 638 "computed": false, 639 "value": { 640 "type": "FunctionExpression", 641 "function": { 642 "type": "ScriptFunction", 643 "id": null, 644 "generator": false, 645 "async": false, 646 "expression": false, 647 "params": [], 648 "body": { 649 "type": "BlockStatement", 650 "statements": [], 651 "loc": { 652 "start": { 653 "line": 31, 654 "column": 25 655 }, 656 "end": { 657 "line": 31, 658 "column": 28 659 } 660 } 661 }, 662 "loc": { 663 "start": { 664 "line": 31, 665 "column": 22 666 }, 667 "end": { 668 "line": 31, 669 "column": 28 670 } 671 } 672 }, 673 "loc": { 674 "start": { 675 "line": 31, 676 "column": 22 677 }, 678 "end": { 679 "line": 31, 680 "column": 28 681 } 682 } 683 }, 684 "overloads": [], 685 "decorators": [], 686 "loc": { 687 "start": { 688 "line": 31, 689 "column": 3 690 }, 691 "end": { 692 "line": 31, 693 "column": 28 694 } 695 } 696 } 697 ], 698 "indexSignatures": [], 699 "loc": { 700 "start": { 701 "line": 29, 702 "column": 18 703 }, 704 "end": { 705 "line": 32, 706 "column": 2 707 } 708 } 709 }, 710 "loc": { 711 "start": { 712 "line": 29, 713 "column": 12 714 }, 715 "end": { 716 "line": 32, 717 "column": 2 718 } 719 } 720 }, 721 "loc": { 722 "start": { 723 "line": 29, 724 "column": 5 725 }, 726 "end": { 727 "line": 32, 728 "column": 2 729 } 730 } 731 } 732 ], 733 "kind": "var", 734 "loc": { 735 "start": { 736 "line": 29, 737 "column": 1 738 }, 739 "end": { 740 "line": 32, 741 "column": 2 742 } 743 } 744 } 745 ], 746 "loc": { 747 "start": { 748 "line": 1, 749 "column": 1 750 }, 751 "end": { 752 "line": 33, 753 "column": 1 754 } 755 } 756} 757