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": 16, 14 "column": 7, 15 "program": "constructor_super_call1.ets" 16 }, 17 "end": { 18 "line": 16, 19 "column": 8, 20 "program": "constructor_super_call1.ets" 21 } 22 } 23 }, 24 "superClass": null, 25 "implements": [], 26 "body": [ 27 { 28 "type": "MethodDefinition", 29 "key": { 30 "type": "Identifier", 31 "name": "constructor", 32 "decorators": [], 33 "loc": { 34 "start": { 35 "line": 1, 36 "column": 1, 37 "program": null 38 }, 39 "end": { 40 "line": 1, 41 "column": 1, 42 "program": null 43 } 44 } 45 }, 46 "kind": "constructor", 47 "accessibility": "public", 48 "static": false, 49 "optional": false, 50 "computed": false, 51 "value": { 52 "type": "FunctionExpression", 53 "function": { 54 "type": "ScriptFunction", 55 "id": { 56 "type": "Identifier", 57 "name": "constructor", 58 "decorators": [], 59 "loc": { 60 "start": { 61 "line": 1, 62 "column": 1, 63 "program": null 64 }, 65 "end": { 66 "line": 1, 67 "column": 1, 68 "program": null 69 } 70 } 71 }, 72 "generator": false, 73 "async": false, 74 "expression": false, 75 "params": [ 76 { 77 "type": "ETSParameterExpression", 78 "name": { 79 "type": "Identifier", 80 "name": "x", 81 "typeAnnotation": { 82 "type": "ETSPrimitiveType", 83 "loc": { 84 "start": { 85 "line": 17, 86 "column": 20, 87 "program": "constructor_super_call1.ets" 88 }, 89 "end": { 90 "line": 17, 91 "column": 23, 92 "program": "constructor_super_call1.ets" 93 } 94 } 95 }, 96 "decorators": [], 97 "loc": { 98 "start": { 99 "line": 17, 100 "column": 17, 101 "program": "constructor_super_call1.ets" 102 }, 103 "end": { 104 "line": 17, 105 "column": 23, 106 "program": "constructor_super_call1.ets" 107 } 108 } 109 }, 110 "loc": { 111 "start": { 112 "line": 17, 113 "column": 17, 114 "program": "constructor_super_call1.ets" 115 }, 116 "end": { 117 "line": 17, 118 "column": 23, 119 "program": "constructor_super_call1.ets" 120 } 121 } 122 } 123 ], 124 "body": { 125 "type": "BlockStatement", 126 "statements": [], 127 "loc": { 128 "start": { 129 "line": 17, 130 "column": 25, 131 "program": "constructor_super_call1.ets" 132 }, 133 "end": { 134 "line": 17, 135 "column": 27, 136 "program": "constructor_super_call1.ets" 137 } 138 } 139 }, 140 "loc": { 141 "start": { 142 "line": 17, 143 "column": 16, 144 "program": "constructor_super_call1.ets" 145 }, 146 "end": { 147 "line": 17, 148 "column": 27, 149 "program": "constructor_super_call1.ets" 150 } 151 } 152 }, 153 "loc": { 154 "start": { 155 "line": 17, 156 "column": 16, 157 "program": "constructor_super_call1.ets" 158 }, 159 "end": { 160 "line": 17, 161 "column": 27, 162 "program": "constructor_super_call1.ets" 163 } 164 } 165 }, 166 "overloads": [], 167 "decorators": [], 168 "loc": { 169 "start": { 170 "line": 17, 171 "column": 5, 172 "program": "constructor_super_call1.ets" 173 }, 174 "end": { 175 "line": 17, 176 "column": 27, 177 "program": "constructor_super_call1.ets" 178 } 179 } 180 } 181 ], 182 "loc": { 183 "start": { 184 "line": 16, 185 "column": 9, 186 "program": "constructor_super_call1.ets" 187 }, 188 "end": { 189 "line": 20, 190 "column": 6, 191 "program": "constructor_super_call1.ets" 192 } 193 } 194 }, 195 "loc": { 196 "start": { 197 "line": 16, 198 "column": 1, 199 "program": "constructor_super_call1.ets" 200 }, 201 "end": { 202 "line": 20, 203 "column": 6, 204 "program": "constructor_super_call1.ets" 205 } 206 } 207 }, 208 { 209 "type": "ClassDeclaration", 210 "definition": { 211 "id": { 212 "type": "Identifier", 213 "name": "B", 214 "decorators": [], 215 "loc": { 216 "start": { 217 "line": 20, 218 "column": 7, 219 "program": "constructor_super_call1.ets" 220 }, 221 "end": { 222 "line": 20, 223 "column": 8, 224 "program": "constructor_super_call1.ets" 225 } 226 } 227 }, 228 "superClass": { 229 "type": "ETSTypeReference", 230 "part": { 231 "type": "ETSTypeReferencePart", 232 "name": { 233 "type": "Identifier", 234 "name": "A", 235 "decorators": [], 236 "loc": { 237 "start": { 238 "line": 20, 239 "column": 17, 240 "program": "constructor_super_call1.ets" 241 }, 242 "end": { 243 "line": 20, 244 "column": 18, 245 "program": "constructor_super_call1.ets" 246 } 247 } 248 }, 249 "loc": { 250 "start": { 251 "line": 20, 252 "column": 17, 253 "program": "constructor_super_call1.ets" 254 }, 255 "end": { 256 "line": 20, 257 "column": 20, 258 "program": "constructor_super_call1.ets" 259 } 260 } 261 }, 262 "loc": { 263 "start": { 264 "line": 20, 265 "column": 17, 266 "program": "constructor_super_call1.ets" 267 }, 268 "end": { 269 "line": 20, 270 "column": 20, 271 "program": "constructor_super_call1.ets" 272 } 273 } 274 }, 275 "implements": [], 276 "body": [ 277 { 278 "type": "MethodDefinition", 279 "key": { 280 "type": "Identifier", 281 "name": "constructor", 282 "decorators": [], 283 "loc": { 284 "start": { 285 "line": 1, 286 "column": 1, 287 "program": null 288 }, 289 "end": { 290 "line": 1, 291 "column": 1, 292 "program": null 293 } 294 } 295 }, 296 "kind": "constructor", 297 "accessibility": "public", 298 "static": false, 299 "optional": false, 300 "computed": false, 301 "value": { 302 "type": "FunctionExpression", 303 "function": { 304 "type": "ScriptFunction", 305 "id": { 306 "type": "Identifier", 307 "name": "constructor", 308 "decorators": [], 309 "loc": { 310 "start": { 311 "line": 1, 312 "column": 1, 313 "program": null 314 }, 315 "end": { 316 "line": 1, 317 "column": 1, 318 "program": null 319 } 320 } 321 }, 322 "generator": false, 323 "async": false, 324 "expression": false, 325 "params": [ 326 { 327 "type": "ETSParameterExpression", 328 "name": { 329 "type": "Identifier", 330 "name": "x", 331 "typeAnnotation": { 332 "type": "ETSPrimitiveType", 333 "loc": { 334 "start": { 335 "line": 21, 336 "column": 20, 337 "program": "constructor_super_call1.ets" 338 }, 339 "end": { 340 "line": 21, 341 "column": 23, 342 "program": "constructor_super_call1.ets" 343 } 344 } 345 }, 346 "decorators": [], 347 "loc": { 348 "start": { 349 "line": 21, 350 "column": 17, 351 "program": "constructor_super_call1.ets" 352 }, 353 "end": { 354 "line": 21, 355 "column": 23, 356 "program": "constructor_super_call1.ets" 357 } 358 } 359 }, 360 "loc": { 361 "start": { 362 "line": 21, 363 "column": 17, 364 "program": "constructor_super_call1.ets" 365 }, 366 "end": { 367 "line": 21, 368 "column": 23, 369 "program": "constructor_super_call1.ets" 370 } 371 } 372 } 373 ], 374 "body": { 375 "type": "BlockStatement", 376 "statements": [ 377 { 378 "type": "ExpressionStatement", 379 "expression": { 380 "type": "CallExpression", 381 "callee": { 382 "type": "Super", 383 "loc": { 384 "start": { 385 "line": 22, 386 "column": 9, 387 "program": "constructor_super_call1.ets" 388 }, 389 "end": { 390 "line": 22, 391 "column": 14, 392 "program": "constructor_super_call1.ets" 393 } 394 } 395 }, 396 "arguments": [ 397 { 398 "type": "Identifier", 399 "name": "x", 400 "decorators": [], 401 "loc": { 402 "start": { 403 "line": 22, 404 "column": 15, 405 "program": "constructor_super_call1.ets" 406 }, 407 "end": { 408 "line": 22, 409 "column": 16, 410 "program": "constructor_super_call1.ets" 411 } 412 } 413 } 414 ], 415 "optional": false, 416 "loc": { 417 "start": { 418 "line": 22, 419 "column": 9, 420 "program": "constructor_super_call1.ets" 421 }, 422 "end": { 423 "line": 22, 424 "column": 17, 425 "program": "constructor_super_call1.ets" 426 } 427 } 428 }, 429 "loc": { 430 "start": { 431 "line": 22, 432 "column": 9, 433 "program": "constructor_super_call1.ets" 434 }, 435 "end": { 436 "line": 22, 437 "column": 17, 438 "program": "constructor_super_call1.ets" 439 } 440 } 441 } 442 ], 443 "loc": { 444 "start": { 445 "line": 21, 446 "column": 25, 447 "program": "constructor_super_call1.ets" 448 }, 449 "end": { 450 "line": 23, 451 "column": 6, 452 "program": "constructor_super_call1.ets" 453 } 454 } 455 }, 456 "loc": { 457 "start": { 458 "line": 21, 459 "column": 16, 460 "program": "constructor_super_call1.ets" 461 }, 462 "end": { 463 "line": 23, 464 "column": 6, 465 "program": "constructor_super_call1.ets" 466 } 467 } 468 }, 469 "loc": { 470 "start": { 471 "line": 21, 472 "column": 16, 473 "program": "constructor_super_call1.ets" 474 }, 475 "end": { 476 "line": 23, 477 "column": 6, 478 "program": "constructor_super_call1.ets" 479 } 480 } 481 }, 482 "overloads": [ 483 { 484 "type": "MethodDefinition", 485 "key": { 486 "type": "Identifier", 487 "name": "constructor", 488 "decorators": [], 489 "loc": { 490 "start": { 491 "line": 1, 492 "column": 1, 493 "program": null 494 }, 495 "end": { 496 "line": 1, 497 "column": 1, 498 "program": null 499 } 500 } 501 }, 502 "kind": "constructor", 503 "accessibility": "public", 504 "static": false, 505 "optional": false, 506 "computed": false, 507 "value": { 508 "type": "FunctionExpression", 509 "function": { 510 "type": "ScriptFunction", 511 "id": { 512 "type": "Identifier", 513 "name": "constructor", 514 "decorators": [], 515 "loc": { 516 "start": { 517 "line": 1, 518 "column": 1, 519 "program": null 520 }, 521 "end": { 522 "line": 1, 523 "column": 1, 524 "program": null 525 } 526 } 527 }, 528 "generator": false, 529 "async": false, 530 "expression": false, 531 "params": [], 532 "body": { 533 "type": "BlockStatement", 534 "statements": [ 535 { 536 "type": "ExpressionStatement", 537 "expression": { 538 "type": "CallExpression", 539 "callee": { 540 "type": "ThisExpression", 541 "loc": { 542 "start": { 543 "line": 25, 544 "column": 9, 545 "program": "constructor_super_call1.ets" 546 }, 547 "end": { 548 "line": 25, 549 "column": 13, 550 "program": "constructor_super_call1.ets" 551 } 552 } 553 }, 554 "arguments": [ 555 { 556 "type": "NumberLiteral", 557 "value": 0, 558 "loc": { 559 "start": { 560 "line": 25, 561 "column": 14, 562 "program": "constructor_super_call1.ets" 563 }, 564 "end": { 565 "line": 25, 566 "column": 15, 567 "program": "constructor_super_call1.ets" 568 } 569 } 570 } 571 ], 572 "optional": false, 573 "loc": { 574 "start": { 575 "line": 25, 576 "column": 9, 577 "program": "constructor_super_call1.ets" 578 }, 579 "end": { 580 "line": 25, 581 "column": 16, 582 "program": "constructor_super_call1.ets" 583 } 584 } 585 }, 586 "loc": { 587 "start": { 588 "line": 25, 589 "column": 9, 590 "program": "constructor_super_call1.ets" 591 }, 592 "end": { 593 "line": 25, 594 "column": 16, 595 "program": "constructor_super_call1.ets" 596 } 597 } 598 } 599 ], 600 "loc": { 601 "start": { 602 "line": 24, 603 "column": 19, 604 "program": "constructor_super_call1.ets" 605 }, 606 "end": { 607 "line": 26, 608 "column": 6, 609 "program": "constructor_super_call1.ets" 610 } 611 } 612 }, 613 "loc": { 614 "start": { 615 "line": 24, 616 "column": 16, 617 "program": "constructor_super_call1.ets" 618 }, 619 "end": { 620 "line": 26, 621 "column": 6, 622 "program": "constructor_super_call1.ets" 623 } 624 } 625 }, 626 "loc": { 627 "start": { 628 "line": 24, 629 "column": 16, 630 "program": "constructor_super_call1.ets" 631 }, 632 "end": { 633 "line": 26, 634 "column": 6, 635 "program": "constructor_super_call1.ets" 636 } 637 } 638 }, 639 "overloads": [], 640 "decorators": [], 641 "loc": { 642 "start": { 643 "line": 24, 644 "column": 5, 645 "program": "constructor_super_call1.ets" 646 }, 647 "end": { 648 "line": 26, 649 "column": 6, 650 "program": "constructor_super_call1.ets" 651 } 652 } 653 } 654 ], 655 "decorators": [], 656 "loc": { 657 "start": { 658 "line": 21, 659 "column": 5, 660 "program": "constructor_super_call1.ets" 661 }, 662 "end": { 663 "line": 23, 664 "column": 6, 665 "program": "constructor_super_call1.ets" 666 } 667 } 668 } 669 ], 670 "loc": { 671 "start": { 672 "line": 20, 673 "column": 19, 674 "program": "constructor_super_call1.ets" 675 }, 676 "end": { 677 "line": 28, 678 "column": 1, 679 "program": "constructor_super_call1.ets" 680 } 681 } 682 }, 683 "loc": { 684 "start": { 685 "line": 20, 686 "column": 1, 687 "program": "constructor_super_call1.ets" 688 }, 689 "end": { 690 "line": 28, 691 "column": 1, 692 "program": "constructor_super_call1.ets" 693 } 694 } 695 }, 696 { 697 "type": "ClassDeclaration", 698 "definition": { 699 "id": { 700 "type": "Identifier", 701 "name": "ETSGLOBAL", 702 "decorators": [], 703 "loc": { 704 "start": { 705 "line": 1, 706 "column": 1, 707 "program": "constructor_super_call1.ets" 708 }, 709 "end": { 710 "line": 1, 711 "column": 1, 712 "program": "constructor_super_call1.ets" 713 } 714 } 715 }, 716 "superClass": null, 717 "implements": [], 718 "body": [ 719 { 720 "type": "MethodDefinition", 721 "key": { 722 "type": "Identifier", 723 "name": "main", 724 "decorators": [], 725 "loc": { 726 "start": { 727 "line": 1, 728 "column": 1, 729 "program": null 730 }, 731 "end": { 732 "line": 1, 733 "column": 1, 734 "program": null 735 } 736 } 737 }, 738 "kind": "method", 739 "accessibility": "public", 740 "static": true, 741 "optional": false, 742 "computed": false, 743 "value": { 744 "type": "FunctionExpression", 745 "function": { 746 "type": "ScriptFunction", 747 "id": { 748 "type": "Identifier", 749 "name": "main", 750 "decorators": [], 751 "loc": { 752 "start": { 753 "line": 1, 754 "column": 1, 755 "program": null 756 }, 757 "end": { 758 "line": 1, 759 "column": 1, 760 "program": null 761 } 762 } 763 }, 764 "generator": false, 765 "async": false, 766 "expression": false, 767 "params": [], 768 "body": { 769 "type": "BlockStatement", 770 "statements": [], 771 "loc": { 772 "start": { 773 "line": 1, 774 "column": 1, 775 "program": null 776 }, 777 "end": { 778 "line": 1, 779 "column": 1, 780 "program": null 781 } 782 } 783 }, 784 "loc": { 785 "start": { 786 "line": 1, 787 "column": 1, 788 "program": null 789 }, 790 "end": { 791 "line": 1, 792 "column": 1, 793 "program": null 794 } 795 } 796 }, 797 "loc": { 798 "start": { 799 "line": 1, 800 "column": 1, 801 "program": null 802 }, 803 "end": { 804 "line": 1, 805 "column": 1, 806 "program": null 807 } 808 } 809 }, 810 "overloads": [], 811 "decorators": [], 812 "loc": { 813 "start": { 814 "line": 1, 815 "column": 1, 816 "program": "constructor_super_call1.ets" 817 }, 818 "end": { 819 "line": 1, 820 "column": 1, 821 "program": "constructor_super_call1.ets" 822 } 823 } 824 }, 825 { 826 "type": "MethodDefinition", 827 "key": { 828 "type": "Identifier", 829 "name": "_$init$_", 830 "decorators": [], 831 "loc": { 832 "start": { 833 "line": 1, 834 "column": 1, 835 "program": null 836 }, 837 "end": { 838 "line": 1, 839 "column": 1, 840 "program": null 841 } 842 } 843 }, 844 "kind": "method", 845 "accessibility": "public", 846 "static": true, 847 "optional": false, 848 "computed": false, 849 "value": { 850 "type": "FunctionExpression", 851 "function": { 852 "type": "ScriptFunction", 853 "id": { 854 "type": "Identifier", 855 "name": "_$init$_", 856 "decorators": [], 857 "loc": { 858 "start": { 859 "line": 1, 860 "column": 1, 861 "program": null 862 }, 863 "end": { 864 "line": 1, 865 "column": 1, 866 "program": null 867 } 868 } 869 }, 870 "generator": false, 871 "async": false, 872 "expression": false, 873 "params": [], 874 "body": { 875 "type": "BlockStatement", 876 "statements": [], 877 "loc": { 878 "start": { 879 "line": 1, 880 "column": 1, 881 "program": null 882 }, 883 "end": { 884 "line": 1, 885 "column": 1, 886 "program": null 887 } 888 } 889 }, 890 "loc": { 891 "start": { 892 "line": 1, 893 "column": 1, 894 "program": null 895 }, 896 "end": { 897 "line": 1, 898 "column": 1, 899 "program": null 900 } 901 } 902 }, 903 "loc": { 904 "start": { 905 "line": 1, 906 "column": 1, 907 "program": null 908 }, 909 "end": { 910 "line": 1, 911 "column": 1, 912 "program": null 913 } 914 } 915 }, 916 "overloads": [], 917 "decorators": [], 918 "loc": { 919 "start": { 920 "line": 1, 921 "column": 1, 922 "program": "constructor_super_call1.ets" 923 }, 924 "end": { 925 "line": 1, 926 "column": 1, 927 "program": "constructor_super_call1.ets" 928 } 929 } 930 } 931 ], 932 "loc": { 933 "start": { 934 "line": 1, 935 "column": 1, 936 "program": "constructor_super_call1.ets" 937 }, 938 "end": { 939 "line": 1, 940 "column": 1, 941 "program": "constructor_super_call1.ets" 942 } 943 } 944 }, 945 "loc": { 946 "start": { 947 "line": 1, 948 "column": 1, 949 "program": "constructor_super_call1.ets" 950 }, 951 "end": { 952 "line": 1, 953 "column": 1, 954 "program": "constructor_super_call1.ets" 955 } 956 } 957 } 958 ], 959 "loc": { 960 "start": { 961 "line": 1, 962 "column": 1, 963 "program": "constructor_super_call1.ets" 964 }, 965 "end": { 966 "line": 28, 967 "column": 1, 968 "program": "constructor_super_call1.ets" 969 } 970 } 971} 972