1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "Point", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 16, 14 "column": 7 15 }, 16 "end": { 17 "line": 16, 18 "column": 12 19 } 20 } 21 }, 22 "superClass": null, 23 "implements": [], 24 "body": [ 25 { 26 "type": "ClassProperty", 27 "key": { 28 "type": "Identifier", 29 "name": "x", 30 "decorators": [], 31 "loc": { 32 "start": { 33 "line": 17, 34 "column": 5 35 }, 36 "end": { 37 "line": 17, 38 "column": 6 39 } 40 } 41 }, 42 "accessibility": "public", 43 "static": false, 44 "readonly": false, 45 "declare": false, 46 "optional": false, 47 "computed": false, 48 "typeAnnotation": { 49 "type": "ETSTypeReference", 50 "part": { 51 "type": "ETSTypeReferencePart", 52 "name": { 53 "type": "Identifier", 54 "name": "number", 55 "decorators": [], 56 "loc": { 57 "start": { 58 "line": 17, 59 "column": 8 60 }, 61 "end": { 62 "line": 17, 63 "column": 14 64 } 65 } 66 }, 67 "loc": { 68 "start": { 69 "line": 17, 70 "column": 8 71 }, 72 "end": { 73 "line": 17, 74 "column": 15 75 } 76 } 77 }, 78 "loc": { 79 "start": { 80 "line": 17, 81 "column": 8 82 }, 83 "end": { 84 "line": 17, 85 "column": 15 86 } 87 } 88 }, 89 "definite": false, 90 "decorators": [], 91 "loc": { 92 "start": { 93 "line": 17, 94 "column": 5 95 }, 96 "end": { 97 "line": 17, 98 "column": 15 99 } 100 } 101 }, 102 { 103 "type": "ClassProperty", 104 "key": { 105 "type": "Identifier", 106 "name": "y", 107 "decorators": [], 108 "loc": { 109 "start": { 110 "line": 18, 111 "column": 5 112 }, 113 "end": { 114 "line": 18, 115 "column": 6 116 } 117 } 118 }, 119 "accessibility": "public", 120 "static": false, 121 "readonly": false, 122 "declare": false, 123 "optional": false, 124 "computed": false, 125 "typeAnnotation": { 126 "type": "ETSTypeReference", 127 "part": { 128 "type": "ETSTypeReferencePart", 129 "name": { 130 "type": "Identifier", 131 "name": "number", 132 "decorators": [], 133 "loc": { 134 "start": { 135 "line": 18, 136 "column": 8 137 }, 138 "end": { 139 "line": 18, 140 "column": 14 141 } 142 } 143 }, 144 "loc": { 145 "start": { 146 "line": 18, 147 "column": 8 148 }, 149 "end": { 150 "line": 18, 151 "column": 15 152 } 153 } 154 }, 155 "loc": { 156 "start": { 157 "line": 18, 158 "column": 8 159 }, 160 "end": { 161 "line": 18, 162 "column": 15 163 } 164 } 165 }, 166 "definite": false, 167 "decorators": [], 168 "loc": { 169 "start": { 170 "line": 18, 171 "column": 5 172 }, 173 "end": { 174 "line": 18, 175 "column": 15 176 } 177 } 178 }, 179 { 180 "type": "MethodDefinition", 181 "key": { 182 "type": "Identifier", 183 "name": "constructor", 184 "decorators": [], 185 "loc": { 186 "start": { 187 "line": 1, 188 "column": 1 189 }, 190 "end": { 191 "line": 1, 192 "column": 1 193 } 194 } 195 }, 196 "kind": "constructor", 197 "static": false, 198 "optional": false, 199 "computed": false, 200 "value": { 201 "type": "FunctionExpression", 202 "function": { 203 "type": "ScriptFunction", 204 "id": { 205 "type": "Identifier", 206 "name": "constructor", 207 "decorators": [], 208 "loc": { 209 "start": { 210 "line": 1, 211 "column": 1 212 }, 213 "end": { 214 "line": 1, 215 "column": 1 216 } 217 } 218 }, 219 "generator": false, 220 "async": false, 221 "expression": false, 222 "params": [], 223 "body": { 224 "type": "BlockStatement", 225 "statements": [], 226 "loc": { 227 "start": { 228 "line": 1, 229 "column": 1 230 }, 231 "end": { 232 "line": 1, 233 "column": 1 234 } 235 } 236 }, 237 "loc": { 238 "start": { 239 "line": 1, 240 "column": 1 241 }, 242 "end": { 243 "line": 1, 244 "column": 1 245 } 246 } 247 }, 248 "loc": { 249 "start": { 250 "line": 1, 251 "column": 1 252 }, 253 "end": { 254 "line": 1, 255 "column": 1 256 } 257 } 258 }, 259 "overloads": [], 260 "decorators": [], 261 "loc": { 262 "start": { 263 "line": 19, 264 "column": 2 265 }, 266 "end": { 267 "line": 19, 268 "column": 2 269 } 270 } 271 } 272 ], 273 "loc": { 274 "start": { 275 "line": 16, 276 "column": 13 277 }, 278 "end": { 279 "line": 19, 280 "column": 2 281 } 282 } 283 }, 284 "loc": { 285 "start": { 286 "line": 16, 287 "column": 1 288 }, 289 "end": { 290 "line": 19, 291 "column": 2 292 } 293 } 294 }, 295 { 296 "type": "ClassDeclaration", 297 "definition": { 298 "id": { 299 "type": "Identifier", 300 "name": "ListTest", 301 "decorators": [], 302 "loc": { 303 "start": { 304 "line": 21, 305 "column": 7 306 }, 307 "end": { 308 "line": 21, 309 "column": 15 310 } 311 } 312 }, 313 "typeParameters": { 314 "type": "TSTypeParameterDeclaration", 315 "params": [ 316 { 317 "type": "TSTypeParameter", 318 "name": { 319 "type": "Identifier", 320 "name": "T", 321 "decorators": [], 322 "loc": { 323 "start": { 324 "line": 21, 325 "column": 16 326 }, 327 "end": { 328 "line": 21, 329 "column": 17 330 } 331 } 332 }, 333 "loc": { 334 "start": { 335 "line": 21, 336 "column": 16 337 }, 338 "end": { 339 "line": 21, 340 "column": 18 341 } 342 } 343 } 344 ], 345 "loc": { 346 "start": { 347 "line": 21, 348 "column": 15 349 }, 350 "end": { 351 "line": 21, 352 "column": 18 353 } 354 } 355 }, 356 "superClass": null, 357 "implements": [], 358 "body": [ 359 { 360 "type": "MethodDefinition", 361 "key": { 362 "type": "Identifier", 363 "name": "constructor", 364 "decorators": [], 365 "loc": { 366 "start": { 367 "line": 1, 368 "column": 1 369 }, 370 "end": { 371 "line": 1, 372 "column": 1 373 } 374 } 375 }, 376 "kind": "constructor", 377 "accessibility": "public", 378 "static": false, 379 "optional": false, 380 "computed": false, 381 "value": { 382 "type": "FunctionExpression", 383 "function": { 384 "type": "ScriptFunction", 385 "id": { 386 "type": "Identifier", 387 "name": "constructor", 388 "decorators": [], 389 "loc": { 390 "start": { 391 "line": 1, 392 "column": 1 393 }, 394 "end": { 395 "line": 1, 396 "column": 1 397 } 398 } 399 }, 400 "generator": false, 401 "async": false, 402 "expression": false, 403 "params": [], 404 "body": { 405 "type": "BlockStatement", 406 "statements": [ 407 { 408 "type": "ExpressionStatement", 409 "expression": { 410 "type": "AssignmentExpression", 411 "operator": "=", 412 "left": { 413 "type": "MemberExpression", 414 "object": { 415 "type": "ThisExpression", 416 "loc": { 417 "start": { 418 "line": 24, 419 "column": 9 420 }, 421 "end": { 422 "line": 24, 423 "column": 13 424 } 425 } 426 }, 427 "property": { 428 "type": "Identifier", 429 "name": "num", 430 "decorators": [], 431 "loc": { 432 "start": { 433 "line": 24, 434 "column": 14 435 }, 436 "end": { 437 "line": 24, 438 "column": 17 439 } 440 } 441 }, 442 "computed": false, 443 "optional": false, 444 "loc": { 445 "start": { 446 "line": 24, 447 "column": 9 448 }, 449 "end": { 450 "line": 24, 451 "column": 17 452 } 453 } 454 }, 455 "right": { 456 "type": "NumberLiteral", 457 "value": 10, 458 "loc": { 459 "start": { 460 "line": 24, 461 "column": 20 462 }, 463 "end": { 464 "line": 24, 465 "column": 22 466 } 467 } 468 }, 469 "loc": { 470 "start": { 471 "line": 24, 472 "column": 9 473 }, 474 "end": { 475 "line": 24, 476 "column": 22 477 } 478 } 479 }, 480 "loc": { 481 "start": { 482 "line": 24, 483 "column": 9 484 }, 485 "end": { 486 "line": 24, 487 "column": 23 488 } 489 } 490 }, 491 { 492 "type": "VariableDeclaration", 493 "declarations": [ 494 { 495 "type": "VariableDeclarator", 496 "id": { 497 "type": "Identifier", 498 "name": "data", 499 "decorators": [], 500 "loc": { 501 "start": { 502 "line": 25, 503 "column": 13 504 }, 505 "end": { 506 "line": 25, 507 "column": 17 508 } 509 } 510 }, 511 "init": { 512 "type": "ETSNewArrayInstanceExpression", 513 "typeReference": { 514 "type": "ETSTypeReference", 515 "part": { 516 "type": "ETSTypeReferencePart", 517 "name": { 518 "type": "Identifier", 519 "name": "T", 520 "decorators": [], 521 "loc": { 522 "start": { 523 "line": 25, 524 "column": 24 525 }, 526 "end": { 527 "line": 25, 528 "column": 25 529 } 530 } 531 }, 532 "loc": { 533 "start": { 534 "line": 25, 535 "column": 24 536 }, 537 "end": { 538 "line": 25, 539 "column": 26 540 } 541 } 542 }, 543 "loc": { 544 "start": { 545 "line": 25, 546 "column": 24 547 }, 548 "end": { 549 "line": 25, 550 "column": 26 551 } 552 } 553 }, 554 "dimension": { 555 "type": "MemberExpression", 556 "object": { 557 "type": "ThisExpression", 558 "loc": { 559 "start": { 560 "line": 25, 561 "column": 26 562 }, 563 "end": { 564 "line": 25, 565 "column": 30 566 } 567 } 568 }, 569 "property": { 570 "type": "Identifier", 571 "name": "num", 572 "decorators": [], 573 "loc": { 574 "start": { 575 "line": 25, 576 "column": 31 577 }, 578 "end": { 579 "line": 25, 580 "column": 34 581 } 582 } 583 }, 584 "computed": false, 585 "optional": false, 586 "loc": { 587 "start": { 588 "line": 25, 589 "column": 26 590 }, 591 "end": { 592 "line": 25, 593 "column": 34 594 } 595 } 596 }, 597 "loc": { 598 "start": { 599 "line": 25, 600 "column": 20 601 }, 602 "end": { 603 "line": 25, 604 "column": 35 605 } 606 } 607 }, 608 "loc": { 609 "start": { 610 "line": 25, 611 "column": 13 612 }, 613 "end": { 614 "line": 25, 615 "column": 35 616 } 617 } 618 } 619 ], 620 "kind": "let", 621 "loc": { 622 "start": { 623 "line": 25, 624 "column": 9 625 }, 626 "end": { 627 "line": 25, 628 "column": 36 629 } 630 } 631 } 632 ], 633 "loc": { 634 "start": { 635 "line": 23, 636 "column": 5 637 }, 638 "end": { 639 "line": 26, 640 "column": 6 641 } 642 } 643 }, 644 "loc": { 645 "start": { 646 "line": 22, 647 "column": 16 648 }, 649 "end": { 650 "line": 26, 651 "column": 6 652 } 653 } 654 }, 655 "loc": { 656 "start": { 657 "line": 22, 658 "column": 16 659 }, 660 "end": { 661 "line": 26, 662 "column": 6 663 } 664 } 665 }, 666 "overloads": [], 667 "decorators": [], 668 "loc": { 669 "start": { 670 "line": 22, 671 "column": 5 672 }, 673 "end": { 674 "line": 26, 675 "column": 6 676 } 677 } 678 }, 679 { 680 "type": "ClassProperty", 681 "key": { 682 "type": "Identifier", 683 "name": "data", 684 "decorators": [], 685 "loc": { 686 "start": { 687 "line": 27, 688 "column": 13 689 }, 690 "end": { 691 "line": 27, 692 "column": 17 693 } 694 } 695 }, 696 "accessibility": "private", 697 "static": false, 698 "readonly": false, 699 "declare": false, 700 "optional": false, 701 "computed": false, 702 "typeAnnotation": { 703 "type": "TSArrayType", 704 "elementType": { 705 "type": "ETSTypeReference", 706 "part": { 707 "type": "ETSTypeReferencePart", 708 "name": { 709 "type": "Identifier", 710 "name": "T", 711 "decorators": [], 712 "loc": { 713 "start": { 714 "line": 27, 715 "column": 19 716 }, 717 "end": { 718 "line": 27, 719 "column": 20 720 } 721 } 722 }, 723 "loc": { 724 "start": { 725 "line": 27, 726 "column": 19 727 }, 728 "end": { 729 "line": 27, 730 "column": 21 731 } 732 } 733 }, 734 "loc": { 735 "start": { 736 "line": 27, 737 "column": 19 738 }, 739 "end": { 740 "line": 27, 741 "column": 21 742 } 743 } 744 }, 745 "loc": { 746 "start": { 747 "line": 27, 748 "column": 22 749 }, 750 "end": { 751 "line": 27, 752 "column": 23 753 } 754 } 755 }, 756 "definite": false, 757 "decorators": [], 758 "loc": { 759 "start": { 760 "line": 27, 761 "column": 13 762 }, 763 "end": { 764 "line": 27, 765 "column": 23 766 } 767 } 768 }, 769 { 770 "type": "ClassProperty", 771 "key": { 772 "type": "Identifier", 773 "name": "num", 774 "decorators": [], 775 "loc": { 776 "start": { 777 "line": 28, 778 "column": 13 779 }, 780 "end": { 781 "line": 28, 782 "column": 16 783 } 784 } 785 }, 786 "accessibility": "private", 787 "static": false, 788 "readonly": false, 789 "declare": false, 790 "optional": false, 791 "computed": false, 792 "typeAnnotation": { 793 "type": "ETSPrimitiveType", 794 "loc": { 795 "start": { 796 "line": 28, 797 "column": 18 798 }, 799 "end": { 800 "line": 28, 801 "column": 21 802 } 803 } 804 }, 805 "definite": false, 806 "decorators": [], 807 "loc": { 808 "start": { 809 "line": 28, 810 "column": 13 811 }, 812 "end": { 813 "line": 28, 814 "column": 21 815 } 816 } 817 } 818 ], 819 "loc": { 820 "start": { 821 "line": 21, 822 "column": 19 823 }, 824 "end": { 825 "line": 29, 826 "column": 2 827 } 828 } 829 }, 830 "loc": { 831 "start": { 832 "line": 21, 833 "column": 1 834 }, 835 "end": { 836 "line": 29, 837 "column": 2 838 } 839 } 840 }, 841 { 842 "type": "ClassDeclaration", 843 "definition": { 844 "id": { 845 "type": "Identifier", 846 "name": "ETSGLOBAL", 847 "decorators": [], 848 "loc": { 849 "start": { 850 "line": 1, 851 "column": 1 852 }, 853 "end": { 854 "line": 1, 855 "column": 1 856 } 857 } 858 }, 859 "superClass": null, 860 "implements": [], 861 "body": [ 862 { 863 "type": "MethodDefinition", 864 "key": { 865 "type": "Identifier", 866 "name": "_$init$_", 867 "decorators": [], 868 "loc": { 869 "start": { 870 "line": 1, 871 "column": 1 872 }, 873 "end": { 874 "line": 1, 875 "column": 1 876 } 877 } 878 }, 879 "kind": "method", 880 "accessibility": "public", 881 "static": true, 882 "optional": false, 883 "computed": false, 884 "value": { 885 "type": "FunctionExpression", 886 "function": { 887 "type": "ScriptFunction", 888 "id": { 889 "type": "Identifier", 890 "name": "_$init$_", 891 "decorators": [], 892 "loc": { 893 "start": { 894 "line": 1, 895 "column": 1 896 }, 897 "end": { 898 "line": 1, 899 "column": 1 900 } 901 } 902 }, 903 "generator": false, 904 "async": false, 905 "expression": false, 906 "params": [], 907 "body": { 908 "type": "BlockStatement", 909 "statements": [], 910 "loc": { 911 "start": { 912 "line": 1, 913 "column": 1 914 }, 915 "end": { 916 "line": 1, 917 "column": 1 918 } 919 } 920 }, 921 "loc": { 922 "start": { 923 "line": 1, 924 "column": 1 925 }, 926 "end": { 927 "line": 1, 928 "column": 1 929 } 930 } 931 }, 932 "loc": { 933 "start": { 934 "line": 1, 935 "column": 1 936 }, 937 "end": { 938 "line": 1, 939 "column": 1 940 } 941 } 942 }, 943 "overloads": [], 944 "decorators": [], 945 "loc": { 946 "start": { 947 "line": 1, 948 "column": 1 949 }, 950 "end": { 951 "line": 1, 952 "column": 1 953 } 954 } 955 }, 956 { 957 "type": "MethodDefinition", 958 "key": { 959 "type": "Identifier", 960 "name": "main", 961 "decorators": [], 962 "loc": { 963 "start": { 964 "line": 31, 965 "column": 10 966 }, 967 "end": { 968 "line": 31, 969 "column": 14 970 } 971 } 972 }, 973 "kind": "method", 974 "accessibility": "public", 975 "static": true, 976 "optional": false, 977 "computed": false, 978 "value": { 979 "type": "FunctionExpression", 980 "function": { 981 "type": "ScriptFunction", 982 "id": { 983 "type": "Identifier", 984 "name": "main", 985 "decorators": [], 986 "loc": { 987 "start": { 988 "line": 31, 989 "column": 10 990 }, 991 "end": { 992 "line": 31, 993 "column": 14 994 } 995 } 996 }, 997 "generator": false, 998 "async": false, 999 "expression": false, 1000 "params": [], 1001 "returnType": { 1002 "type": "ETSPrimitiveType", 1003 "loc": { 1004 "start": { 1005 "line": 31, 1006 "column": 18 1007 }, 1008 "end": { 1009 "line": 31, 1010 "column": 22 1011 } 1012 } 1013 }, 1014 "body": { 1015 "type": "BlockStatement", 1016 "statements": [ 1017 { 1018 "type": "VariableDeclaration", 1019 "declarations": [ 1020 { 1021 "type": "VariableDeclarator", 1022 "id": { 1023 "type": "Identifier", 1024 "name": "s", 1025 "decorators": [], 1026 "loc": { 1027 "start": { 1028 "line": 32, 1029 "column": 9 1030 }, 1031 "end": { 1032 "line": 32, 1033 "column": 10 1034 } 1035 } 1036 }, 1037 "init": { 1038 "type": "ETSNewArrayInstanceExpression", 1039 "typeReference": { 1040 "type": "ETSTypeReference", 1041 "part": { 1042 "type": "ETSTypeReferencePart", 1043 "name": { 1044 "type": "Identifier", 1045 "name": "string", 1046 "decorators": [], 1047 "loc": { 1048 "start": { 1049 "line": 32, 1050 "column": 17 1051 }, 1052 "end": { 1053 "line": 32, 1054 "column": 23 1055 } 1056 } 1057 }, 1058 "loc": { 1059 "start": { 1060 "line": 32, 1061 "column": 17 1062 }, 1063 "end": { 1064 "line": 32, 1065 "column": 24 1066 } 1067 } 1068 }, 1069 "loc": { 1070 "start": { 1071 "line": 32, 1072 "column": 17 1073 }, 1074 "end": { 1075 "line": 32, 1076 "column": 24 1077 } 1078 } 1079 }, 1080 "dimension": { 1081 "type": "NumberLiteral", 1082 "value": 3, 1083 "loc": { 1084 "start": { 1085 "line": 32, 1086 "column": 24 1087 }, 1088 "end": { 1089 "line": 32, 1090 "column": 25 1091 } 1092 } 1093 }, 1094 "loc": { 1095 "start": { 1096 "line": 32, 1097 "column": 13 1098 }, 1099 "end": { 1100 "line": 32, 1101 "column": 26 1102 } 1103 } 1104 }, 1105 "loc": { 1106 "start": { 1107 "line": 32, 1108 "column": 9 1109 }, 1110 "end": { 1111 "line": 32, 1112 "column": 26 1113 } 1114 } 1115 } 1116 ], 1117 "kind": "let", 1118 "loc": { 1119 "start": { 1120 "line": 32, 1121 "column": 5 1122 }, 1123 "end": { 1124 "line": 32, 1125 "column": 27 1126 } 1127 } 1128 }, 1129 { 1130 "type": "VariableDeclaration", 1131 "declarations": [ 1132 { 1133 "type": "VariableDeclarator", 1134 "id": { 1135 "type": "Identifier", 1136 "name": "n", 1137 "decorators": [], 1138 "loc": { 1139 "start": { 1140 "line": 33, 1141 "column": 9 1142 }, 1143 "end": { 1144 "line": 33, 1145 "column": 10 1146 } 1147 } 1148 }, 1149 "init": { 1150 "type": "ETSNewArrayInstanceExpression", 1151 "typeReference": { 1152 "type": "ETSTypeReference", 1153 "part": { 1154 "type": "ETSTypeReferencePart", 1155 "name": { 1156 "type": "Identifier", 1157 "name": "number", 1158 "decorators": [], 1159 "loc": { 1160 "start": { 1161 "line": 33, 1162 "column": 17 1163 }, 1164 "end": { 1165 "line": 33, 1166 "column": 23 1167 } 1168 } 1169 }, 1170 "loc": { 1171 "start": { 1172 "line": 33, 1173 "column": 17 1174 }, 1175 "end": { 1176 "line": 33, 1177 "column": 24 1178 } 1179 } 1180 }, 1181 "loc": { 1182 "start": { 1183 "line": 33, 1184 "column": 17 1185 }, 1186 "end": { 1187 "line": 33, 1188 "column": 24 1189 } 1190 } 1191 }, 1192 "dimension": { 1193 "type": "NumberLiteral", 1194 "value": 3, 1195 "loc": { 1196 "start": { 1197 "line": 33, 1198 "column": 24 1199 }, 1200 "end": { 1201 "line": 33, 1202 "column": 25 1203 } 1204 } 1205 }, 1206 "loc": { 1207 "start": { 1208 "line": 33, 1209 "column": 13 1210 }, 1211 "end": { 1212 "line": 33, 1213 "column": 26 1214 } 1215 } 1216 }, 1217 "loc": { 1218 "start": { 1219 "line": 33, 1220 "column": 9 1221 }, 1222 "end": { 1223 "line": 33, 1224 "column": 26 1225 } 1226 } 1227 } 1228 ], 1229 "kind": "let", 1230 "loc": { 1231 "start": { 1232 "line": 33, 1233 "column": 5 1234 }, 1235 "end": { 1236 "line": 33, 1237 "column": 27 1238 } 1239 } 1240 }, 1241 { 1242 "type": "VariableDeclaration", 1243 "declarations": [ 1244 { 1245 "type": "VariableDeclarator", 1246 "id": { 1247 "type": "Identifier", 1248 "name": "i", 1249 "decorators": [], 1250 "loc": { 1251 "start": { 1252 "line": 34, 1253 "column": 9 1254 }, 1255 "end": { 1256 "line": 34, 1257 "column": 10 1258 } 1259 } 1260 }, 1261 "init": { 1262 "type": "ETSNewArrayInstanceExpression", 1263 "typeReference": { 1264 "type": "ETSTypeReference", 1265 "part": { 1266 "type": "ETSTypeReferencePart", 1267 "name": { 1268 "type": "Identifier", 1269 "name": "Int", 1270 "decorators": [], 1271 "loc": { 1272 "start": { 1273 "line": 34, 1274 "column": 17 1275 }, 1276 "end": { 1277 "line": 34, 1278 "column": 20 1279 } 1280 } 1281 }, 1282 "loc": { 1283 "start": { 1284 "line": 34, 1285 "column": 17 1286 }, 1287 "end": { 1288 "line": 34, 1289 "column": 21 1290 } 1291 } 1292 }, 1293 "loc": { 1294 "start": { 1295 "line": 34, 1296 "column": 17 1297 }, 1298 "end": { 1299 "line": 34, 1300 "column": 21 1301 } 1302 } 1303 }, 1304 "dimension": { 1305 "type": "NumberLiteral", 1306 "value": 3, 1307 "loc": { 1308 "start": { 1309 "line": 34, 1310 "column": 21 1311 }, 1312 "end": { 1313 "line": 34, 1314 "column": 22 1315 } 1316 } 1317 }, 1318 "loc": { 1319 "start": { 1320 "line": 34, 1321 "column": 13 1322 }, 1323 "end": { 1324 "line": 34, 1325 "column": 23 1326 } 1327 } 1328 }, 1329 "loc": { 1330 "start": { 1331 "line": 34, 1332 "column": 9 1333 }, 1334 "end": { 1335 "line": 34, 1336 "column": 23 1337 } 1338 } 1339 } 1340 ], 1341 "kind": "let", 1342 "loc": { 1343 "start": { 1344 "line": 34, 1345 "column": 5 1346 }, 1347 "end": { 1348 "line": 34, 1349 "column": 24 1350 } 1351 } 1352 }, 1353 { 1354 "type": "VariableDeclaration", 1355 "declarations": [ 1356 { 1357 "type": "VariableDeclarator", 1358 "id": { 1359 "type": "Identifier", 1360 "name": "x", 1361 "decorators": [], 1362 "loc": { 1363 "start": { 1364 "line": 35, 1365 "column": 9 1366 }, 1367 "end": { 1368 "line": 35, 1369 "column": 10 1370 } 1371 } 1372 }, 1373 "init": { 1374 "type": "ETSNewArrayInstanceExpression", 1375 "typeReference": { 1376 "type": "ETSTypeReference", 1377 "part": { 1378 "type": "ETSTypeReferencePart", 1379 "name": { 1380 "type": "Identifier", 1381 "name": "Point", 1382 "decorators": [], 1383 "loc": { 1384 "start": { 1385 "line": 35, 1386 "column": 17 1387 }, 1388 "end": { 1389 "line": 35, 1390 "column": 22 1391 } 1392 } 1393 }, 1394 "loc": { 1395 "start": { 1396 "line": 35, 1397 "column": 17 1398 }, 1399 "end": { 1400 "line": 35, 1401 "column": 23 1402 } 1403 } 1404 }, 1405 "loc": { 1406 "start": { 1407 "line": 35, 1408 "column": 17 1409 }, 1410 "end": { 1411 "line": 35, 1412 "column": 23 1413 } 1414 } 1415 }, 1416 "dimension": { 1417 "type": "NumberLiteral", 1418 "value": 3, 1419 "loc": { 1420 "start": { 1421 "line": 35, 1422 "column": 23 1423 }, 1424 "end": { 1425 "line": 35, 1426 "column": 24 1427 } 1428 } 1429 }, 1430 "loc": { 1431 "start": { 1432 "line": 35, 1433 "column": 13 1434 }, 1435 "end": { 1436 "line": 35, 1437 "column": 25 1438 } 1439 } 1440 }, 1441 "loc": { 1442 "start": { 1443 "line": 35, 1444 "column": 9 1445 }, 1446 "end": { 1447 "line": 35, 1448 "column": 25 1449 } 1450 } 1451 } 1452 ], 1453 "kind": "let", 1454 "loc": { 1455 "start": { 1456 "line": 35, 1457 "column": 5 1458 }, 1459 "end": { 1460 "line": 35, 1461 "column": 26 1462 } 1463 } 1464 }, 1465 { 1466 "type": "VariableDeclaration", 1467 "declarations": [ 1468 { 1469 "type": "VariableDeclarator", 1470 "id": { 1471 "type": "Identifier", 1472 "name": "y", 1473 "decorators": [], 1474 "loc": { 1475 "start": { 1476 "line": 36, 1477 "column": 9 1478 }, 1479 "end": { 1480 "line": 36, 1481 "column": 10 1482 } 1483 } 1484 }, 1485 "init": { 1486 "type": "ETSNewArrayInstanceExpression", 1487 "typeReference": { 1488 "type": "ETSTypeReference", 1489 "part": { 1490 "type": "ETSTypeReferencePart", 1491 "name": { 1492 "type": "Identifier", 1493 "name": "ListTest", 1494 "decorators": [], 1495 "loc": { 1496 "start": { 1497 "line": 36, 1498 "column": 17 1499 }, 1500 "end": { 1501 "line": 36, 1502 "column": 25 1503 } 1504 } 1505 }, 1506 "typeParams": { 1507 "type": "TSTypeParameterInstantiation", 1508 "params": [ 1509 { 1510 "type": "ETSTypeReference", 1511 "part": { 1512 "type": "ETSTypeReferencePart", 1513 "name": { 1514 "type": "Identifier", 1515 "name": "Point", 1516 "decorators": [], 1517 "loc": { 1518 "start": { 1519 "line": 36, 1520 "column": 26 1521 }, 1522 "end": { 1523 "line": 36, 1524 "column": 31 1525 } 1526 } 1527 }, 1528 "loc": { 1529 "start": { 1530 "line": 36, 1531 "column": 26 1532 }, 1533 "end": { 1534 "line": 36, 1535 "column": 32 1536 } 1537 } 1538 }, 1539 "loc": { 1540 "start": { 1541 "line": 36, 1542 "column": 26 1543 }, 1544 "end": { 1545 "line": 36, 1546 "column": 32 1547 } 1548 } 1549 } 1550 ], 1551 "loc": { 1552 "start": { 1553 "line": 36, 1554 "column": 25 1555 }, 1556 "end": { 1557 "line": 36, 1558 "column": 32 1559 } 1560 } 1561 }, 1562 "loc": { 1563 "start": { 1564 "line": 36, 1565 "column": 17 1566 }, 1567 "end": { 1568 "line": 36, 1569 "column": 33 1570 } 1571 } 1572 }, 1573 "loc": { 1574 "start": { 1575 "line": 36, 1576 "column": 17 1577 }, 1578 "end": { 1579 "line": 36, 1580 "column": 33 1581 } 1582 } 1583 }, 1584 "dimension": { 1585 "type": "NumberLiteral", 1586 "value": 3, 1587 "loc": { 1588 "start": { 1589 "line": 36, 1590 "column": 33 1591 }, 1592 "end": { 1593 "line": 36, 1594 "column": 34 1595 } 1596 } 1597 }, 1598 "loc": { 1599 "start": { 1600 "line": 36, 1601 "column": 13 1602 }, 1603 "end": { 1604 "line": 36, 1605 "column": 35 1606 } 1607 } 1608 }, 1609 "loc": { 1610 "start": { 1611 "line": 36, 1612 "column": 9 1613 }, 1614 "end": { 1615 "line": 36, 1616 "column": 35 1617 } 1618 } 1619 } 1620 ], 1621 "kind": "let", 1622 "loc": { 1623 "start": { 1624 "line": 36, 1625 "column": 5 1626 }, 1627 "end": { 1628 "line": 36, 1629 "column": 36 1630 } 1631 } 1632 } 1633 ], 1634 "loc": { 1635 "start": { 1636 "line": 31, 1637 "column": 23 1638 }, 1639 "end": { 1640 "line": 37, 1641 "column": 2 1642 } 1643 } 1644 }, 1645 "loc": { 1646 "start": { 1647 "line": 31, 1648 "column": 14 1649 }, 1650 "end": { 1651 "line": 37, 1652 "column": 2 1653 } 1654 } 1655 }, 1656 "loc": { 1657 "start": { 1658 "line": 31, 1659 "column": 14 1660 }, 1661 "end": { 1662 "line": 37, 1663 "column": 2 1664 } 1665 } 1666 }, 1667 "overloads": [], 1668 "decorators": [], 1669 "loc": { 1670 "start": { 1671 "line": 31, 1672 "column": 1 1673 }, 1674 "end": { 1675 "line": 37, 1676 "column": 2 1677 } 1678 } 1679 } 1680 ], 1681 "loc": { 1682 "start": { 1683 "line": 1, 1684 "column": 1 1685 }, 1686 "end": { 1687 "line": 1, 1688 "column": 1 1689 } 1690 } 1691 }, 1692 "loc": { 1693 "start": { 1694 "line": 1, 1695 "column": 1 1696 }, 1697 "end": { 1698 "line": 1, 1699 "column": 1 1700 } 1701 } 1702 } 1703 ], 1704 "loc": { 1705 "start": { 1706 "line": 1, 1707 "column": 1 1708 }, 1709 "end": { 1710 "line": 40, 1711 "column": 1 1712 } 1713 } 1714} 1715