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