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