1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "ETSGLOBAL", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 1, 14 "column": 1, 15 "program": "decl_infer.ets" 16 }, 17 "end": { 18 "line": 1, 19 "column": 1, 20 "program": "decl_infer.ets" 21 } 22 } 23 }, 24 "superClass": null, 25 "implements": [], 26 "body": [ 27 { 28 "type": "MethodDefinition", 29 "key": { 30 "type": "Identifier", 31 "name": "main", 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": "method", 47 "accessibility": "public", 48 "static": true, 49 "optional": false, 50 "computed": false, 51 "value": { 52 "type": "FunctionExpression", 53 "function": { 54 "type": "ScriptFunction", 55 "id": { 56 "type": "Identifier", 57 "name": "main", 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 "body": { 77 "type": "BlockStatement", 78 "statements": [], 79 "loc": { 80 "start": { 81 "line": 1, 82 "column": 1, 83 "program": null 84 }, 85 "end": { 86 "line": 1, 87 "column": 1, 88 "program": null 89 } 90 } 91 }, 92 "loc": { 93 "start": { 94 "line": 1, 95 "column": 1, 96 "program": null 97 }, 98 "end": { 99 "line": 1, 100 "column": 1, 101 "program": null 102 } 103 } 104 }, 105 "loc": { 106 "start": { 107 "line": 1, 108 "column": 1, 109 "program": null 110 }, 111 "end": { 112 "line": 1, 113 "column": 1, 114 "program": null 115 } 116 } 117 }, 118 "overloads": [], 119 "decorators": [], 120 "loc": { 121 "start": { 122 "line": 1, 123 "column": 1, 124 "program": "decl_infer.ets" 125 }, 126 "end": { 127 "line": 1, 128 "column": 1, 129 "program": "decl_infer.ets" 130 } 131 } 132 }, 133 { 134 "type": "MethodDefinition", 135 "key": { 136 "type": "Identifier", 137 "name": "_$init$_", 138 "decorators": [], 139 "loc": { 140 "start": { 141 "line": 1, 142 "column": 1, 143 "program": null 144 }, 145 "end": { 146 "line": 1, 147 "column": 1, 148 "program": null 149 } 150 } 151 }, 152 "kind": "method", 153 "accessibility": "public", 154 "static": true, 155 "optional": false, 156 "computed": false, 157 "value": { 158 "type": "FunctionExpression", 159 "function": { 160 "type": "ScriptFunction", 161 "id": { 162 "type": "Identifier", 163 "name": "_$init$_", 164 "decorators": [], 165 "loc": { 166 "start": { 167 "line": 1, 168 "column": 1, 169 "program": null 170 }, 171 "end": { 172 "line": 1, 173 "column": 1, 174 "program": null 175 } 176 } 177 }, 178 "generator": false, 179 "async": false, 180 "expression": false, 181 "params": [], 182 "body": { 183 "type": "BlockStatement", 184 "statements": [ 185 { 186 "type": "ExpressionStatement", 187 "expression": { 188 "type": "AssignmentExpression", 189 "operator": "=", 190 "left": { 191 "type": "Identifier", 192 "name": "li", 193 "decorators": [], 194 "loc": { 195 "start": { 196 "line": 16, 197 "column": 5, 198 "program": "decl_infer.ets" 199 }, 200 "end": { 201 "line": 16, 202 "column": 7, 203 "program": "decl_infer.ets" 204 } 205 } 206 }, 207 "right": { 208 "type": "NumberLiteral", 209 "value": 0, 210 "loc": { 211 "start": { 212 "line": 16, 213 "column": 10, 214 "program": "decl_infer.ets" 215 }, 216 "end": { 217 "line": 16, 218 "column": 11, 219 "program": "decl_infer.ets" 220 } 221 } 222 }, 223 "loc": { 224 "start": { 225 "line": 16, 226 "column": 5, 227 "program": "decl_infer.ets" 228 }, 229 "end": { 230 "line": 16, 231 "column": 11, 232 "program": "decl_infer.ets" 233 } 234 } 235 }, 236 "loc": { 237 "start": { 238 "line": 16, 239 "column": 5, 240 "program": "decl_infer.ets" 241 }, 242 "end": { 243 "line": 16, 244 "column": 11, 245 "program": "decl_infer.ets" 246 } 247 } 248 }, 249 { 250 "type": "ExpressionStatement", 251 "expression": { 252 "type": "AssignmentExpression", 253 "operator": "=", 254 "left": { 255 "type": "Identifier", 256 "name": "ld", 257 "decorators": [], 258 "loc": { 259 "start": { 260 "line": 17, 261 "column": 5, 262 "program": "decl_infer.ets" 263 }, 264 "end": { 265 "line": 17, 266 "column": 7, 267 "program": "decl_infer.ets" 268 } 269 } 270 }, 271 "right": { 272 "type": "NumberLiteral", 273 "value": 0, 274 "loc": { 275 "start": { 276 "line": 17, 277 "column": 10, 278 "program": "decl_infer.ets" 279 }, 280 "end": { 281 "line": 17, 282 "column": 13, 283 "program": "decl_infer.ets" 284 } 285 } 286 }, 287 "loc": { 288 "start": { 289 "line": 17, 290 "column": 5, 291 "program": "decl_infer.ets" 292 }, 293 "end": { 294 "line": 17, 295 "column": 13, 296 "program": "decl_infer.ets" 297 } 298 } 299 }, 300 "loc": { 301 "start": { 302 "line": 17, 303 "column": 5, 304 "program": "decl_infer.ets" 305 }, 306 "end": { 307 "line": 17, 308 "column": 13, 309 "program": "decl_infer.ets" 310 } 311 } 312 }, 313 { 314 "type": "ExpressionStatement", 315 "expression": { 316 "type": "AssignmentExpression", 317 "operator": "=", 318 "left": { 319 "type": "Identifier", 320 "name": "lc", 321 "decorators": [], 322 "loc": { 323 "start": { 324 "line": 18, 325 "column": 5, 326 "program": "decl_infer.ets" 327 }, 328 "end": { 329 "line": 18, 330 "column": 7, 331 "program": "decl_infer.ets" 332 } 333 } 334 }, 335 "right": { 336 "type": "CharLiteral", 337 "value": "a", 338 "loc": { 339 "start": { 340 "line": 18, 341 "column": 10, 342 "program": "decl_infer.ets" 343 }, 344 "end": { 345 "line": 18, 346 "column": 14, 347 "program": "decl_infer.ets" 348 } 349 } 350 }, 351 "loc": { 352 "start": { 353 "line": 18, 354 "column": 5, 355 "program": "decl_infer.ets" 356 }, 357 "end": { 358 "line": 18, 359 "column": 14, 360 "program": "decl_infer.ets" 361 } 362 } 363 }, 364 "loc": { 365 "start": { 366 "line": 18, 367 "column": 5, 368 "program": "decl_infer.ets" 369 }, 370 "end": { 371 "line": 18, 372 "column": 14, 373 "program": "decl_infer.ets" 374 } 375 } 376 }, 377 { 378 "type": "ExpressionStatement", 379 "expression": { 380 "type": "AssignmentExpression", 381 "operator": "=", 382 "left": { 383 "type": "Identifier", 384 "name": "ls", 385 "decorators": [], 386 "loc": { 387 "start": { 388 "line": 19, 389 "column": 5, 390 "program": "decl_infer.ets" 391 }, 392 "end": { 393 "line": 19, 394 "column": 7, 395 "program": "decl_infer.ets" 396 } 397 } 398 }, 399 "right": { 400 "type": "StringLiteral", 401 "value": "11", 402 "loc": { 403 "start": { 404 "line": 19, 405 "column": 10, 406 "program": "decl_infer.ets" 407 }, 408 "end": { 409 "line": 19, 410 "column": 14, 411 "program": "decl_infer.ets" 412 } 413 } 414 }, 415 "loc": { 416 "start": { 417 "line": 19, 418 "column": 5, 419 "program": "decl_infer.ets" 420 }, 421 "end": { 422 "line": 19, 423 "column": 14, 424 "program": "decl_infer.ets" 425 } 426 } 427 }, 428 "loc": { 429 "start": { 430 "line": 19, 431 "column": 5, 432 "program": "decl_infer.ets" 433 }, 434 "end": { 435 "line": 19, 436 "column": 14, 437 "program": "decl_infer.ets" 438 } 439 } 440 }, 441 { 442 "type": "ExpressionStatement", 443 "expression": { 444 "type": "AssignmentExpression", 445 "operator": "=", 446 "left": { 447 "type": "Identifier", 448 "name": "lb", 449 "decorators": [], 450 "loc": { 451 "start": { 452 "line": 20, 453 "column": 5, 454 "program": "decl_infer.ets" 455 }, 456 "end": { 457 "line": 20, 458 "column": 7, 459 "program": "decl_infer.ets" 460 } 461 } 462 }, 463 "right": { 464 "type": "BooleanLiteral", 465 "value": false, 466 "loc": { 467 "start": { 468 "line": 20, 469 "column": 10, 470 "program": "decl_infer.ets" 471 }, 472 "end": { 473 "line": 20, 474 "column": 15, 475 "program": "decl_infer.ets" 476 } 477 } 478 }, 479 "loc": { 480 "start": { 481 "line": 20, 482 "column": 5, 483 "program": "decl_infer.ets" 484 }, 485 "end": { 486 "line": 20, 487 "column": 15, 488 "program": "decl_infer.ets" 489 } 490 } 491 }, 492 "loc": { 493 "start": { 494 "line": 20, 495 "column": 5, 496 "program": "decl_infer.ets" 497 }, 498 "end": { 499 "line": 20, 500 "column": 15, 501 "program": "decl_infer.ets" 502 } 503 } 504 } 505 ], 506 "loc": { 507 "start": { 508 "line": 1, 509 "column": 1, 510 "program": null 511 }, 512 "end": { 513 "line": 1, 514 "column": 1, 515 "program": null 516 } 517 } 518 }, 519 "loc": { 520 "start": { 521 "line": 1, 522 "column": 1, 523 "program": null 524 }, 525 "end": { 526 "line": 1, 527 "column": 1, 528 "program": null 529 } 530 } 531 }, 532 "loc": { 533 "start": { 534 "line": 1, 535 "column": 1, 536 "program": null 537 }, 538 "end": { 539 "line": 1, 540 "column": 1, 541 "program": null 542 } 543 } 544 }, 545 "overloads": [], 546 "decorators": [], 547 "loc": { 548 "start": { 549 "line": 1, 550 "column": 1, 551 "program": "decl_infer.ets" 552 }, 553 "end": { 554 "line": 1, 555 "column": 1, 556 "program": "decl_infer.ets" 557 } 558 } 559 }, 560 { 561 "type": "ClassProperty", 562 "key": { 563 "type": "Identifier", 564 "name": "li", 565 "decorators": [], 566 "loc": { 567 "start": { 568 "line": 16, 569 "column": 5, 570 "program": "decl_infer.ets" 571 }, 572 "end": { 573 "line": 16, 574 "column": 7, 575 "program": "decl_infer.ets" 576 } 577 } 578 }, 579 "value": { 580 "type": "NumberLiteral", 581 "value": 0, 582 "loc": { 583 "start": { 584 "line": 16, 585 "column": 10, 586 "program": "decl_infer.ets" 587 }, 588 "end": { 589 "line": 16, 590 "column": 11, 591 "program": "decl_infer.ets" 592 } 593 } 594 }, 595 "accessibility": "public", 596 "static": true, 597 "readonly": false, 598 "declare": false, 599 "optional": false, 600 "computed": false, 601 "definite": false, 602 "decorators": [], 603 "loc": { 604 "start": { 605 "line": 16, 606 "column": 5, 607 "program": "decl_infer.ets" 608 }, 609 "end": { 610 "line": 16, 611 "column": 11, 612 "program": "decl_infer.ets" 613 } 614 } 615 }, 616 { 617 "type": "ClassProperty", 618 "key": { 619 "type": "Identifier", 620 "name": "ld", 621 "decorators": [], 622 "loc": { 623 "start": { 624 "line": 17, 625 "column": 5, 626 "program": "decl_infer.ets" 627 }, 628 "end": { 629 "line": 17, 630 "column": 7, 631 "program": "decl_infer.ets" 632 } 633 } 634 }, 635 "value": { 636 "type": "NumberLiteral", 637 "value": 0, 638 "loc": { 639 "start": { 640 "line": 17, 641 "column": 10, 642 "program": "decl_infer.ets" 643 }, 644 "end": { 645 "line": 17, 646 "column": 13, 647 "program": "decl_infer.ets" 648 } 649 } 650 }, 651 "accessibility": "public", 652 "static": true, 653 "readonly": false, 654 "declare": false, 655 "optional": false, 656 "computed": false, 657 "definite": false, 658 "decorators": [], 659 "loc": { 660 "start": { 661 "line": 17, 662 "column": 5, 663 "program": "decl_infer.ets" 664 }, 665 "end": { 666 "line": 17, 667 "column": 13, 668 "program": "decl_infer.ets" 669 } 670 } 671 }, 672 { 673 "type": "ClassProperty", 674 "key": { 675 "type": "Identifier", 676 "name": "lc", 677 "decorators": [], 678 "loc": { 679 "start": { 680 "line": 18, 681 "column": 5, 682 "program": "decl_infer.ets" 683 }, 684 "end": { 685 "line": 18, 686 "column": 7, 687 "program": "decl_infer.ets" 688 } 689 } 690 }, 691 "value": { 692 "type": "CharLiteral", 693 "value": "a", 694 "loc": { 695 "start": { 696 "line": 18, 697 "column": 10, 698 "program": "decl_infer.ets" 699 }, 700 "end": { 701 "line": 18, 702 "column": 14, 703 "program": "decl_infer.ets" 704 } 705 } 706 }, 707 "accessibility": "public", 708 "static": true, 709 "readonly": false, 710 "declare": false, 711 "optional": false, 712 "computed": false, 713 "definite": false, 714 "decorators": [], 715 "loc": { 716 "start": { 717 "line": 18, 718 "column": 5, 719 "program": "decl_infer.ets" 720 }, 721 "end": { 722 "line": 18, 723 "column": 14, 724 "program": "decl_infer.ets" 725 } 726 } 727 }, 728 { 729 "type": "ClassProperty", 730 "key": { 731 "type": "Identifier", 732 "name": "ls", 733 "decorators": [], 734 "loc": { 735 "start": { 736 "line": 19, 737 "column": 5, 738 "program": "decl_infer.ets" 739 }, 740 "end": { 741 "line": 19, 742 "column": 7, 743 "program": "decl_infer.ets" 744 } 745 } 746 }, 747 "value": { 748 "type": "StringLiteral", 749 "value": "11", 750 "loc": { 751 "start": { 752 "line": 19, 753 "column": 10, 754 "program": "decl_infer.ets" 755 }, 756 "end": { 757 "line": 19, 758 "column": 14, 759 "program": "decl_infer.ets" 760 } 761 } 762 }, 763 "accessibility": "public", 764 "static": true, 765 "readonly": false, 766 "declare": false, 767 "optional": false, 768 "computed": false, 769 "definite": false, 770 "decorators": [], 771 "loc": { 772 "start": { 773 "line": 19, 774 "column": 5, 775 "program": "decl_infer.ets" 776 }, 777 "end": { 778 "line": 19, 779 "column": 14, 780 "program": "decl_infer.ets" 781 } 782 } 783 }, 784 { 785 "type": "ClassProperty", 786 "key": { 787 "type": "Identifier", 788 "name": "lb", 789 "decorators": [], 790 "loc": { 791 "start": { 792 "line": 20, 793 "column": 5, 794 "program": "decl_infer.ets" 795 }, 796 "end": { 797 "line": 20, 798 "column": 7, 799 "program": "decl_infer.ets" 800 } 801 } 802 }, 803 "value": { 804 "type": "BooleanLiteral", 805 "value": false, 806 "loc": { 807 "start": { 808 "line": 20, 809 "column": 10, 810 "program": "decl_infer.ets" 811 }, 812 "end": { 813 "line": 20, 814 "column": 15, 815 "program": "decl_infer.ets" 816 } 817 } 818 }, 819 "accessibility": "public", 820 "static": true, 821 "readonly": false, 822 "declare": false, 823 "optional": false, 824 "computed": false, 825 "definite": false, 826 "decorators": [], 827 "loc": { 828 "start": { 829 "line": 20, 830 "column": 5, 831 "program": "decl_infer.ets" 832 }, 833 "end": { 834 "line": 20, 835 "column": 15, 836 "program": "decl_infer.ets" 837 } 838 } 839 }, 840 { 841 "type": "ClassProperty", 842 "key": { 843 "type": "Identifier", 844 "name": "ci", 845 "decorators": [], 846 "loc": { 847 "start": { 848 "line": 22, 849 "column": 7, 850 "program": "decl_infer.ets" 851 }, 852 "end": { 853 "line": 22, 854 "column": 9, 855 "program": "decl_infer.ets" 856 } 857 } 858 }, 859 "value": { 860 "type": "NumberLiteral", 861 "value": 0, 862 "loc": { 863 "start": { 864 "line": 22, 865 "column": 12, 866 "program": "decl_infer.ets" 867 }, 868 "end": { 869 "line": 22, 870 "column": 13, 871 "program": "decl_infer.ets" 872 } 873 } 874 }, 875 "accessibility": "public", 876 "static": true, 877 "readonly": false, 878 "declare": false, 879 "optional": false, 880 "computed": false, 881 "definite": false, 882 "decorators": [], 883 "loc": { 884 "start": { 885 "line": 22, 886 "column": 7, 887 "program": "decl_infer.ets" 888 }, 889 "end": { 890 "line": 22, 891 "column": 13, 892 "program": "decl_infer.ets" 893 } 894 } 895 }, 896 { 897 "type": "ClassProperty", 898 "key": { 899 "type": "Identifier", 900 "name": "cd", 901 "decorators": [], 902 "loc": { 903 "start": { 904 "line": 23, 905 "column": 7, 906 "program": "decl_infer.ets" 907 }, 908 "end": { 909 "line": 23, 910 "column": 9, 911 "program": "decl_infer.ets" 912 } 913 } 914 }, 915 "value": { 916 "type": "NumberLiteral", 917 "value": 0, 918 "loc": { 919 "start": { 920 "line": 23, 921 "column": 12, 922 "program": "decl_infer.ets" 923 }, 924 "end": { 925 "line": 23, 926 "column": 15, 927 "program": "decl_infer.ets" 928 } 929 } 930 }, 931 "accessibility": "public", 932 "static": true, 933 "readonly": false, 934 "declare": false, 935 "optional": false, 936 "computed": false, 937 "definite": false, 938 "decorators": [], 939 "loc": { 940 "start": { 941 "line": 23, 942 "column": 7, 943 "program": "decl_infer.ets" 944 }, 945 "end": { 946 "line": 23, 947 "column": 15, 948 "program": "decl_infer.ets" 949 } 950 } 951 }, 952 { 953 "type": "ClassProperty", 954 "key": { 955 "type": "Identifier", 956 "name": "cc", 957 "decorators": [], 958 "loc": { 959 "start": { 960 "line": 24, 961 "column": 7, 962 "program": "decl_infer.ets" 963 }, 964 "end": { 965 "line": 24, 966 "column": 9, 967 "program": "decl_infer.ets" 968 } 969 } 970 }, 971 "value": { 972 "type": "CharLiteral", 973 "value": "a", 974 "loc": { 975 "start": { 976 "line": 24, 977 "column": 12, 978 "program": "decl_infer.ets" 979 }, 980 "end": { 981 "line": 24, 982 "column": 16, 983 "program": "decl_infer.ets" 984 } 985 } 986 }, 987 "accessibility": "public", 988 "static": true, 989 "readonly": false, 990 "declare": false, 991 "optional": false, 992 "computed": false, 993 "definite": false, 994 "decorators": [], 995 "loc": { 996 "start": { 997 "line": 24, 998 "column": 7, 999 "program": "decl_infer.ets" 1000 }, 1001 "end": { 1002 "line": 24, 1003 "column": 16, 1004 "program": "decl_infer.ets" 1005 } 1006 } 1007 }, 1008 { 1009 "type": "ClassProperty", 1010 "key": { 1011 "type": "Identifier", 1012 "name": "cs", 1013 "decorators": [], 1014 "loc": { 1015 "start": { 1016 "line": 25, 1017 "column": 7, 1018 "program": "decl_infer.ets" 1019 }, 1020 "end": { 1021 "line": 25, 1022 "column": 9, 1023 "program": "decl_infer.ets" 1024 } 1025 } 1026 }, 1027 "value": { 1028 "type": "StringLiteral", 1029 "value": "11", 1030 "loc": { 1031 "start": { 1032 "line": 25, 1033 "column": 12, 1034 "program": "decl_infer.ets" 1035 }, 1036 "end": { 1037 "line": 25, 1038 "column": 16, 1039 "program": "decl_infer.ets" 1040 } 1041 } 1042 }, 1043 "accessibility": "public", 1044 "static": true, 1045 "readonly": false, 1046 "declare": false, 1047 "optional": false, 1048 "computed": false, 1049 "definite": false, 1050 "decorators": [], 1051 "loc": { 1052 "start": { 1053 "line": 25, 1054 "column": 7, 1055 "program": "decl_infer.ets" 1056 }, 1057 "end": { 1058 "line": 25, 1059 "column": 16, 1060 "program": "decl_infer.ets" 1061 } 1062 } 1063 }, 1064 { 1065 "type": "ClassProperty", 1066 "key": { 1067 "type": "Identifier", 1068 "name": "cb", 1069 "decorators": [], 1070 "loc": { 1071 "start": { 1072 "line": 26, 1073 "column": 7, 1074 "program": "decl_infer.ets" 1075 }, 1076 "end": { 1077 "line": 26, 1078 "column": 9, 1079 "program": "decl_infer.ets" 1080 } 1081 } 1082 }, 1083 "value": { 1084 "type": "BooleanLiteral", 1085 "value": false, 1086 "loc": { 1087 "start": { 1088 "line": 26, 1089 "column": 12, 1090 "program": "decl_infer.ets" 1091 }, 1092 "end": { 1093 "line": 26, 1094 "column": 17, 1095 "program": "decl_infer.ets" 1096 } 1097 } 1098 }, 1099 "accessibility": "public", 1100 "static": true, 1101 "readonly": false, 1102 "declare": false, 1103 "optional": false, 1104 "computed": false, 1105 "definite": false, 1106 "decorators": [], 1107 "loc": { 1108 "start": { 1109 "line": 26, 1110 "column": 7, 1111 "program": "decl_infer.ets" 1112 }, 1113 "end": { 1114 "line": 26, 1115 "column": 17, 1116 "program": "decl_infer.ets" 1117 } 1118 } 1119 } 1120 ], 1121 "loc": { 1122 "start": { 1123 "line": 1, 1124 "column": 1, 1125 "program": "decl_infer.ets" 1126 }, 1127 "end": { 1128 "line": 1, 1129 "column": 1, 1130 "program": "decl_infer.ets" 1131 } 1132 } 1133 }, 1134 "loc": { 1135 "start": { 1136 "line": 1, 1137 "column": 1, 1138 "program": "decl_infer.ets" 1139 }, 1140 "end": { 1141 "line": 1, 1142 "column": 1, 1143 "program": "decl_infer.ets" 1144 } 1145 } 1146 } 1147 ], 1148 "loc": { 1149 "start": { 1150 "line": 1, 1151 "column": 1, 1152 "program": "decl_infer.ets" 1153 }, 1154 "end": { 1155 "line": 27, 1156 "column": 1, 1157 "program": "decl_infer.ets" 1158 } 1159 } 1160} 1161