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