1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSEnumDeclaration", 6 "id": { 7 "type": "Identifier", 8 "name": "E1", 9 "decorators": [], 10 "loc": { 11 "start": { 12 "line": 16, 13 "column": 6 14 }, 15 "end": { 16 "line": 16, 17 "column": 8 18 } 19 } 20 }, 21 "members": [ 22 { 23 "type": "TSEnumMember", 24 "id": { 25 "type": "Identifier", 26 "name": "e1_item1", 27 "decorators": [], 28 "loc": { 29 "start": { 30 "line": 17, 31 "column": 3 32 }, 33 "end": { 34 "line": 17, 35 "column": 11 36 } 37 } 38 }, 39 "initializer": { 40 "type": "NumberLiteral", 41 "value": 0, 42 "loc": { 43 "start": { 44 "line": 1, 45 "column": 1 46 }, 47 "end": { 48 "line": 1, 49 "column": 1 50 } 51 } 52 }, 53 "loc": { 54 "start": { 55 "line": 17, 56 "column": 3 57 }, 58 "end": { 59 "line": 17, 60 "column": 11 61 } 62 } 63 }, 64 { 65 "type": "TSEnumMember", 66 "id": { 67 "type": "Identifier", 68 "name": "e1_item2", 69 "decorators": [], 70 "loc": { 71 "start": { 72 "line": 18, 73 "column": 3 74 }, 75 "end": { 76 "line": 18, 77 "column": 11 78 } 79 } 80 }, 81 "initializer": { 82 "type": "NumberLiteral", 83 "value": 7, 84 "loc": { 85 "start": { 86 "line": 18, 87 "column": 14 88 }, 89 "end": { 90 "line": 18, 91 "column": 15 92 } 93 } 94 }, 95 "loc": { 96 "start": { 97 "line": 18, 98 "column": 3 99 }, 100 "end": { 101 "line": 18, 102 "column": 15 103 } 104 } 105 }, 106 { 107 "type": "TSEnumMember", 108 "id": { 109 "type": "Identifier", 110 "name": "e1_item3", 111 "decorators": [], 112 "loc": { 113 "start": { 114 "line": 19, 115 "column": 3 116 }, 117 "end": { 118 "line": 19, 119 "column": 11 120 } 121 } 122 }, 123 "initializer": { 124 "type": "NumberLiteral", 125 "value": 8, 126 "loc": { 127 "start": { 128 "line": 1, 129 "column": 1 130 }, 131 "end": { 132 "line": 1, 133 "column": 1 134 } 135 } 136 }, 137 "loc": { 138 "start": { 139 "line": 19, 140 "column": 3 141 }, 142 "end": { 143 "line": 19, 144 "column": 11 145 } 146 } 147 }, 148 { 149 "type": "TSEnumMember", 150 "id": { 151 "type": "Identifier", 152 "name": "e1_item4", 153 "decorators": [], 154 "loc": { 155 "start": { 156 "line": 20, 157 "column": 3 158 }, 159 "end": { 160 "line": 20, 161 "column": 11 162 } 163 } 164 }, 165 "initializer": { 166 "type": "NumberLiteral", 167 "value": 1, 168 "loc": { 169 "start": { 170 "line": 20, 171 "column": 14 172 }, 173 "end": { 174 "line": 20, 175 "column": 15 176 } 177 } 178 }, 179 "loc": { 180 "start": { 181 "line": 20, 182 "column": 3 183 }, 184 "end": { 185 "line": 20, 186 "column": 15 187 } 188 } 189 } 190 ], 191 "const": false, 192 "loc": { 193 "start": { 194 "line": 16, 195 "column": 1 196 }, 197 "end": { 198 "line": 21, 199 "column": 2 200 } 201 } 202 }, 203 { 204 "type": "ClassDeclaration", 205 "definition": { 206 "id": { 207 "type": "Identifier", 208 "name": "ETSGLOBAL", 209 "decorators": [], 210 "loc": { 211 "start": { 212 "line": 1, 213 "column": 1 214 }, 215 "end": { 216 "line": 1, 217 "column": 1 218 } 219 } 220 }, 221 "superClass": null, 222 "implements": [], 223 "body": [ 224 { 225 "type": "MethodDefinition", 226 "key": { 227 "type": "Identifier", 228 "name": "_$init$_", 229 "decorators": [], 230 "loc": { 231 "start": { 232 "line": 1, 233 "column": 1 234 }, 235 "end": { 236 "line": 1, 237 "column": 1 238 } 239 } 240 }, 241 "kind": "method", 242 "accessibility": "public", 243 "static": true, 244 "optional": false, 245 "computed": false, 246 "value": { 247 "type": "FunctionExpression", 248 "function": { 249 "type": "ScriptFunction", 250 "id": { 251 "type": "Identifier", 252 "name": "_$init$_", 253 "decorators": [], 254 "loc": { 255 "start": { 256 "line": 1, 257 "column": 1 258 }, 259 "end": { 260 "line": 1, 261 "column": 1 262 } 263 } 264 }, 265 "generator": false, 266 "async": false, 267 "expression": false, 268 "params": [], 269 "body": { 270 "type": "BlockStatement", 271 "statements": [], 272 "loc": { 273 "start": { 274 "line": 1, 275 "column": 1 276 }, 277 "end": { 278 "line": 1, 279 "column": 1 280 } 281 } 282 }, 283 "loc": { 284 "start": { 285 "line": 1, 286 "column": 1 287 }, 288 "end": { 289 "line": 1, 290 "column": 1 291 } 292 } 293 }, 294 "loc": { 295 "start": { 296 "line": 1, 297 "column": 1 298 }, 299 "end": { 300 "line": 1, 301 "column": 1 302 } 303 } 304 }, 305 "overloads": [], 306 "decorators": [], 307 "loc": { 308 "start": { 309 "line": 1, 310 "column": 1 311 }, 312 "end": { 313 "line": 1, 314 "column": 1 315 } 316 } 317 }, 318 { 319 "type": "MethodDefinition", 320 "key": { 321 "type": "Identifier", 322 "name": "main", 323 "decorators": [], 324 "loc": { 325 "start": { 326 "line": 25, 327 "column": 10 328 }, 329 "end": { 330 "line": 25, 331 "column": 14 332 } 333 } 334 }, 335 "kind": "method", 336 "accessibility": "public", 337 "static": true, 338 "optional": false, 339 "computed": false, 340 "value": { 341 "type": "FunctionExpression", 342 "function": { 343 "type": "ScriptFunction", 344 "id": { 345 "type": "Identifier", 346 "name": "main", 347 "decorators": [], 348 "loc": { 349 "start": { 350 "line": 25, 351 "column": 10 352 }, 353 "end": { 354 "line": 25, 355 "column": 14 356 } 357 } 358 }, 359 "generator": false, 360 "async": false, 361 "expression": false, 362 "params": [], 363 "body": { 364 "type": "BlockStatement", 365 "statements": [ 366 { 367 "type": "AssertStatement", 368 "test": { 369 "type": "BinaryExpression", 370 "operator": "==", 371 "left": { 372 "type": "CallExpression", 373 "callee": { 374 "type": "MemberExpression", 375 "object": { 376 "type": "MemberExpression", 377 "object": { 378 "type": "Identifier", 379 "name": "E1", 380 "decorators": [], 381 "loc": { 382 "start": { 383 "line": 27, 384 "column": 10 385 }, 386 "end": { 387 "line": 27, 388 "column": 12 389 } 390 } 391 }, 392 "property": { 393 "type": "Identifier", 394 "name": "e1_item1", 395 "decorators": [], 396 "loc": { 397 "start": { 398 "line": 27, 399 "column": 13 400 }, 401 "end": { 402 "line": 27, 403 "column": 21 404 } 405 } 406 }, 407 "computed": false, 408 "optional": false, 409 "loc": { 410 "start": { 411 "line": 27, 412 "column": 10 413 }, 414 "end": { 415 "line": 27, 416 "column": 21 417 } 418 } 419 }, 420 "property": { 421 "type": "Identifier", 422 "name": "toString", 423 "decorators": [], 424 "loc": { 425 "start": { 426 "line": 27, 427 "column": 22 428 }, 429 "end": { 430 "line": 27, 431 "column": 30 432 } 433 } 434 }, 435 "computed": false, 436 "optional": false, 437 "loc": { 438 "start": { 439 "line": 27, 440 "column": 10 441 }, 442 "end": { 443 "line": 27, 444 "column": 30 445 } 446 } 447 }, 448 "arguments": [], 449 "optional": false, 450 "loc": { 451 "start": { 452 "line": 27, 453 "column": 10 454 }, 455 "end": { 456 "line": 27, 457 "column": 32 458 } 459 } 460 }, 461 "right": { 462 "type": "StringLiteral", 463 "value": "0", 464 "loc": { 465 "start": { 466 "line": 27, 467 "column": 36 468 }, 469 "end": { 470 "line": 27, 471 "column": 39 472 } 473 } 474 }, 475 "loc": { 476 "start": { 477 "line": 27, 478 "column": 9 479 }, 480 "end": { 481 "line": 27, 482 "column": 40 483 } 484 } 485 }, 486 "second": null, 487 "loc": { 488 "start": { 489 "line": 27, 490 "column": 3 491 }, 492 "end": { 493 "line": 27, 494 "column": 41 495 } 496 } 497 }, 498 { 499 "type": "AssertStatement", 500 "test": { 501 "type": "BinaryExpression", 502 "operator": "==", 503 "left": { 504 "type": "CallExpression", 505 "callee": { 506 "type": "MemberExpression", 507 "object": { 508 "type": "MemberExpression", 509 "object": { 510 "type": "Identifier", 511 "name": "E1", 512 "decorators": [], 513 "loc": { 514 "start": { 515 "line": 28, 516 "column": 10 517 }, 518 "end": { 519 "line": 28, 520 "column": 12 521 } 522 } 523 }, 524 "property": { 525 "type": "Identifier", 526 "name": "e1_item1", 527 "decorators": [], 528 "loc": { 529 "start": { 530 "line": 28, 531 "column": 13 532 }, 533 "end": { 534 "line": 28, 535 "column": 21 536 } 537 } 538 }, 539 "computed": false, 540 "optional": false, 541 "loc": { 542 "start": { 543 "line": 28, 544 "column": 10 545 }, 546 "end": { 547 "line": 28, 548 "column": 21 549 } 550 } 551 }, 552 "property": { 553 "type": "Identifier", 554 "name": "valueOf", 555 "decorators": [], 556 "loc": { 557 "start": { 558 "line": 28, 559 "column": 22 560 }, 561 "end": { 562 "line": 28, 563 "column": 29 564 } 565 } 566 }, 567 "computed": false, 568 "optional": false, 569 "loc": { 570 "start": { 571 "line": 28, 572 "column": 10 573 }, 574 "end": { 575 "line": 28, 576 "column": 29 577 } 578 } 579 }, 580 "arguments": [], 581 "optional": false, 582 "loc": { 583 "start": { 584 "line": 28, 585 "column": 10 586 }, 587 "end": { 588 "line": 28, 589 "column": 31 590 } 591 } 592 }, 593 "right": { 594 "type": "NumberLiteral", 595 "value": 0, 596 "loc": { 597 "start": { 598 "line": 28, 599 "column": 35 600 }, 601 "end": { 602 "line": 28, 603 "column": 36 604 } 605 } 606 }, 607 "loc": { 608 "start": { 609 "line": 28, 610 "column": 9 611 }, 612 "end": { 613 "line": 28, 614 "column": 37 615 } 616 } 617 }, 618 "second": null, 619 "loc": { 620 "start": { 621 "line": 28, 622 "column": 3 623 }, 624 "end": { 625 "line": 28, 626 "column": 38 627 } 628 } 629 }, 630 { 631 "type": "AssertStatement", 632 "test": { 633 "type": "BinaryExpression", 634 "operator": "==", 635 "left": { 636 "type": "CallExpression", 637 "callee": { 638 "type": "MemberExpression", 639 "object": { 640 "type": "MemberExpression", 641 "object": { 642 "type": "Identifier", 643 "name": "E1", 644 "decorators": [], 645 "loc": { 646 "start": { 647 "line": 29, 648 "column": 10 649 }, 650 "end": { 651 "line": 29, 652 "column": 12 653 } 654 } 655 }, 656 "property": { 657 "type": "Identifier", 658 "name": "e1_item2", 659 "decorators": [], 660 "loc": { 661 "start": { 662 "line": 29, 663 "column": 13 664 }, 665 "end": { 666 "line": 29, 667 "column": 21 668 } 669 } 670 }, 671 "computed": false, 672 "optional": false, 673 "loc": { 674 "start": { 675 "line": 29, 676 "column": 10 677 }, 678 "end": { 679 "line": 29, 680 "column": 21 681 } 682 } 683 }, 684 "property": { 685 "type": "Identifier", 686 "name": "toString", 687 "decorators": [], 688 "loc": { 689 "start": { 690 "line": 29, 691 "column": 22 692 }, 693 "end": { 694 "line": 29, 695 "column": 30 696 } 697 } 698 }, 699 "computed": false, 700 "optional": false, 701 "loc": { 702 "start": { 703 "line": 29, 704 "column": 10 705 }, 706 "end": { 707 "line": 29, 708 "column": 30 709 } 710 } 711 }, 712 "arguments": [], 713 "optional": false, 714 "loc": { 715 "start": { 716 "line": 29, 717 "column": 10 718 }, 719 "end": { 720 "line": 29, 721 "column": 32 722 } 723 } 724 }, 725 "right": { 726 "type": "StringLiteral", 727 "value": "7", 728 "loc": { 729 "start": { 730 "line": 29, 731 "column": 36 732 }, 733 "end": { 734 "line": 29, 735 "column": 39 736 } 737 } 738 }, 739 "loc": { 740 "start": { 741 "line": 29, 742 "column": 9 743 }, 744 "end": { 745 "line": 29, 746 "column": 40 747 } 748 } 749 }, 750 "second": null, 751 "loc": { 752 "start": { 753 "line": 29, 754 "column": 3 755 }, 756 "end": { 757 "line": 29, 758 "column": 41 759 } 760 } 761 }, 762 { 763 "type": "AssertStatement", 764 "test": { 765 "type": "BinaryExpression", 766 "operator": "==", 767 "left": { 768 "type": "CallExpression", 769 "callee": { 770 "type": "MemberExpression", 771 "object": { 772 "type": "MemberExpression", 773 "object": { 774 "type": "Identifier", 775 "name": "E1", 776 "decorators": [], 777 "loc": { 778 "start": { 779 "line": 30, 780 "column": 10 781 }, 782 "end": { 783 "line": 30, 784 "column": 12 785 } 786 } 787 }, 788 "property": { 789 "type": "Identifier", 790 "name": "e1_item2", 791 "decorators": [], 792 "loc": { 793 "start": { 794 "line": 30, 795 "column": 13 796 }, 797 "end": { 798 "line": 30, 799 "column": 21 800 } 801 } 802 }, 803 "computed": false, 804 "optional": false, 805 "loc": { 806 "start": { 807 "line": 30, 808 "column": 10 809 }, 810 "end": { 811 "line": 30, 812 "column": 21 813 } 814 } 815 }, 816 "property": { 817 "type": "Identifier", 818 "name": "valueOf", 819 "decorators": [], 820 "loc": { 821 "start": { 822 "line": 30, 823 "column": 22 824 }, 825 "end": { 826 "line": 30, 827 "column": 29 828 } 829 } 830 }, 831 "computed": false, 832 "optional": false, 833 "loc": { 834 "start": { 835 "line": 30, 836 "column": 10 837 }, 838 "end": { 839 "line": 30, 840 "column": 29 841 } 842 } 843 }, 844 "arguments": [], 845 "optional": false, 846 "loc": { 847 "start": { 848 "line": 30, 849 "column": 10 850 }, 851 "end": { 852 "line": 30, 853 "column": 31 854 } 855 } 856 }, 857 "right": { 858 "type": "NumberLiteral", 859 "value": 7, 860 "loc": { 861 "start": { 862 "line": 30, 863 "column": 35 864 }, 865 "end": { 866 "line": 30, 867 "column": 36 868 } 869 } 870 }, 871 "loc": { 872 "start": { 873 "line": 30, 874 "column": 9 875 }, 876 "end": { 877 "line": 30, 878 "column": 37 879 } 880 } 881 }, 882 "second": null, 883 "loc": { 884 "start": { 885 "line": 30, 886 "column": 3 887 }, 888 "end": { 889 "line": 30, 890 "column": 38 891 } 892 } 893 }, 894 { 895 "type": "AssertStatement", 896 "test": { 897 "type": "BinaryExpression", 898 "operator": "==", 899 "left": { 900 "type": "CallExpression", 901 "callee": { 902 "type": "MemberExpression", 903 "object": { 904 "type": "MemberExpression", 905 "object": { 906 "type": "Identifier", 907 "name": "E1", 908 "decorators": [], 909 "loc": { 910 "start": { 911 "line": 31, 912 "column": 10 913 }, 914 "end": { 915 "line": 31, 916 "column": 12 917 } 918 } 919 }, 920 "property": { 921 "type": "Identifier", 922 "name": "e1_item3", 923 "decorators": [], 924 "loc": { 925 "start": { 926 "line": 31, 927 "column": 13 928 }, 929 "end": { 930 "line": 31, 931 "column": 21 932 } 933 } 934 }, 935 "computed": false, 936 "optional": false, 937 "loc": { 938 "start": { 939 "line": 31, 940 "column": 10 941 }, 942 "end": { 943 "line": 31, 944 "column": 21 945 } 946 } 947 }, 948 "property": { 949 "type": "Identifier", 950 "name": "toString", 951 "decorators": [], 952 "loc": { 953 "start": { 954 "line": 31, 955 "column": 22 956 }, 957 "end": { 958 "line": 31, 959 "column": 30 960 } 961 } 962 }, 963 "computed": false, 964 "optional": false, 965 "loc": { 966 "start": { 967 "line": 31, 968 "column": 10 969 }, 970 "end": { 971 "line": 31, 972 "column": 30 973 } 974 } 975 }, 976 "arguments": [], 977 "optional": false, 978 "loc": { 979 "start": { 980 "line": 31, 981 "column": 10 982 }, 983 "end": { 984 "line": 31, 985 "column": 32 986 } 987 } 988 }, 989 "right": { 990 "type": "StringLiteral", 991 "value": "8", 992 "loc": { 993 "start": { 994 "line": 31, 995 "column": 36 996 }, 997 "end": { 998 "line": 31, 999 "column": 39 1000 } 1001 } 1002 }, 1003 "loc": { 1004 "start": { 1005 "line": 31, 1006 "column": 9 1007 }, 1008 "end": { 1009 "line": 31, 1010 "column": 40 1011 } 1012 } 1013 }, 1014 "second": null, 1015 "loc": { 1016 "start": { 1017 "line": 31, 1018 "column": 3 1019 }, 1020 "end": { 1021 "line": 31, 1022 "column": 41 1023 } 1024 } 1025 }, 1026 { 1027 "type": "AssertStatement", 1028 "test": { 1029 "type": "BinaryExpression", 1030 "operator": "==", 1031 "left": { 1032 "type": "CallExpression", 1033 "callee": { 1034 "type": "MemberExpression", 1035 "object": { 1036 "type": "MemberExpression", 1037 "object": { 1038 "type": "Identifier", 1039 "name": "E1", 1040 "decorators": [], 1041 "loc": { 1042 "start": { 1043 "line": 32, 1044 "column": 10 1045 }, 1046 "end": { 1047 "line": 32, 1048 "column": 12 1049 } 1050 } 1051 }, 1052 "property": { 1053 "type": "Identifier", 1054 "name": "e1_item3", 1055 "decorators": [], 1056 "loc": { 1057 "start": { 1058 "line": 32, 1059 "column": 13 1060 }, 1061 "end": { 1062 "line": 32, 1063 "column": 21 1064 } 1065 } 1066 }, 1067 "computed": false, 1068 "optional": false, 1069 "loc": { 1070 "start": { 1071 "line": 32, 1072 "column": 10 1073 }, 1074 "end": { 1075 "line": 32, 1076 "column": 21 1077 } 1078 } 1079 }, 1080 "property": { 1081 "type": "Identifier", 1082 "name": "valueOf", 1083 "decorators": [], 1084 "loc": { 1085 "start": { 1086 "line": 32, 1087 "column": 22 1088 }, 1089 "end": { 1090 "line": 32, 1091 "column": 29 1092 } 1093 } 1094 }, 1095 "computed": false, 1096 "optional": false, 1097 "loc": { 1098 "start": { 1099 "line": 32, 1100 "column": 10 1101 }, 1102 "end": { 1103 "line": 32, 1104 "column": 29 1105 } 1106 } 1107 }, 1108 "arguments": [], 1109 "optional": false, 1110 "loc": { 1111 "start": { 1112 "line": 32, 1113 "column": 10 1114 }, 1115 "end": { 1116 "line": 32, 1117 "column": 31 1118 } 1119 } 1120 }, 1121 "right": { 1122 "type": "NumberLiteral", 1123 "value": 8, 1124 "loc": { 1125 "start": { 1126 "line": 32, 1127 "column": 35 1128 }, 1129 "end": { 1130 "line": 32, 1131 "column": 36 1132 } 1133 } 1134 }, 1135 "loc": { 1136 "start": { 1137 "line": 32, 1138 "column": 9 1139 }, 1140 "end": { 1141 "line": 32, 1142 "column": 37 1143 } 1144 } 1145 }, 1146 "second": null, 1147 "loc": { 1148 "start": { 1149 "line": 32, 1150 "column": 3 1151 }, 1152 "end": { 1153 "line": 32, 1154 "column": 38 1155 } 1156 } 1157 }, 1158 { 1159 "type": "TryStatement", 1160 "block": { 1161 "type": "BlockStatement", 1162 "statements": [ 1163 { 1164 "type": "VariableDeclaration", 1165 "declarations": [ 1166 { 1167 "type": "VariableDeclarator", 1168 "id": { 1169 "type": "Identifier", 1170 "name": "test1", 1171 "typeAnnotation": { 1172 "type": "ETSTypeReference", 1173 "part": { 1174 "type": "ETSTypeReferencePart", 1175 "name": { 1176 "type": "Identifier", 1177 "name": "E1", 1178 "decorators": [], 1179 "loc": { 1180 "start": { 1181 "line": 40, 1182 "column": 17 1183 }, 1184 "end": { 1185 "line": 40, 1186 "column": 19 1187 } 1188 } 1189 }, 1190 "loc": { 1191 "start": { 1192 "line": 40, 1193 "column": 17 1194 }, 1195 "end": { 1196 "line": 40, 1197 "column": 21 1198 } 1199 } 1200 }, 1201 "loc": { 1202 "start": { 1203 "line": 40, 1204 "column": 17 1205 }, 1206 "end": { 1207 "line": 40, 1208 "column": 21 1209 } 1210 } 1211 }, 1212 "decorators": [], 1213 "loc": { 1214 "start": { 1215 "line": 40, 1216 "column": 9 1217 }, 1218 "end": { 1219 "line": 40, 1220 "column": 14 1221 } 1222 } 1223 }, 1224 "init": { 1225 "type": "CallExpression", 1226 "callee": { 1227 "type": "MemberExpression", 1228 "object": { 1229 "type": "Identifier", 1230 "name": "E1", 1231 "decorators": [], 1232 "loc": { 1233 "start": { 1234 "line": 40, 1235 "column": 22 1236 }, 1237 "end": { 1238 "line": 40, 1239 "column": 24 1240 } 1241 } 1242 }, 1243 "property": { 1244 "type": "Identifier", 1245 "name": "getValueOf", 1246 "decorators": [], 1247 "loc": { 1248 "start": { 1249 "line": 40, 1250 "column": 25 1251 }, 1252 "end": { 1253 "line": 40, 1254 "column": 35 1255 } 1256 } 1257 }, 1258 "computed": false, 1259 "optional": false, 1260 "loc": { 1261 "start": { 1262 "line": 40, 1263 "column": 22 1264 }, 1265 "end": { 1266 "line": 40, 1267 "column": 35 1268 } 1269 } 1270 }, 1271 "arguments": [ 1272 { 1273 "type": "StringLiteral", 1274 "value": "e1_item1", 1275 "loc": { 1276 "start": { 1277 "line": 40, 1278 "column": 36 1279 }, 1280 "end": { 1281 "line": 40, 1282 "column": 46 1283 } 1284 } 1285 } 1286 ], 1287 "optional": false, 1288 "loc": { 1289 "start": { 1290 "line": 40, 1291 "column": 22 1292 }, 1293 "end": { 1294 "line": 40, 1295 "column": 47 1296 } 1297 } 1298 }, 1299 "loc": { 1300 "start": { 1301 "line": 40, 1302 "column": 9 1303 }, 1304 "end": { 1305 "line": 40, 1306 "column": 47 1307 } 1308 } 1309 } 1310 ], 1311 "kind": "let", 1312 "loc": { 1313 "start": { 1314 "line": 40, 1315 "column": 5 1316 }, 1317 "end": { 1318 "line": 40, 1319 "column": 48 1320 } 1321 } 1322 }, 1323 { 1324 "type": "VariableDeclaration", 1325 "declarations": [ 1326 { 1327 "type": "VariableDeclarator", 1328 "id": { 1329 "type": "Identifier", 1330 "name": "test2", 1331 "typeAnnotation": { 1332 "type": "ETSTypeReference", 1333 "part": { 1334 "type": "ETSTypeReferencePart", 1335 "name": { 1336 "type": "Identifier", 1337 "name": "E1", 1338 "decorators": [], 1339 "loc": { 1340 "start": { 1341 "line": 41, 1342 "column": 17 1343 }, 1344 "end": { 1345 "line": 41, 1346 "column": 19 1347 } 1348 } 1349 }, 1350 "loc": { 1351 "start": { 1352 "line": 41, 1353 "column": 17 1354 }, 1355 "end": { 1356 "line": 41, 1357 "column": 21 1358 } 1359 } 1360 }, 1361 "loc": { 1362 "start": { 1363 "line": 41, 1364 "column": 17 1365 }, 1366 "end": { 1367 "line": 41, 1368 "column": 21 1369 } 1370 } 1371 }, 1372 "decorators": [], 1373 "loc": { 1374 "start": { 1375 "line": 41, 1376 "column": 9 1377 }, 1378 "end": { 1379 "line": 41, 1380 "column": 14 1381 } 1382 } 1383 }, 1384 "init": { 1385 "type": "CallExpression", 1386 "callee": { 1387 "type": "MemberExpression", 1388 "object": { 1389 "type": "Identifier", 1390 "name": "E1", 1391 "decorators": [], 1392 "loc": { 1393 "start": { 1394 "line": 41, 1395 "column": 22 1396 }, 1397 "end": { 1398 "line": 41, 1399 "column": 24 1400 } 1401 } 1402 }, 1403 "property": { 1404 "type": "Identifier", 1405 "name": "getValueOf", 1406 "decorators": [], 1407 "loc": { 1408 "start": { 1409 "line": 41, 1410 "column": 25 1411 }, 1412 "end": { 1413 "line": 41, 1414 "column": 35 1415 } 1416 } 1417 }, 1418 "computed": false, 1419 "optional": false, 1420 "loc": { 1421 "start": { 1422 "line": 41, 1423 "column": 22 1424 }, 1425 "end": { 1426 "line": 41, 1427 "column": 35 1428 } 1429 } 1430 }, 1431 "arguments": [ 1432 { 1433 "type": "StringLiteral", 1434 "value": "e1_item2", 1435 "loc": { 1436 "start": { 1437 "line": 41, 1438 "column": 36 1439 }, 1440 "end": { 1441 "line": 41, 1442 "column": 46 1443 } 1444 } 1445 } 1446 ], 1447 "optional": false, 1448 "loc": { 1449 "start": { 1450 "line": 41, 1451 "column": 22 1452 }, 1453 "end": { 1454 "line": 41, 1455 "column": 47 1456 } 1457 } 1458 }, 1459 "loc": { 1460 "start": { 1461 "line": 41, 1462 "column": 9 1463 }, 1464 "end": { 1465 "line": 41, 1466 "column": 47 1467 } 1468 } 1469 } 1470 ], 1471 "kind": "let", 1472 "loc": { 1473 "start": { 1474 "line": 41, 1475 "column": 5 1476 }, 1477 "end": { 1478 "line": 41, 1479 "column": 48 1480 } 1481 } 1482 }, 1483 { 1484 "type": "VariableDeclaration", 1485 "declarations": [ 1486 { 1487 "type": "VariableDeclarator", 1488 "id": { 1489 "type": "Identifier", 1490 "name": "test3", 1491 "typeAnnotation": { 1492 "type": "ETSTypeReference", 1493 "part": { 1494 "type": "ETSTypeReferencePart", 1495 "name": { 1496 "type": "Identifier", 1497 "name": "E1", 1498 "decorators": [], 1499 "loc": { 1500 "start": { 1501 "line": 42, 1502 "column": 17 1503 }, 1504 "end": { 1505 "line": 42, 1506 "column": 19 1507 } 1508 } 1509 }, 1510 "loc": { 1511 "start": { 1512 "line": 42, 1513 "column": 17 1514 }, 1515 "end": { 1516 "line": 42, 1517 "column": 21 1518 } 1519 } 1520 }, 1521 "loc": { 1522 "start": { 1523 "line": 42, 1524 "column": 17 1525 }, 1526 "end": { 1527 "line": 42, 1528 "column": 21 1529 } 1530 } 1531 }, 1532 "decorators": [], 1533 "loc": { 1534 "start": { 1535 "line": 42, 1536 "column": 9 1537 }, 1538 "end": { 1539 "line": 42, 1540 "column": 14 1541 } 1542 } 1543 }, 1544 "init": { 1545 "type": "CallExpression", 1546 "callee": { 1547 "type": "MemberExpression", 1548 "object": { 1549 "type": "Identifier", 1550 "name": "E1", 1551 "decorators": [], 1552 "loc": { 1553 "start": { 1554 "line": 42, 1555 "column": 22 1556 }, 1557 "end": { 1558 "line": 42, 1559 "column": 24 1560 } 1561 } 1562 }, 1563 "property": { 1564 "type": "Identifier", 1565 "name": "getValueOf", 1566 "decorators": [], 1567 "loc": { 1568 "start": { 1569 "line": 42, 1570 "column": 25 1571 }, 1572 "end": { 1573 "line": 42, 1574 "column": 35 1575 } 1576 } 1577 }, 1578 "computed": false, 1579 "optional": false, 1580 "loc": { 1581 "start": { 1582 "line": 42, 1583 "column": 22 1584 }, 1585 "end": { 1586 "line": 42, 1587 "column": 35 1588 } 1589 } 1590 }, 1591 "arguments": [ 1592 { 1593 "type": "StringLiteral", 1594 "value": "e1_item3", 1595 "loc": { 1596 "start": { 1597 "line": 42, 1598 "column": 36 1599 }, 1600 "end": { 1601 "line": 42, 1602 "column": 46 1603 } 1604 } 1605 } 1606 ], 1607 "optional": false, 1608 "loc": { 1609 "start": { 1610 "line": 42, 1611 "column": 22 1612 }, 1613 "end": { 1614 "line": 42, 1615 "column": 47 1616 } 1617 } 1618 }, 1619 "loc": { 1620 "start": { 1621 "line": 42, 1622 "column": 9 1623 }, 1624 "end": { 1625 "line": 42, 1626 "column": 47 1627 } 1628 } 1629 } 1630 ], 1631 "kind": "let", 1632 "loc": { 1633 "start": { 1634 "line": 42, 1635 "column": 5 1636 }, 1637 "end": { 1638 "line": 42, 1639 "column": 48 1640 } 1641 } 1642 }, 1643 { 1644 "type": "AssertStatement", 1645 "test": { 1646 "type": "BinaryExpression", 1647 "operator": "==", 1648 "left": { 1649 "type": "CallExpression", 1650 "callee": { 1651 "type": "MemberExpression", 1652 "object": { 1653 "type": "Identifier", 1654 "name": "test1", 1655 "decorators": [], 1656 "loc": { 1657 "start": { 1658 "line": 44, 1659 "column": 12 1660 }, 1661 "end": { 1662 "line": 44, 1663 "column": 17 1664 } 1665 } 1666 }, 1667 "property": { 1668 "type": "Identifier", 1669 "name": "valueOf", 1670 "decorators": [], 1671 "loc": { 1672 "start": { 1673 "line": 44, 1674 "column": 18 1675 }, 1676 "end": { 1677 "line": 44, 1678 "column": 25 1679 } 1680 } 1681 }, 1682 "computed": false, 1683 "optional": false, 1684 "loc": { 1685 "start": { 1686 "line": 44, 1687 "column": 12 1688 }, 1689 "end": { 1690 "line": 44, 1691 "column": 25 1692 } 1693 } 1694 }, 1695 "arguments": [], 1696 "optional": false, 1697 "loc": { 1698 "start": { 1699 "line": 44, 1700 "column": 12 1701 }, 1702 "end": { 1703 "line": 44, 1704 "column": 27 1705 } 1706 } 1707 }, 1708 "right": { 1709 "type": "NumberLiteral", 1710 "value": 0, 1711 "loc": { 1712 "start": { 1713 "line": 44, 1714 "column": 31 1715 }, 1716 "end": { 1717 "line": 44, 1718 "column": 32 1719 } 1720 } 1721 }, 1722 "loc": { 1723 "start": { 1724 "line": 44, 1725 "column": 11 1726 }, 1727 "end": { 1728 "line": 44, 1729 "column": 33 1730 } 1731 } 1732 }, 1733 "second": null, 1734 "loc": { 1735 "start": { 1736 "line": 44, 1737 "column": 5 1738 }, 1739 "end": { 1740 "line": 44, 1741 "column": 34 1742 } 1743 } 1744 }, 1745 { 1746 "type": "AssertStatement", 1747 "test": { 1748 "type": "BinaryExpression", 1749 "operator": "==", 1750 "left": { 1751 "type": "CallExpression", 1752 "callee": { 1753 "type": "MemberExpression", 1754 "object": { 1755 "type": "Identifier", 1756 "name": "test1", 1757 "decorators": [], 1758 "loc": { 1759 "start": { 1760 "line": 45, 1761 "column": 12 1762 }, 1763 "end": { 1764 "line": 45, 1765 "column": 17 1766 } 1767 } 1768 }, 1769 "property": { 1770 "type": "Identifier", 1771 "name": "getName", 1772 "decorators": [], 1773 "loc": { 1774 "start": { 1775 "line": 45, 1776 "column": 18 1777 }, 1778 "end": { 1779 "line": 45, 1780 "column": 25 1781 } 1782 } 1783 }, 1784 "computed": false, 1785 "optional": false, 1786 "loc": { 1787 "start": { 1788 "line": 45, 1789 "column": 12 1790 }, 1791 "end": { 1792 "line": 45, 1793 "column": 25 1794 } 1795 } 1796 }, 1797 "arguments": [], 1798 "optional": false, 1799 "loc": { 1800 "start": { 1801 "line": 45, 1802 "column": 12 1803 }, 1804 "end": { 1805 "line": 45, 1806 "column": 27 1807 } 1808 } 1809 }, 1810 "right": { 1811 "type": "StringLiteral", 1812 "value": "e1_item1", 1813 "loc": { 1814 "start": { 1815 "line": 45, 1816 "column": 31 1817 }, 1818 "end": { 1819 "line": 45, 1820 "column": 41 1821 } 1822 } 1823 }, 1824 "loc": { 1825 "start": { 1826 "line": 45, 1827 "column": 11 1828 }, 1829 "end": { 1830 "line": 45, 1831 "column": 42 1832 } 1833 } 1834 }, 1835 "second": null, 1836 "loc": { 1837 "start": { 1838 "line": 45, 1839 "column": 5 1840 }, 1841 "end": { 1842 "line": 45, 1843 "column": 43 1844 } 1845 } 1846 }, 1847 { 1848 "type": "AssertStatement", 1849 "test": { 1850 "type": "BinaryExpression", 1851 "operator": "==", 1852 "left": { 1853 "type": "CallExpression", 1854 "callee": { 1855 "type": "MemberExpression", 1856 "object": { 1857 "type": "Identifier", 1858 "name": "test2", 1859 "decorators": [], 1860 "loc": { 1861 "start": { 1862 "line": 46, 1863 "column": 12 1864 }, 1865 "end": { 1866 "line": 46, 1867 "column": 17 1868 } 1869 } 1870 }, 1871 "property": { 1872 "type": "Identifier", 1873 "name": "valueOf", 1874 "decorators": [], 1875 "loc": { 1876 "start": { 1877 "line": 46, 1878 "column": 18 1879 }, 1880 "end": { 1881 "line": 46, 1882 "column": 25 1883 } 1884 } 1885 }, 1886 "computed": false, 1887 "optional": false, 1888 "loc": { 1889 "start": { 1890 "line": 46, 1891 "column": 12 1892 }, 1893 "end": { 1894 "line": 46, 1895 "column": 25 1896 } 1897 } 1898 }, 1899 "arguments": [], 1900 "optional": false, 1901 "loc": { 1902 "start": { 1903 "line": 46, 1904 "column": 12 1905 }, 1906 "end": { 1907 "line": 46, 1908 "column": 27 1909 } 1910 } 1911 }, 1912 "right": { 1913 "type": "NumberLiteral", 1914 "value": 7, 1915 "loc": { 1916 "start": { 1917 "line": 46, 1918 "column": 31 1919 }, 1920 "end": { 1921 "line": 46, 1922 "column": 32 1923 } 1924 } 1925 }, 1926 "loc": { 1927 "start": { 1928 "line": 46, 1929 "column": 11 1930 }, 1931 "end": { 1932 "line": 46, 1933 "column": 33 1934 } 1935 } 1936 }, 1937 "second": null, 1938 "loc": { 1939 "start": { 1940 "line": 46, 1941 "column": 5 1942 }, 1943 "end": { 1944 "line": 46, 1945 "column": 34 1946 } 1947 } 1948 }, 1949 { 1950 "type": "AssertStatement", 1951 "test": { 1952 "type": "BinaryExpression", 1953 "operator": "==", 1954 "left": { 1955 "type": "CallExpression", 1956 "callee": { 1957 "type": "MemberExpression", 1958 "object": { 1959 "type": "Identifier", 1960 "name": "test2", 1961 "decorators": [], 1962 "loc": { 1963 "start": { 1964 "line": 47, 1965 "column": 12 1966 }, 1967 "end": { 1968 "line": 47, 1969 "column": 17 1970 } 1971 } 1972 }, 1973 "property": { 1974 "type": "Identifier", 1975 "name": "getName", 1976 "decorators": [], 1977 "loc": { 1978 "start": { 1979 "line": 47, 1980 "column": 18 1981 }, 1982 "end": { 1983 "line": 47, 1984 "column": 25 1985 } 1986 } 1987 }, 1988 "computed": false, 1989 "optional": false, 1990 "loc": { 1991 "start": { 1992 "line": 47, 1993 "column": 12 1994 }, 1995 "end": { 1996 "line": 47, 1997 "column": 25 1998 } 1999 } 2000 }, 2001 "arguments": [], 2002 "optional": false, 2003 "loc": { 2004 "start": { 2005 "line": 47, 2006 "column": 12 2007 }, 2008 "end": { 2009 "line": 47, 2010 "column": 27 2011 } 2012 } 2013 }, 2014 "right": { 2015 "type": "StringLiteral", 2016 "value": "e1_item2", 2017 "loc": { 2018 "start": { 2019 "line": 47, 2020 "column": 31 2021 }, 2022 "end": { 2023 "line": 47, 2024 "column": 41 2025 } 2026 } 2027 }, 2028 "loc": { 2029 "start": { 2030 "line": 47, 2031 "column": 11 2032 }, 2033 "end": { 2034 "line": 47, 2035 "column": 42 2036 } 2037 } 2038 }, 2039 "second": null, 2040 "loc": { 2041 "start": { 2042 "line": 47, 2043 "column": 5 2044 }, 2045 "end": { 2046 "line": 47, 2047 "column": 43 2048 } 2049 } 2050 }, 2051 { 2052 "type": "AssertStatement", 2053 "test": { 2054 "type": "BinaryExpression", 2055 "operator": "==", 2056 "left": { 2057 "type": "CallExpression", 2058 "callee": { 2059 "type": "MemberExpression", 2060 "object": { 2061 "type": "Identifier", 2062 "name": "test3", 2063 "decorators": [], 2064 "loc": { 2065 "start": { 2066 "line": 48, 2067 "column": 12 2068 }, 2069 "end": { 2070 "line": 48, 2071 "column": 17 2072 } 2073 } 2074 }, 2075 "property": { 2076 "type": "Identifier", 2077 "name": "valueOf", 2078 "decorators": [], 2079 "loc": { 2080 "start": { 2081 "line": 48, 2082 "column": 18 2083 }, 2084 "end": { 2085 "line": 48, 2086 "column": 25 2087 } 2088 } 2089 }, 2090 "computed": false, 2091 "optional": false, 2092 "loc": { 2093 "start": { 2094 "line": 48, 2095 "column": 12 2096 }, 2097 "end": { 2098 "line": 48, 2099 "column": 25 2100 } 2101 } 2102 }, 2103 "arguments": [], 2104 "optional": false, 2105 "loc": { 2106 "start": { 2107 "line": 48, 2108 "column": 12 2109 }, 2110 "end": { 2111 "line": 48, 2112 "column": 27 2113 } 2114 } 2115 }, 2116 "right": { 2117 "type": "NumberLiteral", 2118 "value": 8, 2119 "loc": { 2120 "start": { 2121 "line": 48, 2122 "column": 31 2123 }, 2124 "end": { 2125 "line": 48, 2126 "column": 32 2127 } 2128 } 2129 }, 2130 "loc": { 2131 "start": { 2132 "line": 48, 2133 "column": 11 2134 }, 2135 "end": { 2136 "line": 48, 2137 "column": 33 2138 } 2139 } 2140 }, 2141 "second": null, 2142 "loc": { 2143 "start": { 2144 "line": 48, 2145 "column": 5 2146 }, 2147 "end": { 2148 "line": 48, 2149 "column": 34 2150 } 2151 } 2152 }, 2153 { 2154 "type": "AssertStatement", 2155 "test": { 2156 "type": "BinaryExpression", 2157 "operator": "==", 2158 "left": { 2159 "type": "CallExpression", 2160 "callee": { 2161 "type": "MemberExpression", 2162 "object": { 2163 "type": "Identifier", 2164 "name": "test3", 2165 "decorators": [], 2166 "loc": { 2167 "start": { 2168 "line": 49, 2169 "column": 12 2170 }, 2171 "end": { 2172 "line": 49, 2173 "column": 17 2174 } 2175 } 2176 }, 2177 "property": { 2178 "type": "Identifier", 2179 "name": "getName", 2180 "decorators": [], 2181 "loc": { 2182 "start": { 2183 "line": 49, 2184 "column": 18 2185 }, 2186 "end": { 2187 "line": 49, 2188 "column": 25 2189 } 2190 } 2191 }, 2192 "computed": false, 2193 "optional": false, 2194 "loc": { 2195 "start": { 2196 "line": 49, 2197 "column": 12 2198 }, 2199 "end": { 2200 "line": 49, 2201 "column": 25 2202 } 2203 } 2204 }, 2205 "arguments": [], 2206 "optional": false, 2207 "loc": { 2208 "start": { 2209 "line": 49, 2210 "column": 12 2211 }, 2212 "end": { 2213 "line": 49, 2214 "column": 27 2215 } 2216 } 2217 }, 2218 "right": { 2219 "type": "StringLiteral", 2220 "value": "e1_item3", 2221 "loc": { 2222 "start": { 2223 "line": 49, 2224 "column": 31 2225 }, 2226 "end": { 2227 "line": 49, 2228 "column": 41 2229 } 2230 } 2231 }, 2232 "loc": { 2233 "start": { 2234 "line": 49, 2235 "column": 11 2236 }, 2237 "end": { 2238 "line": 49, 2239 "column": 42 2240 } 2241 } 2242 }, 2243 "second": null, 2244 "loc": { 2245 "start": { 2246 "line": 49, 2247 "column": 5 2248 }, 2249 "end": { 2250 "line": 49, 2251 "column": 43 2252 } 2253 } 2254 } 2255 ], 2256 "loc": { 2257 "start": { 2258 "line": 38, 2259 "column": 7 2260 }, 2261 "end": { 2262 "line": 53, 2263 "column": 4 2264 } 2265 } 2266 }, 2267 "handler": [ 2268 { 2269 "type": "CatchClause", 2270 "body": { 2271 "type": "BlockStatement", 2272 "statements": [], 2273 "loc": { 2274 "start": { 2275 "line": 54, 2276 "column": 13 2277 }, 2278 "end": { 2279 "line": 56, 2280 "column": 4 2281 } 2282 } 2283 }, 2284 "param": { 2285 "type": "Identifier", 2286 "name": "e", 2287 "decorators": [], 2288 "loc": { 2289 "start": { 2290 "line": 54, 2291 "column": 10 2292 }, 2293 "end": { 2294 "line": 54, 2295 "column": 11 2296 } 2297 } 2298 }, 2299 "loc": { 2300 "start": { 2301 "line": 54, 2302 "column": 3 2303 }, 2304 "end": { 2305 "line": 56, 2306 "column": 4 2307 } 2308 } 2309 } 2310 ], 2311 "finalizer": null, 2312 "loc": { 2313 "start": { 2314 "line": 38, 2315 "column": 3 2316 }, 2317 "end": { 2318 "line": 56, 2319 "column": 4 2320 } 2321 } 2322 } 2323 ], 2324 "loc": { 2325 "start": { 2326 "line": 25, 2327 "column": 17 2328 }, 2329 "end": { 2330 "line": 57, 2331 "column": 2 2332 } 2333 } 2334 }, 2335 "loc": { 2336 "start": { 2337 "line": 25, 2338 "column": 14 2339 }, 2340 "end": { 2341 "line": 57, 2342 "column": 2 2343 } 2344 } 2345 }, 2346 "loc": { 2347 "start": { 2348 "line": 25, 2349 "column": 14 2350 }, 2351 "end": { 2352 "line": 57, 2353 "column": 2 2354 } 2355 } 2356 }, 2357 "overloads": [], 2358 "decorators": [], 2359 "loc": { 2360 "start": { 2361 "line": 25, 2362 "column": 1 2363 }, 2364 "end": { 2365 "line": 57, 2366 "column": 2 2367 } 2368 } 2369 } 2370 ], 2371 "loc": { 2372 "start": { 2373 "line": 1, 2374 "column": 1 2375 }, 2376 "end": { 2377 "line": 1, 2378 "column": 1 2379 } 2380 } 2381 }, 2382 "loc": { 2383 "start": { 2384 "line": 1, 2385 "column": 1 2386 }, 2387 "end": { 2388 "line": 1, 2389 "column": 1 2390 } 2391 } 2392 }, 2393 { 2394 "type": "ClassDeclaration", 2395 "definition": { 2396 "id": { 2397 "type": "Identifier", 2398 "name": "#E1", 2399 "decorators": [], 2400 "loc": { 2401 "start": { 2402 "line": 1, 2403 "column": 1 2404 }, 2405 "end": { 2406 "line": 1, 2407 "column": 1 2408 } 2409 } 2410 }, 2411 "superClass": null, 2412 "implements": [], 2413 "body": [ 2414 { 2415 "type": "ClassProperty", 2416 "key": { 2417 "type": "Identifier", 2418 "name": "ordinal", 2419 "decorators": [], 2420 "loc": { 2421 "start": { 2422 "line": 1, 2423 "column": 1 2424 }, 2425 "end": { 2426 "line": 1, 2427 "column": 1 2428 } 2429 } 2430 }, 2431 "accessibility": "protected", 2432 "static": false, 2433 "readonly": false, 2434 "declare": false, 2435 "optional": false, 2436 "computed": false, 2437 "typeAnnotation": { 2438 "type": "ETSPrimitiveType", 2439 "loc": { 2440 "start": { 2441 "line": 1, 2442 "column": 1 2443 }, 2444 "end": { 2445 "line": 1, 2446 "column": 1 2447 } 2448 } 2449 }, 2450 "definite": false, 2451 "decorators": [], 2452 "loc": { 2453 "start": { 2454 "line": 1, 2455 "column": 1 2456 }, 2457 "end": { 2458 "line": 1, 2459 "column": 1 2460 } 2461 } 2462 }, 2463 { 2464 "type": "MethodDefinition", 2465 "key": { 2466 "type": "Identifier", 2467 "name": "<cctor>", 2468 "decorators": [], 2469 "loc": { 2470 "start": { 2471 "line": 1, 2472 "column": 1 2473 }, 2474 "end": { 2475 "line": 1, 2476 "column": 1 2477 } 2478 } 2479 }, 2480 "kind": "method", 2481 "accessibility": "public", 2482 "static": true, 2483 "optional": false, 2484 "computed": false, 2485 "value": { 2486 "type": "FunctionExpression", 2487 "function": { 2488 "type": "ScriptFunction", 2489 "id": { 2490 "type": "Identifier", 2491 "name": "<cctor>", 2492 "decorators": [], 2493 "loc": { 2494 "start": { 2495 "line": 1, 2496 "column": 1 2497 }, 2498 "end": { 2499 "line": 1, 2500 "column": 1 2501 } 2502 } 2503 }, 2504 "generator": false, 2505 "async": false, 2506 "expression": false, 2507 "params": [], 2508 "body": { 2509 "type": "BlockStatement", 2510 "statements": [], 2511 "loc": { 2512 "start": { 2513 "line": 1, 2514 "column": 1 2515 }, 2516 "end": { 2517 "line": 1, 2518 "column": 1 2519 } 2520 } 2521 }, 2522 "loc": { 2523 "start": { 2524 "line": 1, 2525 "column": 1 2526 }, 2527 "end": { 2528 "line": 1, 2529 "column": 1 2530 } 2531 } 2532 }, 2533 "loc": { 2534 "start": { 2535 "line": 1, 2536 "column": 1 2537 }, 2538 "end": { 2539 "line": 1, 2540 "column": 1 2541 } 2542 } 2543 }, 2544 "overloads": [], 2545 "decorators": [], 2546 "loc": { 2547 "start": { 2548 "line": 1, 2549 "column": 1 2550 }, 2551 "end": { 2552 "line": 1, 2553 "column": 1 2554 } 2555 } 2556 }, 2557 { 2558 "type": "MethodDefinition", 2559 "key": { 2560 "type": "Identifier", 2561 "name": "constructor", 2562 "decorators": [], 2563 "loc": { 2564 "start": { 2565 "line": 1, 2566 "column": 1 2567 }, 2568 "end": { 2569 "line": 1, 2570 "column": 1 2571 } 2572 } 2573 }, 2574 "kind": "constructor", 2575 "accessibility": "public", 2576 "static": false, 2577 "optional": false, 2578 "computed": false, 2579 "value": { 2580 "type": "FunctionExpression", 2581 "function": { 2582 "type": "ScriptFunction", 2583 "id": { 2584 "type": "Identifier", 2585 "name": "constructor", 2586 "decorators": [], 2587 "loc": { 2588 "start": { 2589 "line": 1, 2590 "column": 1 2591 }, 2592 "end": { 2593 "line": 1, 2594 "column": 1 2595 } 2596 } 2597 }, 2598 "generator": false, 2599 "async": false, 2600 "expression": false, 2601 "params": [ 2602 { 2603 "type": "ETSParameterExpression", 2604 "name": { 2605 "type": "Identifier", 2606 "name": "ordinal", 2607 "typeAnnotation": { 2608 "type": "ETSPrimitiveType", 2609 "loc": { 2610 "start": { 2611 "line": 1, 2612 "column": 1 2613 }, 2614 "end": { 2615 "line": 1, 2616 "column": 1 2617 } 2618 } 2619 }, 2620 "decorators": [], 2621 "loc": { 2622 "start": { 2623 "line": 1, 2624 "column": 1 2625 }, 2626 "end": { 2627 "line": 1, 2628 "column": 1 2629 } 2630 } 2631 }, 2632 "loc": { 2633 "start": { 2634 "line": 1, 2635 "column": 1 2636 }, 2637 "end": { 2638 "line": 1, 2639 "column": 1 2640 } 2641 } 2642 } 2643 ], 2644 "body": { 2645 "type": "BlockStatement", 2646 "statements": [ 2647 { 2648 "type": "ExpressionStatement", 2649 "expression": { 2650 "type": "AssignmentExpression", 2651 "operator": "=", 2652 "left": { 2653 "type": "MemberExpression", 2654 "object": { 2655 "type": "ThisExpression", 2656 "loc": { 2657 "start": { 2658 "line": 1, 2659 "column": 1 2660 }, 2661 "end": { 2662 "line": 1, 2663 "column": 1 2664 } 2665 } 2666 }, 2667 "property": { 2668 "type": "Identifier", 2669 "name": "ordinal", 2670 "decorators": [], 2671 "loc": { 2672 "start": { 2673 "line": 1, 2674 "column": 1 2675 }, 2676 "end": { 2677 "line": 1, 2678 "column": 1 2679 } 2680 } 2681 }, 2682 "computed": false, 2683 "optional": false, 2684 "loc": { 2685 "start": { 2686 "line": 1, 2687 "column": 1 2688 }, 2689 "end": { 2690 "line": 1, 2691 "column": 1 2692 } 2693 } 2694 }, 2695 "right": { 2696 "type": "Identifier", 2697 "name": "ordinal", 2698 "decorators": [], 2699 "loc": { 2700 "start": { 2701 "line": 1, 2702 "column": 1 2703 }, 2704 "end": { 2705 "line": 1, 2706 "column": 1 2707 } 2708 } 2709 }, 2710 "loc": { 2711 "start": { 2712 "line": 1, 2713 "column": 1 2714 }, 2715 "end": { 2716 "line": 1, 2717 "column": 1 2718 } 2719 } 2720 }, 2721 "loc": { 2722 "start": { 2723 "line": 1, 2724 "column": 1 2725 }, 2726 "end": { 2727 "line": 1, 2728 "column": 1 2729 } 2730 } 2731 } 2732 ], 2733 "loc": { 2734 "start": { 2735 "line": 1, 2736 "column": 1 2737 }, 2738 "end": { 2739 "line": 1, 2740 "column": 1 2741 } 2742 } 2743 }, 2744 "loc": { 2745 "start": { 2746 "line": 1, 2747 "column": 1 2748 }, 2749 "end": { 2750 "line": 1, 2751 "column": 1 2752 } 2753 } 2754 }, 2755 "loc": { 2756 "start": { 2757 "line": 1, 2758 "column": 1 2759 }, 2760 "end": { 2761 "line": 1, 2762 "column": 1 2763 } 2764 } 2765 }, 2766 "overloads": [], 2767 "decorators": [], 2768 "loc": { 2769 "start": { 2770 "line": 1, 2771 "column": 1 2772 }, 2773 "end": { 2774 "line": 1, 2775 "column": 1 2776 } 2777 } 2778 }, 2779 { 2780 "type": "ClassProperty", 2781 "key": { 2782 "type": "Identifier", 2783 "name": "NamesArray", 2784 "decorators": [], 2785 "loc": { 2786 "start": { 2787 "line": 1, 2788 "column": 1 2789 }, 2790 "end": { 2791 "line": 1, 2792 "column": 1 2793 } 2794 } 2795 }, 2796 "value": { 2797 "type": "ArrayExpression", 2798 "elements": [ 2799 { 2800 "type": "StringLiteral", 2801 "value": "e1_item1", 2802 "loc": { 2803 "start": { 2804 "line": 1, 2805 "column": 1 2806 }, 2807 "end": { 2808 "line": 1, 2809 "column": 1 2810 } 2811 } 2812 }, 2813 { 2814 "type": "StringLiteral", 2815 "value": "e1_item2", 2816 "loc": { 2817 "start": { 2818 "line": 1, 2819 "column": 1 2820 }, 2821 "end": { 2822 "line": 1, 2823 "column": 1 2824 } 2825 } 2826 }, 2827 { 2828 "type": "StringLiteral", 2829 "value": "e1_item3", 2830 "loc": { 2831 "start": { 2832 "line": 1, 2833 "column": 1 2834 }, 2835 "end": { 2836 "line": 1, 2837 "column": 1 2838 } 2839 } 2840 }, 2841 { 2842 "type": "StringLiteral", 2843 "value": "e1_item4", 2844 "loc": { 2845 "start": { 2846 "line": 1, 2847 "column": 1 2848 }, 2849 "end": { 2850 "line": 1, 2851 "column": 1 2852 } 2853 } 2854 } 2855 ], 2856 "loc": { 2857 "start": { 2858 "line": 1, 2859 "column": 1 2860 }, 2861 "end": { 2862 "line": 1, 2863 "column": 1 2864 } 2865 } 2866 }, 2867 "accessibility": "protected", 2868 "static": true, 2869 "readonly": false, 2870 "declare": false, 2871 "optional": false, 2872 "computed": false, 2873 "typeAnnotation": { 2874 "type": "TSArrayType", 2875 "elementType": { 2876 "type": "ETSTypeReference", 2877 "part": { 2878 "type": "ETSTypeReferencePart", 2879 "name": { 2880 "type": "Identifier", 2881 "name": "String", 2882 "decorators": [], 2883 "loc": { 2884 "start": { 2885 "line": 1, 2886 "column": 1 2887 }, 2888 "end": { 2889 "line": 1, 2890 "column": 1 2891 } 2892 } 2893 }, 2894 "loc": { 2895 "start": { 2896 "line": 1, 2897 "column": 1 2898 }, 2899 "end": { 2900 "line": 1, 2901 "column": 1 2902 } 2903 } 2904 }, 2905 "loc": { 2906 "start": { 2907 "line": 1, 2908 "column": 1 2909 }, 2910 "end": { 2911 "line": 1, 2912 "column": 1 2913 } 2914 } 2915 }, 2916 "loc": { 2917 "start": { 2918 "line": 1, 2919 "column": 1 2920 }, 2921 "end": { 2922 "line": 1, 2923 "column": 1 2924 } 2925 } 2926 }, 2927 "definite": false, 2928 "decorators": [], 2929 "loc": { 2930 "start": { 2931 "line": 1, 2932 "column": 1 2933 }, 2934 "end": { 2935 "line": 1, 2936 "column": 1 2937 } 2938 } 2939 }, 2940 { 2941 "type": "ClassProperty", 2942 "key": { 2943 "type": "Identifier", 2944 "name": "ValuesArray", 2945 "decorators": [], 2946 "loc": { 2947 "start": { 2948 "line": 1, 2949 "column": 1 2950 }, 2951 "end": { 2952 "line": 1, 2953 "column": 1 2954 } 2955 } 2956 }, 2957 "value": { 2958 "type": "ArrayExpression", 2959 "elements": [ 2960 { 2961 "type": "NumberLiteral", 2962 "value": 0, 2963 "loc": { 2964 "start": { 2965 "line": 1, 2966 "column": 1 2967 }, 2968 "end": { 2969 "line": 1, 2970 "column": 1 2971 } 2972 } 2973 }, 2974 { 2975 "type": "NumberLiteral", 2976 "value": 7, 2977 "loc": { 2978 "start": { 2979 "line": 1, 2980 "column": 1 2981 }, 2982 "end": { 2983 "line": 1, 2984 "column": 1 2985 } 2986 } 2987 }, 2988 { 2989 "type": "NumberLiteral", 2990 "value": 8, 2991 "loc": { 2992 "start": { 2993 "line": 1, 2994 "column": 1 2995 }, 2996 "end": { 2997 "line": 1, 2998 "column": 1 2999 } 3000 } 3001 }, 3002 { 3003 "type": "NumberLiteral", 3004 "value": 1, 3005 "loc": { 3006 "start": { 3007 "line": 1, 3008 "column": 1 3009 }, 3010 "end": { 3011 "line": 1, 3012 "column": 1 3013 } 3014 } 3015 } 3016 ], 3017 "loc": { 3018 "start": { 3019 "line": 1, 3020 "column": 1 3021 }, 3022 "end": { 3023 "line": 1, 3024 "column": 1 3025 } 3026 } 3027 }, 3028 "accessibility": "protected", 3029 "static": true, 3030 "readonly": false, 3031 "declare": false, 3032 "optional": false, 3033 "computed": false, 3034 "typeAnnotation": { 3035 "type": "TSArrayType", 3036 "elementType": { 3037 "type": "ETSPrimitiveType", 3038 "loc": { 3039 "start": { 3040 "line": 1, 3041 "column": 1 3042 }, 3043 "end": { 3044 "line": 1, 3045 "column": 1 3046 } 3047 } 3048 }, 3049 "loc": { 3050 "start": { 3051 "line": 1, 3052 "column": 1 3053 }, 3054 "end": { 3055 "line": 1, 3056 "column": 1 3057 } 3058 } 3059 }, 3060 "definite": false, 3061 "decorators": [], 3062 "loc": { 3063 "start": { 3064 "line": 1, 3065 "column": 1 3066 }, 3067 "end": { 3068 "line": 1, 3069 "column": 1 3070 } 3071 } 3072 }, 3073 { 3074 "type": "ClassProperty", 3075 "key": { 3076 "type": "Identifier", 3077 "name": "StringValuesArray", 3078 "decorators": [], 3079 "loc": { 3080 "start": { 3081 "line": 1, 3082 "column": 1 3083 }, 3084 "end": { 3085 "line": 1, 3086 "column": 1 3087 } 3088 } 3089 }, 3090 "value": { 3091 "type": "ArrayExpression", 3092 "elements": [ 3093 { 3094 "type": "StringLiteral", 3095 "value": "0", 3096 "loc": { 3097 "start": { 3098 "line": 1, 3099 "column": 1 3100 }, 3101 "end": { 3102 "line": 1, 3103 "column": 1 3104 } 3105 } 3106 }, 3107 { 3108 "type": "StringLiteral", 3109 "value": "7", 3110 "loc": { 3111 "start": { 3112 "line": 1, 3113 "column": 1 3114 }, 3115 "end": { 3116 "line": 1, 3117 "column": 1 3118 } 3119 } 3120 }, 3121 { 3122 "type": "StringLiteral", 3123 "value": "8", 3124 "loc": { 3125 "start": { 3126 "line": 1, 3127 "column": 1 3128 }, 3129 "end": { 3130 "line": 1, 3131 "column": 1 3132 } 3133 } 3134 }, 3135 { 3136 "type": "StringLiteral", 3137 "value": "1", 3138 "loc": { 3139 "start": { 3140 "line": 1, 3141 "column": 1 3142 }, 3143 "end": { 3144 "line": 1, 3145 "column": 1 3146 } 3147 } 3148 } 3149 ], 3150 "loc": { 3151 "start": { 3152 "line": 1, 3153 "column": 1 3154 }, 3155 "end": { 3156 "line": 1, 3157 "column": 1 3158 } 3159 } 3160 }, 3161 "accessibility": "protected", 3162 "static": true, 3163 "readonly": false, 3164 "declare": false, 3165 "optional": false, 3166 "computed": false, 3167 "typeAnnotation": { 3168 "type": "TSArrayType", 3169 "elementType": { 3170 "type": "ETSTypeReference", 3171 "part": { 3172 "type": "ETSTypeReferencePart", 3173 "name": { 3174 "type": "Identifier", 3175 "name": "String", 3176 "decorators": [], 3177 "loc": { 3178 "start": { 3179 "line": 1, 3180 "column": 1 3181 }, 3182 "end": { 3183 "line": 1, 3184 "column": 1 3185 } 3186 } 3187 }, 3188 "loc": { 3189 "start": { 3190 "line": 1, 3191 "column": 1 3192 }, 3193 "end": { 3194 "line": 1, 3195 "column": 1 3196 } 3197 } 3198 }, 3199 "loc": { 3200 "start": { 3201 "line": 1, 3202 "column": 1 3203 }, 3204 "end": { 3205 "line": 1, 3206 "column": 1 3207 } 3208 } 3209 }, 3210 "loc": { 3211 "start": { 3212 "line": 1, 3213 "column": 1 3214 }, 3215 "end": { 3216 "line": 1, 3217 "column": 1 3218 } 3219 } 3220 }, 3221 "definite": false, 3222 "decorators": [], 3223 "loc": { 3224 "start": { 3225 "line": 1, 3226 "column": 1 3227 }, 3228 "end": { 3229 "line": 1, 3230 "column": 1 3231 } 3232 } 3233 }, 3234 { 3235 "type": "ClassProperty", 3236 "key": { 3237 "type": "Identifier", 3238 "name": "ItemsArray", 3239 "decorators": [], 3240 "loc": { 3241 "start": { 3242 "line": 1, 3243 "column": 1 3244 }, 3245 "end": { 3246 "line": 1, 3247 "column": 1 3248 } 3249 } 3250 }, 3251 "value": { 3252 "type": "ArrayExpression", 3253 "elements": [ 3254 { 3255 "type": "MemberExpression", 3256 "object": { 3257 "type": "Identifier", 3258 "name": "E1", 3259 "decorators": [], 3260 "loc": { 3261 "start": { 3262 "line": 1, 3263 "column": 1 3264 }, 3265 "end": { 3266 "line": 1, 3267 "column": 1 3268 } 3269 } 3270 }, 3271 "property": { 3272 "type": "Identifier", 3273 "name": "e1_item1", 3274 "decorators": [], 3275 "loc": { 3276 "start": { 3277 "line": 1, 3278 "column": 1 3279 }, 3280 "end": { 3281 "line": 1, 3282 "column": 1 3283 } 3284 } 3285 }, 3286 "computed": false, 3287 "optional": false, 3288 "loc": { 3289 "start": { 3290 "line": 1, 3291 "column": 1 3292 }, 3293 "end": { 3294 "line": 1, 3295 "column": 1 3296 } 3297 } 3298 }, 3299 { 3300 "type": "MemberExpression", 3301 "object": { 3302 "type": "Identifier", 3303 "name": "E1", 3304 "decorators": [], 3305 "loc": { 3306 "start": { 3307 "line": 1, 3308 "column": 1 3309 }, 3310 "end": { 3311 "line": 1, 3312 "column": 1 3313 } 3314 } 3315 }, 3316 "property": { 3317 "type": "Identifier", 3318 "name": "e1_item2", 3319 "decorators": [], 3320 "loc": { 3321 "start": { 3322 "line": 1, 3323 "column": 1 3324 }, 3325 "end": { 3326 "line": 1, 3327 "column": 1 3328 } 3329 } 3330 }, 3331 "computed": false, 3332 "optional": false, 3333 "loc": { 3334 "start": { 3335 "line": 1, 3336 "column": 1 3337 }, 3338 "end": { 3339 "line": 1, 3340 "column": 1 3341 } 3342 } 3343 }, 3344 { 3345 "type": "MemberExpression", 3346 "object": { 3347 "type": "Identifier", 3348 "name": "E1", 3349 "decorators": [], 3350 "loc": { 3351 "start": { 3352 "line": 1, 3353 "column": 1 3354 }, 3355 "end": { 3356 "line": 1, 3357 "column": 1 3358 } 3359 } 3360 }, 3361 "property": { 3362 "type": "Identifier", 3363 "name": "e1_item3", 3364 "decorators": [], 3365 "loc": { 3366 "start": { 3367 "line": 1, 3368 "column": 1 3369 }, 3370 "end": { 3371 "line": 1, 3372 "column": 1 3373 } 3374 } 3375 }, 3376 "computed": false, 3377 "optional": false, 3378 "loc": { 3379 "start": { 3380 "line": 1, 3381 "column": 1 3382 }, 3383 "end": { 3384 "line": 1, 3385 "column": 1 3386 } 3387 } 3388 }, 3389 { 3390 "type": "MemberExpression", 3391 "object": { 3392 "type": "Identifier", 3393 "name": "E1", 3394 "decorators": [], 3395 "loc": { 3396 "start": { 3397 "line": 1, 3398 "column": 1 3399 }, 3400 "end": { 3401 "line": 1, 3402 "column": 1 3403 } 3404 } 3405 }, 3406 "property": { 3407 "type": "Identifier", 3408 "name": "e1_item4", 3409 "decorators": [], 3410 "loc": { 3411 "start": { 3412 "line": 1, 3413 "column": 1 3414 }, 3415 "end": { 3416 "line": 1, 3417 "column": 1 3418 } 3419 } 3420 }, 3421 "computed": false, 3422 "optional": false, 3423 "loc": { 3424 "start": { 3425 "line": 1, 3426 "column": 1 3427 }, 3428 "end": { 3429 "line": 1, 3430 "column": 1 3431 } 3432 } 3433 } 3434 ], 3435 "loc": { 3436 "start": { 3437 "line": 1, 3438 "column": 1 3439 }, 3440 "end": { 3441 "line": 1, 3442 "column": 1 3443 } 3444 } 3445 }, 3446 "accessibility": "protected", 3447 "static": true, 3448 "readonly": false, 3449 "declare": false, 3450 "optional": false, 3451 "computed": false, 3452 "typeAnnotation": { 3453 "type": "TSArrayType", 3454 "elementType": { 3455 "type": "ETSTypeReference", 3456 "part": { 3457 "type": "ETSTypeReferencePart", 3458 "name": { 3459 "type": "Identifier", 3460 "name": "E1", 3461 "decorators": [], 3462 "loc": { 3463 "start": { 3464 "line": 1, 3465 "column": 1 3466 }, 3467 "end": { 3468 "line": 1, 3469 "column": 1 3470 } 3471 } 3472 }, 3473 "loc": { 3474 "start": { 3475 "line": 1, 3476 "column": 1 3477 }, 3478 "end": { 3479 "line": 1, 3480 "column": 1 3481 } 3482 } 3483 }, 3484 "loc": { 3485 "start": { 3486 "line": 1, 3487 "column": 1 3488 }, 3489 "end": { 3490 "line": 1, 3491 "column": 1 3492 } 3493 } 3494 }, 3495 "loc": { 3496 "start": { 3497 "line": 1, 3498 "column": 1 3499 }, 3500 "end": { 3501 "line": 1, 3502 "column": 1 3503 } 3504 } 3505 }, 3506 "definite": false, 3507 "decorators": [], 3508 "loc": { 3509 "start": { 3510 "line": 1, 3511 "column": 1 3512 }, 3513 "end": { 3514 "line": 1, 3515 "column": 1 3516 } 3517 } 3518 }, 3519 { 3520 "type": "ClassProperty", 3521 "key": { 3522 "type": "Identifier", 3523 "name": "BoxedItemsArray", 3524 "decorators": [], 3525 "loc": { 3526 "start": { 3527 "line": 1, 3528 "column": 1 3529 }, 3530 "end": { 3531 "line": 1, 3532 "column": 1 3533 } 3534 } 3535 }, 3536 "value": { 3537 "type": "ArrayExpression", 3538 "elements": [ 3539 { 3540 "type": "ETSNewClassInstanceExpression", 3541 "typeReference": { 3542 "type": "ETSTypeReference", 3543 "part": { 3544 "type": "ETSTypeReferencePart", 3545 "name": { 3546 "type": "Identifier", 3547 "name": "#E1", 3548 "decorators": [], 3549 "loc": { 3550 "start": { 3551 "line": 1, 3552 "column": 1 3553 }, 3554 "end": { 3555 "line": 1, 3556 "column": 1 3557 } 3558 } 3559 }, 3560 "loc": { 3561 "start": { 3562 "line": 1, 3563 "column": 1 3564 }, 3565 "end": { 3566 "line": 1, 3567 "column": 1 3568 } 3569 } 3570 }, 3571 "loc": { 3572 "start": { 3573 "line": 1, 3574 "column": 1 3575 }, 3576 "end": { 3577 "line": 1, 3578 "column": 1 3579 } 3580 } 3581 }, 3582 "arguments": [ 3583 { 3584 "type": "TSAsExpression", 3585 "expression": { 3586 "type": "MemberExpression", 3587 "object": { 3588 "type": "Identifier", 3589 "name": "E1", 3590 "decorators": [], 3591 "loc": { 3592 "start": { 3593 "line": 1, 3594 "column": 1 3595 }, 3596 "end": { 3597 "line": 1, 3598 "column": 1 3599 } 3600 } 3601 }, 3602 "property": { 3603 "type": "Identifier", 3604 "name": "e1_item1", 3605 "decorators": [], 3606 "loc": { 3607 "start": { 3608 "line": 1, 3609 "column": 1 3610 }, 3611 "end": { 3612 "line": 1, 3613 "column": 1 3614 } 3615 } 3616 }, 3617 "computed": false, 3618 "optional": false, 3619 "loc": { 3620 "start": { 3621 "line": 1, 3622 "column": 1 3623 }, 3624 "end": { 3625 "line": 1, 3626 "column": 1 3627 } 3628 } 3629 }, 3630 "typeAnnotation": { 3631 "type": "ETSPrimitiveType", 3632 "loc": { 3633 "start": { 3634 "line": 1, 3635 "column": 1 3636 }, 3637 "end": { 3638 "line": 1, 3639 "column": 1 3640 } 3641 } 3642 }, 3643 "loc": { 3644 "start": { 3645 "line": 1, 3646 "column": 1 3647 }, 3648 "end": { 3649 "line": 1, 3650 "column": 1 3651 } 3652 } 3653 } 3654 ], 3655 "loc": { 3656 "start": { 3657 "line": 1, 3658 "column": 1 3659 }, 3660 "end": { 3661 "line": 1, 3662 "column": 1 3663 } 3664 } 3665 }, 3666 { 3667 "type": "ETSNewClassInstanceExpression", 3668 "typeReference": { 3669 "type": "ETSTypeReference", 3670 "part": { 3671 "type": "ETSTypeReferencePart", 3672 "name": { 3673 "type": "Identifier", 3674 "name": "#E1", 3675 "decorators": [], 3676 "loc": { 3677 "start": { 3678 "line": 1, 3679 "column": 1 3680 }, 3681 "end": { 3682 "line": 1, 3683 "column": 1 3684 } 3685 } 3686 }, 3687 "loc": { 3688 "start": { 3689 "line": 1, 3690 "column": 1 3691 }, 3692 "end": { 3693 "line": 1, 3694 "column": 1 3695 } 3696 } 3697 }, 3698 "loc": { 3699 "start": { 3700 "line": 1, 3701 "column": 1 3702 }, 3703 "end": { 3704 "line": 1, 3705 "column": 1 3706 } 3707 } 3708 }, 3709 "arguments": [ 3710 { 3711 "type": "TSAsExpression", 3712 "expression": { 3713 "type": "MemberExpression", 3714 "object": { 3715 "type": "Identifier", 3716 "name": "E1", 3717 "decorators": [], 3718 "loc": { 3719 "start": { 3720 "line": 1, 3721 "column": 1 3722 }, 3723 "end": { 3724 "line": 1, 3725 "column": 1 3726 } 3727 } 3728 }, 3729 "property": { 3730 "type": "Identifier", 3731 "name": "e1_item2", 3732 "decorators": [], 3733 "loc": { 3734 "start": { 3735 "line": 1, 3736 "column": 1 3737 }, 3738 "end": { 3739 "line": 1, 3740 "column": 1 3741 } 3742 } 3743 }, 3744 "computed": false, 3745 "optional": false, 3746 "loc": { 3747 "start": { 3748 "line": 1, 3749 "column": 1 3750 }, 3751 "end": { 3752 "line": 1, 3753 "column": 1 3754 } 3755 } 3756 }, 3757 "typeAnnotation": { 3758 "type": "ETSPrimitiveType", 3759 "loc": { 3760 "start": { 3761 "line": 1, 3762 "column": 1 3763 }, 3764 "end": { 3765 "line": 1, 3766 "column": 1 3767 } 3768 } 3769 }, 3770 "loc": { 3771 "start": { 3772 "line": 1, 3773 "column": 1 3774 }, 3775 "end": { 3776 "line": 1, 3777 "column": 1 3778 } 3779 } 3780 } 3781 ], 3782 "loc": { 3783 "start": { 3784 "line": 1, 3785 "column": 1 3786 }, 3787 "end": { 3788 "line": 1, 3789 "column": 1 3790 } 3791 } 3792 }, 3793 { 3794 "type": "ETSNewClassInstanceExpression", 3795 "typeReference": { 3796 "type": "ETSTypeReference", 3797 "part": { 3798 "type": "ETSTypeReferencePart", 3799 "name": { 3800 "type": "Identifier", 3801 "name": "#E1", 3802 "decorators": [], 3803 "loc": { 3804 "start": { 3805 "line": 1, 3806 "column": 1 3807 }, 3808 "end": { 3809 "line": 1, 3810 "column": 1 3811 } 3812 } 3813 }, 3814 "loc": { 3815 "start": { 3816 "line": 1, 3817 "column": 1 3818 }, 3819 "end": { 3820 "line": 1, 3821 "column": 1 3822 } 3823 } 3824 }, 3825 "loc": { 3826 "start": { 3827 "line": 1, 3828 "column": 1 3829 }, 3830 "end": { 3831 "line": 1, 3832 "column": 1 3833 } 3834 } 3835 }, 3836 "arguments": [ 3837 { 3838 "type": "TSAsExpression", 3839 "expression": { 3840 "type": "MemberExpression", 3841 "object": { 3842 "type": "Identifier", 3843 "name": "E1", 3844 "decorators": [], 3845 "loc": { 3846 "start": { 3847 "line": 1, 3848 "column": 1 3849 }, 3850 "end": { 3851 "line": 1, 3852 "column": 1 3853 } 3854 } 3855 }, 3856 "property": { 3857 "type": "Identifier", 3858 "name": "e1_item3", 3859 "decorators": [], 3860 "loc": { 3861 "start": { 3862 "line": 1, 3863 "column": 1 3864 }, 3865 "end": { 3866 "line": 1, 3867 "column": 1 3868 } 3869 } 3870 }, 3871 "computed": false, 3872 "optional": false, 3873 "loc": { 3874 "start": { 3875 "line": 1, 3876 "column": 1 3877 }, 3878 "end": { 3879 "line": 1, 3880 "column": 1 3881 } 3882 } 3883 }, 3884 "typeAnnotation": { 3885 "type": "ETSPrimitiveType", 3886 "loc": { 3887 "start": { 3888 "line": 1, 3889 "column": 1 3890 }, 3891 "end": { 3892 "line": 1, 3893 "column": 1 3894 } 3895 } 3896 }, 3897 "loc": { 3898 "start": { 3899 "line": 1, 3900 "column": 1 3901 }, 3902 "end": { 3903 "line": 1, 3904 "column": 1 3905 } 3906 } 3907 } 3908 ], 3909 "loc": { 3910 "start": { 3911 "line": 1, 3912 "column": 1 3913 }, 3914 "end": { 3915 "line": 1, 3916 "column": 1 3917 } 3918 } 3919 }, 3920 { 3921 "type": "ETSNewClassInstanceExpression", 3922 "typeReference": { 3923 "type": "ETSTypeReference", 3924 "part": { 3925 "type": "ETSTypeReferencePart", 3926 "name": { 3927 "type": "Identifier", 3928 "name": "#E1", 3929 "decorators": [], 3930 "loc": { 3931 "start": { 3932 "line": 1, 3933 "column": 1 3934 }, 3935 "end": { 3936 "line": 1, 3937 "column": 1 3938 } 3939 } 3940 }, 3941 "loc": { 3942 "start": { 3943 "line": 1, 3944 "column": 1 3945 }, 3946 "end": { 3947 "line": 1, 3948 "column": 1 3949 } 3950 } 3951 }, 3952 "loc": { 3953 "start": { 3954 "line": 1, 3955 "column": 1 3956 }, 3957 "end": { 3958 "line": 1, 3959 "column": 1 3960 } 3961 } 3962 }, 3963 "arguments": [ 3964 { 3965 "type": "TSAsExpression", 3966 "expression": { 3967 "type": "MemberExpression", 3968 "object": { 3969 "type": "Identifier", 3970 "name": "E1", 3971 "decorators": [], 3972 "loc": { 3973 "start": { 3974 "line": 1, 3975 "column": 1 3976 }, 3977 "end": { 3978 "line": 1, 3979 "column": 1 3980 } 3981 } 3982 }, 3983 "property": { 3984 "type": "Identifier", 3985 "name": "e1_item4", 3986 "decorators": [], 3987 "loc": { 3988 "start": { 3989 "line": 1, 3990 "column": 1 3991 }, 3992 "end": { 3993 "line": 1, 3994 "column": 1 3995 } 3996 } 3997 }, 3998 "computed": false, 3999 "optional": false, 4000 "loc": { 4001 "start": { 4002 "line": 1, 4003 "column": 1 4004 }, 4005 "end": { 4006 "line": 1, 4007 "column": 1 4008 } 4009 } 4010 }, 4011 "typeAnnotation": { 4012 "type": "ETSPrimitiveType", 4013 "loc": { 4014 "start": { 4015 "line": 1, 4016 "column": 1 4017 }, 4018 "end": { 4019 "line": 1, 4020 "column": 1 4021 } 4022 } 4023 }, 4024 "loc": { 4025 "start": { 4026 "line": 1, 4027 "column": 1 4028 }, 4029 "end": { 4030 "line": 1, 4031 "column": 1 4032 } 4033 } 4034 } 4035 ], 4036 "loc": { 4037 "start": { 4038 "line": 1, 4039 "column": 1 4040 }, 4041 "end": { 4042 "line": 1, 4043 "column": 1 4044 } 4045 } 4046 } 4047 ], 4048 "loc": { 4049 "start": { 4050 "line": 1, 4051 "column": 1 4052 }, 4053 "end": { 4054 "line": 1, 4055 "column": 1 4056 } 4057 } 4058 }, 4059 "accessibility": "protected", 4060 "static": true, 4061 "readonly": false, 4062 "declare": false, 4063 "optional": false, 4064 "computed": false, 4065 "typeAnnotation": { 4066 "type": "TSArrayType", 4067 "elementType": { 4068 "type": "ETSTypeReference", 4069 "part": { 4070 "type": "ETSTypeReferencePart", 4071 "name": { 4072 "type": "Identifier", 4073 "name": "#E1", 4074 "decorators": [], 4075 "loc": { 4076 "start": { 4077 "line": 1, 4078 "column": 1 4079 }, 4080 "end": { 4081 "line": 1, 4082 "column": 1 4083 } 4084 } 4085 }, 4086 "loc": { 4087 "start": { 4088 "line": 1, 4089 "column": 1 4090 }, 4091 "end": { 4092 "line": 1, 4093 "column": 1 4094 } 4095 } 4096 }, 4097 "loc": { 4098 "start": { 4099 "line": 1, 4100 "column": 1 4101 }, 4102 "end": { 4103 "line": 1, 4104 "column": 1 4105 } 4106 } 4107 }, 4108 "loc": { 4109 "start": { 4110 "line": 1, 4111 "column": 1 4112 }, 4113 "end": { 4114 "line": 1, 4115 "column": 1 4116 } 4117 } 4118 }, 4119 "definite": false, 4120 "decorators": [], 4121 "loc": { 4122 "start": { 4123 "line": 1, 4124 "column": 1 4125 }, 4126 "end": { 4127 "line": 1, 4128 "column": 1 4129 } 4130 } 4131 }, 4132 { 4133 "type": "MethodDefinition", 4134 "key": { 4135 "type": "Identifier", 4136 "name": "getName", 4137 "decorators": [], 4138 "loc": { 4139 "start": { 4140 "line": 1, 4141 "column": 1 4142 }, 4143 "end": { 4144 "line": 1, 4145 "column": 1 4146 } 4147 } 4148 }, 4149 "kind": "method", 4150 "accessibility": "public", 4151 "static": true, 4152 "optional": false, 4153 "computed": false, 4154 "value": { 4155 "type": "FunctionExpression", 4156 "function": { 4157 "type": "ScriptFunction", 4158 "id": { 4159 "type": "Identifier", 4160 "name": "getName", 4161 "decorators": [], 4162 "loc": { 4163 "start": { 4164 "line": 1, 4165 "column": 1 4166 }, 4167 "end": { 4168 "line": 1, 4169 "column": 1 4170 } 4171 } 4172 }, 4173 "generator": false, 4174 "async": false, 4175 "expression": false, 4176 "params": [ 4177 { 4178 "type": "ETSParameterExpression", 4179 "name": { 4180 "type": "Identifier", 4181 "name": "ordinal", 4182 "typeAnnotation": { 4183 "type": "ETSTypeReference", 4184 "part": { 4185 "type": "ETSTypeReferencePart", 4186 "name": { 4187 "type": "Identifier", 4188 "name": "E1", 4189 "decorators": [], 4190 "loc": { 4191 "start": { 4192 "line": 1, 4193 "column": 1 4194 }, 4195 "end": { 4196 "line": 1, 4197 "column": 1 4198 } 4199 } 4200 }, 4201 "loc": { 4202 "start": { 4203 "line": 1, 4204 "column": 1 4205 }, 4206 "end": { 4207 "line": 1, 4208 "column": 1 4209 } 4210 } 4211 }, 4212 "loc": { 4213 "start": { 4214 "line": 1, 4215 "column": 1 4216 }, 4217 "end": { 4218 "line": 1, 4219 "column": 1 4220 } 4221 } 4222 }, 4223 "decorators": [], 4224 "loc": { 4225 "start": { 4226 "line": 1, 4227 "column": 1 4228 }, 4229 "end": { 4230 "line": 1, 4231 "column": 1 4232 } 4233 } 4234 }, 4235 "loc": { 4236 "start": { 4237 "line": 1, 4238 "column": 1 4239 }, 4240 "end": { 4241 "line": 1, 4242 "column": 1 4243 } 4244 } 4245 } 4246 ], 4247 "returnType": { 4248 "type": "ETSTypeReference", 4249 "part": { 4250 "type": "ETSTypeReferencePart", 4251 "name": { 4252 "type": "Identifier", 4253 "name": "String", 4254 "decorators": [], 4255 "loc": { 4256 "start": { 4257 "line": 1, 4258 "column": 1 4259 }, 4260 "end": { 4261 "line": 1, 4262 "column": 1 4263 } 4264 } 4265 }, 4266 "loc": { 4267 "start": { 4268 "line": 1, 4269 "column": 1 4270 }, 4271 "end": { 4272 "line": 1, 4273 "column": 1 4274 } 4275 } 4276 }, 4277 "loc": { 4278 "start": { 4279 "line": 1, 4280 "column": 1 4281 }, 4282 "end": { 4283 "line": 1, 4284 "column": 1 4285 } 4286 } 4287 }, 4288 "body": { 4289 "type": "BlockStatement", 4290 "statements": [ 4291 { 4292 "type": "ReturnStatement", 4293 "argument": { 4294 "type": "MemberExpression", 4295 "object": { 4296 "type": "Identifier", 4297 "name": "NamesArray", 4298 "decorators": [], 4299 "loc": { 4300 "start": { 4301 "line": 1, 4302 "column": 1 4303 }, 4304 "end": { 4305 "line": 1, 4306 "column": 1 4307 } 4308 } 4309 }, 4310 "property": { 4311 "type": "TSAsExpression", 4312 "expression": { 4313 "type": "Identifier", 4314 "name": "ordinal", 4315 "decorators": [], 4316 "loc": { 4317 "start": { 4318 "line": 1, 4319 "column": 1 4320 }, 4321 "end": { 4322 "line": 1, 4323 "column": 1 4324 } 4325 } 4326 }, 4327 "typeAnnotation": { 4328 "type": "ETSPrimitiveType", 4329 "loc": { 4330 "start": { 4331 "line": 1, 4332 "column": 1 4333 }, 4334 "end": { 4335 "line": 1, 4336 "column": 1 4337 } 4338 } 4339 }, 4340 "loc": { 4341 "start": { 4342 "line": 1, 4343 "column": 1 4344 }, 4345 "end": { 4346 "line": 1, 4347 "column": 1 4348 } 4349 } 4350 }, 4351 "computed": true, 4352 "optional": false, 4353 "loc": { 4354 "start": { 4355 "line": 1, 4356 "column": 1 4357 }, 4358 "end": { 4359 "line": 1, 4360 "column": 1 4361 } 4362 } 4363 }, 4364 "loc": { 4365 "start": { 4366 "line": 1, 4367 "column": 1 4368 }, 4369 "end": { 4370 "line": 1, 4371 "column": 1 4372 } 4373 } 4374 } 4375 ], 4376 "loc": { 4377 "start": { 4378 "line": 1, 4379 "column": 1 4380 }, 4381 "end": { 4382 "line": 1, 4383 "column": 1 4384 } 4385 } 4386 }, 4387 "loc": { 4388 "start": { 4389 "line": 1, 4390 "column": 1 4391 }, 4392 "end": { 4393 "line": 1, 4394 "column": 1 4395 } 4396 } 4397 }, 4398 "loc": { 4399 "start": { 4400 "line": 1, 4401 "column": 1 4402 }, 4403 "end": { 4404 "line": 1, 4405 "column": 1 4406 } 4407 } 4408 }, 4409 "overloads": [], 4410 "decorators": [], 4411 "loc": { 4412 "start": { 4413 "line": 1, 4414 "column": 1 4415 }, 4416 "end": { 4417 "line": 1, 4418 "column": 1 4419 } 4420 } 4421 }, 4422 { 4423 "type": "MethodDefinition", 4424 "key": { 4425 "type": "Identifier", 4426 "name": "getValueOf", 4427 "decorators": [], 4428 "loc": { 4429 "start": { 4430 "line": 1, 4431 "column": 1 4432 }, 4433 "end": { 4434 "line": 1, 4435 "column": 1 4436 } 4437 } 4438 }, 4439 "kind": "method", 4440 "accessibility": "public", 4441 "static": true, 4442 "optional": false, 4443 "computed": false, 4444 "value": { 4445 "type": "FunctionExpression", 4446 "function": { 4447 "type": "ScriptFunction", 4448 "id": { 4449 "type": "Identifier", 4450 "name": "getValueOf", 4451 "decorators": [], 4452 "loc": { 4453 "start": { 4454 "line": 1, 4455 "column": 1 4456 }, 4457 "end": { 4458 "line": 1, 4459 "column": 1 4460 } 4461 } 4462 }, 4463 "generator": false, 4464 "async": false, 4465 "expression": false, 4466 "params": [ 4467 { 4468 "type": "ETSParameterExpression", 4469 "name": { 4470 "type": "Identifier", 4471 "name": "name", 4472 "typeAnnotation": { 4473 "type": "ETSTypeReference", 4474 "part": { 4475 "type": "ETSTypeReferencePart", 4476 "name": { 4477 "type": "Identifier", 4478 "name": "String", 4479 "decorators": [], 4480 "loc": { 4481 "start": { 4482 "line": 1, 4483 "column": 1 4484 }, 4485 "end": { 4486 "line": 1, 4487 "column": 1 4488 } 4489 } 4490 }, 4491 "loc": { 4492 "start": { 4493 "line": 1, 4494 "column": 1 4495 }, 4496 "end": { 4497 "line": 1, 4498 "column": 1 4499 } 4500 } 4501 }, 4502 "loc": { 4503 "start": { 4504 "line": 1, 4505 "column": 1 4506 }, 4507 "end": { 4508 "line": 1, 4509 "column": 1 4510 } 4511 } 4512 }, 4513 "decorators": [], 4514 "loc": { 4515 "start": { 4516 "line": 1, 4517 "column": 1 4518 }, 4519 "end": { 4520 "line": 1, 4521 "column": 1 4522 } 4523 } 4524 }, 4525 "loc": { 4526 "start": { 4527 "line": 1, 4528 "column": 1 4529 }, 4530 "end": { 4531 "line": 1, 4532 "column": 1 4533 } 4534 } 4535 } 4536 ], 4537 "returnType": { 4538 "type": "ETSTypeReference", 4539 "part": { 4540 "type": "ETSTypeReferencePart", 4541 "name": { 4542 "type": "Identifier", 4543 "name": "E1", 4544 "decorators": [], 4545 "loc": { 4546 "start": { 4547 "line": 1, 4548 "column": 1 4549 }, 4550 "end": { 4551 "line": 1, 4552 "column": 1 4553 } 4554 } 4555 }, 4556 "loc": { 4557 "start": { 4558 "line": 1, 4559 "column": 1 4560 }, 4561 "end": { 4562 "line": 1, 4563 "column": 1 4564 } 4565 } 4566 }, 4567 "loc": { 4568 "start": { 4569 "line": 1, 4570 "column": 1 4571 }, 4572 "end": { 4573 "line": 1, 4574 "column": 1 4575 } 4576 } 4577 }, 4578 "body": { 4579 "type": "BlockStatement", 4580 "statements": [ 4581 { 4582 "type": "ForUpdateStatement", 4583 "init": { 4584 "type": "VariableDeclaration", 4585 "declarations": [ 4586 { 4587 "type": "VariableDeclarator", 4588 "id": { 4589 "type": "Identifier", 4590 "name": "i", 4591 "decorators": [], 4592 "loc": { 4593 "start": { 4594 "line": 1, 4595 "column": 1 4596 }, 4597 "end": { 4598 "line": 1, 4599 "column": 1 4600 } 4601 } 4602 }, 4603 "init": { 4604 "type": "NumberLiteral", 4605 "value": 0, 4606 "loc": { 4607 "start": { 4608 "line": 1, 4609 "column": 1 4610 }, 4611 "end": { 4612 "line": 1, 4613 "column": 1 4614 } 4615 } 4616 }, 4617 "loc": { 4618 "start": { 4619 "line": 1, 4620 "column": 1 4621 }, 4622 "end": { 4623 "line": 1, 4624 "column": 1 4625 } 4626 } 4627 } 4628 ], 4629 "kind": "let", 4630 "loc": { 4631 "start": { 4632 "line": 1, 4633 "column": 1 4634 }, 4635 "end": { 4636 "line": 1, 4637 "column": 1 4638 } 4639 } 4640 }, 4641 "test": { 4642 "type": "BinaryExpression", 4643 "operator": "<", 4644 "left": { 4645 "type": "Identifier", 4646 "name": "i", 4647 "decorators": [], 4648 "loc": { 4649 "start": { 4650 "line": 1, 4651 "column": 1 4652 }, 4653 "end": { 4654 "line": 1, 4655 "column": 1 4656 } 4657 } 4658 }, 4659 "right": { 4660 "type": "MemberExpression", 4661 "object": { 4662 "type": "Identifier", 4663 "name": "NamesArray", 4664 "decorators": [], 4665 "loc": { 4666 "start": { 4667 "line": 1, 4668 "column": 1 4669 }, 4670 "end": { 4671 "line": 1, 4672 "column": 1 4673 } 4674 } 4675 }, 4676 "property": { 4677 "type": "Identifier", 4678 "name": "length", 4679 "decorators": [], 4680 "loc": { 4681 "start": { 4682 "line": 1, 4683 "column": 1 4684 }, 4685 "end": { 4686 "line": 1, 4687 "column": 1 4688 } 4689 } 4690 }, 4691 "computed": false, 4692 "optional": false, 4693 "loc": { 4694 "start": { 4695 "line": 1, 4696 "column": 1 4697 }, 4698 "end": { 4699 "line": 1, 4700 "column": 1 4701 } 4702 } 4703 }, 4704 "loc": { 4705 "start": { 4706 "line": 1, 4707 "column": 1 4708 }, 4709 "end": { 4710 "line": 1, 4711 "column": 1 4712 } 4713 } 4714 }, 4715 "update": { 4716 "type": "UpdateExpression", 4717 "operator": "++", 4718 "prefix": true, 4719 "argument": { 4720 "type": "Identifier", 4721 "name": "i", 4722 "decorators": [], 4723 "loc": { 4724 "start": { 4725 "line": 1, 4726 "column": 1 4727 }, 4728 "end": { 4729 "line": 1, 4730 "column": 1 4731 } 4732 } 4733 }, 4734 "loc": { 4735 "start": { 4736 "line": 1, 4737 "column": 1 4738 }, 4739 "end": { 4740 "line": 1, 4741 "column": 1 4742 } 4743 } 4744 }, 4745 "body": { 4746 "type": "IfStatement", 4747 "test": { 4748 "type": "BinaryExpression", 4749 "operator": "==", 4750 "left": { 4751 "type": "Identifier", 4752 "name": "name", 4753 "decorators": [], 4754 "loc": { 4755 "start": { 4756 "line": 1, 4757 "column": 1 4758 }, 4759 "end": { 4760 "line": 1, 4761 "column": 1 4762 } 4763 } 4764 }, 4765 "right": { 4766 "type": "MemberExpression", 4767 "object": { 4768 "type": "Identifier", 4769 "name": "NamesArray", 4770 "decorators": [], 4771 "loc": { 4772 "start": { 4773 "line": 1, 4774 "column": 1 4775 }, 4776 "end": { 4777 "line": 1, 4778 "column": 1 4779 } 4780 } 4781 }, 4782 "property": { 4783 "type": "Identifier", 4784 "name": "i", 4785 "decorators": [], 4786 "loc": { 4787 "start": { 4788 "line": 1, 4789 "column": 1 4790 }, 4791 "end": { 4792 "line": 1, 4793 "column": 1 4794 } 4795 } 4796 }, 4797 "computed": true, 4798 "optional": false, 4799 "loc": { 4800 "start": { 4801 "line": 1, 4802 "column": 1 4803 }, 4804 "end": { 4805 "line": 1, 4806 "column": 1 4807 } 4808 } 4809 }, 4810 "loc": { 4811 "start": { 4812 "line": 1, 4813 "column": 1 4814 }, 4815 "end": { 4816 "line": 1, 4817 "column": 1 4818 } 4819 } 4820 }, 4821 "consequent": { 4822 "type": "ReturnStatement", 4823 "argument": { 4824 "type": "TSAsExpression", 4825 "expression": { 4826 "type": "Identifier", 4827 "name": "i", 4828 "decorators": [], 4829 "loc": { 4830 "start": { 4831 "line": 1, 4832 "column": 1 4833 }, 4834 "end": { 4835 "line": 1, 4836 "column": 1 4837 } 4838 } 4839 }, 4840 "typeAnnotation": { 4841 "type": "ETSTypeReference", 4842 "part": { 4843 "type": "ETSTypeReferencePart", 4844 "name": { 4845 "type": "Identifier", 4846 "name": "E1", 4847 "decorators": [], 4848 "loc": { 4849 "start": { 4850 "line": 1, 4851 "column": 1 4852 }, 4853 "end": { 4854 "line": 1, 4855 "column": 1 4856 } 4857 } 4858 }, 4859 "loc": { 4860 "start": { 4861 "line": 1, 4862 "column": 1 4863 }, 4864 "end": { 4865 "line": 1, 4866 "column": 1 4867 } 4868 } 4869 }, 4870 "loc": { 4871 "start": { 4872 "line": 1, 4873 "column": 1 4874 }, 4875 "end": { 4876 "line": 1, 4877 "column": 1 4878 } 4879 } 4880 }, 4881 "loc": { 4882 "start": { 4883 "line": 1, 4884 "column": 1 4885 }, 4886 "end": { 4887 "line": 1, 4888 "column": 1 4889 } 4890 } 4891 }, 4892 "loc": { 4893 "start": { 4894 "line": 1, 4895 "column": 1 4896 }, 4897 "end": { 4898 "line": 1, 4899 "column": 1 4900 } 4901 } 4902 }, 4903 "alternate": null, 4904 "loc": { 4905 "start": { 4906 "line": 1, 4907 "column": 1 4908 }, 4909 "end": { 4910 "line": 1, 4911 "column": 1 4912 } 4913 } 4914 }, 4915 "loc": { 4916 "start": { 4917 "line": 1, 4918 "column": 1 4919 }, 4920 "end": { 4921 "line": 1, 4922 "column": 1 4923 } 4924 } 4925 }, 4926 { 4927 "type": "ThrowStatement", 4928 "argument": { 4929 "type": "ETSNewClassInstanceExpression", 4930 "typeReference": { 4931 "type": "ETSTypeReference", 4932 "part": { 4933 "type": "ETSTypeReferencePart", 4934 "name": { 4935 "type": "Identifier", 4936 "name": "Exception", 4937 "decorators": [], 4938 "loc": { 4939 "start": { 4940 "line": 1, 4941 "column": 1 4942 }, 4943 "end": { 4944 "line": 1, 4945 "column": 1 4946 } 4947 } 4948 }, 4949 "loc": { 4950 "start": { 4951 "line": 1, 4952 "column": 1 4953 }, 4954 "end": { 4955 "line": 1, 4956 "column": 1 4957 } 4958 } 4959 }, 4960 "loc": { 4961 "start": { 4962 "line": 1, 4963 "column": 1 4964 }, 4965 "end": { 4966 "line": 1, 4967 "column": 1 4968 } 4969 } 4970 }, 4971 "arguments": [ 4972 { 4973 "type": "BinaryExpression", 4974 "operator": "+", 4975 "left": { 4976 "type": "StringLiteral", 4977 "value": "No enum constant E1.", 4978 "loc": { 4979 "start": { 4980 "line": 1, 4981 "column": 1 4982 }, 4983 "end": { 4984 "line": 1, 4985 "column": 1 4986 } 4987 } 4988 }, 4989 "right": { 4990 "type": "Identifier", 4991 "name": "name", 4992 "decorators": [], 4993 "loc": { 4994 "start": { 4995 "line": 1, 4996 "column": 1 4997 }, 4998 "end": { 4999 "line": 1, 5000 "column": 1 5001 } 5002 } 5003 }, 5004 "loc": { 5005 "start": { 5006 "line": 1, 5007 "column": 1 5008 }, 5009 "end": { 5010 "line": 1, 5011 "column": 1 5012 } 5013 } 5014 } 5015 ], 5016 "loc": { 5017 "start": { 5018 "line": 1, 5019 "column": 1 5020 }, 5021 "end": { 5022 "line": 1, 5023 "column": 1 5024 } 5025 } 5026 }, 5027 "loc": { 5028 "start": { 5029 "line": 1, 5030 "column": 1 5031 }, 5032 "end": { 5033 "line": 1, 5034 "column": 1 5035 } 5036 } 5037 } 5038 ], 5039 "loc": { 5040 "start": { 5041 "line": 1, 5042 "column": 1 5043 }, 5044 "end": { 5045 "line": 1, 5046 "column": 1 5047 } 5048 } 5049 } 5050 "throwMarker": "throws", 5051 "loc": { 5052 "start": { 5053 "line": 1, 5054 "column": 1 5055 }, 5056 "end": { 5057 "line": 1, 5058 "column": 1 5059 } 5060 } 5061 }, 5062 "loc": { 5063 "start": { 5064 "line": 1, 5065 "column": 1 5066 }, 5067 "end": { 5068 "line": 1, 5069 "column": 1 5070 } 5071 } 5072 }, 5073 "overloads": [], 5074 "decorators": [], 5075 "loc": { 5076 "start": { 5077 "line": 1, 5078 "column": 1 5079 }, 5080 "end": { 5081 "line": 1, 5082 "column": 1 5083 } 5084 } 5085 }, 5086 { 5087 "type": "MethodDefinition", 5088 "key": { 5089 "type": "Identifier", 5090 "name": "valueOf", 5091 "decorators": [], 5092 "loc": { 5093 "start": { 5094 "line": 1, 5095 "column": 1 5096 }, 5097 "end": { 5098 "line": 1, 5099 "column": 1 5100 } 5101 } 5102 }, 5103 "kind": "method", 5104 "accessibility": "public", 5105 "static": true, 5106 "optional": false, 5107 "computed": false, 5108 "value": { 5109 "type": "FunctionExpression", 5110 "function": { 5111 "type": "ScriptFunction", 5112 "id": { 5113 "type": "Identifier", 5114 "name": "valueOf", 5115 "decorators": [], 5116 "loc": { 5117 "start": { 5118 "line": 1, 5119 "column": 1 5120 }, 5121 "end": { 5122 "line": 1, 5123 "column": 1 5124 } 5125 } 5126 }, 5127 "generator": false, 5128 "async": false, 5129 "expression": false, 5130 "params": [ 5131 { 5132 "type": "ETSParameterExpression", 5133 "name": { 5134 "type": "Identifier", 5135 "name": "e", 5136 "typeAnnotation": { 5137 "type": "ETSTypeReference", 5138 "part": { 5139 "type": "ETSTypeReferencePart", 5140 "name": { 5141 "type": "Identifier", 5142 "name": "E1", 5143 "decorators": [], 5144 "loc": { 5145 "start": { 5146 "line": 1, 5147 "column": 1 5148 }, 5149 "end": { 5150 "line": 1, 5151 "column": 1 5152 } 5153 } 5154 }, 5155 "loc": { 5156 "start": { 5157 "line": 1, 5158 "column": 1 5159 }, 5160 "end": { 5161 "line": 1, 5162 "column": 1 5163 } 5164 } 5165 }, 5166 "loc": { 5167 "start": { 5168 "line": 1, 5169 "column": 1 5170 }, 5171 "end": { 5172 "line": 1, 5173 "column": 1 5174 } 5175 } 5176 }, 5177 "decorators": [], 5178 "loc": { 5179 "start": { 5180 "line": 1, 5181 "column": 1 5182 }, 5183 "end": { 5184 "line": 1, 5185 "column": 1 5186 } 5187 } 5188 }, 5189 "loc": { 5190 "start": { 5191 "line": 1, 5192 "column": 1 5193 }, 5194 "end": { 5195 "line": 1, 5196 "column": 1 5197 } 5198 } 5199 } 5200 ], 5201 "returnType": { 5202 "type": "ETSPrimitiveType", 5203 "loc": { 5204 "start": { 5205 "line": 1, 5206 "column": 1 5207 }, 5208 "end": { 5209 "line": 1, 5210 "column": 1 5211 } 5212 } 5213 }, 5214 "body": { 5215 "type": "BlockStatement", 5216 "statements": [ 5217 { 5218 "type": "ReturnStatement", 5219 "argument": { 5220 "type": "MemberExpression", 5221 "object": { 5222 "type": "Identifier", 5223 "name": "ValuesArray", 5224 "decorators": [], 5225 "loc": { 5226 "start": { 5227 "line": 1, 5228 "column": 1 5229 }, 5230 "end": { 5231 "line": 1, 5232 "column": 1 5233 } 5234 } 5235 }, 5236 "property": { 5237 "type": "TSAsExpression", 5238 "expression": { 5239 "type": "Identifier", 5240 "name": "e", 5241 "decorators": [], 5242 "loc": { 5243 "start": { 5244 "line": 1, 5245 "column": 1 5246 }, 5247 "end": { 5248 "line": 1, 5249 "column": 1 5250 } 5251 } 5252 }, 5253 "typeAnnotation": { 5254 "type": "ETSPrimitiveType", 5255 "loc": { 5256 "start": { 5257 "line": 1, 5258 "column": 1 5259 }, 5260 "end": { 5261 "line": 1, 5262 "column": 1 5263 } 5264 } 5265 }, 5266 "loc": { 5267 "start": { 5268 "line": 1, 5269 "column": 1 5270 }, 5271 "end": { 5272 "line": 1, 5273 "column": 1 5274 } 5275 } 5276 }, 5277 "computed": true, 5278 "optional": false, 5279 "loc": { 5280 "start": { 5281 "line": 1, 5282 "column": 1 5283 }, 5284 "end": { 5285 "line": 1, 5286 "column": 1 5287 } 5288 } 5289 }, 5290 "loc": { 5291 "start": { 5292 "line": 1, 5293 "column": 1 5294 }, 5295 "end": { 5296 "line": 1, 5297 "column": 1 5298 } 5299 } 5300 } 5301 ], 5302 "loc": { 5303 "start": { 5304 "line": 1, 5305 "column": 1 5306 }, 5307 "end": { 5308 "line": 1, 5309 "column": 1 5310 } 5311 } 5312 }, 5313 "loc": { 5314 "start": { 5315 "line": 1, 5316 "column": 1 5317 }, 5318 "end": { 5319 "line": 1, 5320 "column": 1 5321 } 5322 } 5323 }, 5324 "loc": { 5325 "start": { 5326 "line": 1, 5327 "column": 1 5328 }, 5329 "end": { 5330 "line": 1, 5331 "column": 1 5332 } 5333 } 5334 }, 5335 "overloads": [], 5336 "decorators": [], 5337 "loc": { 5338 "start": { 5339 "line": 1, 5340 "column": 1 5341 }, 5342 "end": { 5343 "line": 1, 5344 "column": 1 5345 } 5346 } 5347 }, 5348 { 5349 "type": "MethodDefinition", 5350 "key": { 5351 "type": "Identifier", 5352 "name": "toString", 5353 "decorators": [], 5354 "loc": { 5355 "start": { 5356 "line": 1, 5357 "column": 1 5358 }, 5359 "end": { 5360 "line": 1, 5361 "column": 1 5362 } 5363 } 5364 }, 5365 "kind": "method", 5366 "accessibility": "public", 5367 "static": true, 5368 "optional": false, 5369 "computed": false, 5370 "value": { 5371 "type": "FunctionExpression", 5372 "function": { 5373 "type": "ScriptFunction", 5374 "id": { 5375 "type": "Identifier", 5376 "name": "toString", 5377 "decorators": [], 5378 "loc": { 5379 "start": { 5380 "line": 1, 5381 "column": 1 5382 }, 5383 "end": { 5384 "line": 1, 5385 "column": 1 5386 } 5387 } 5388 }, 5389 "generator": false, 5390 "async": false, 5391 "expression": false, 5392 "params": [ 5393 { 5394 "type": "ETSParameterExpression", 5395 "name": { 5396 "type": "Identifier", 5397 "name": "ordinal", 5398 "typeAnnotation": { 5399 "type": "ETSTypeReference", 5400 "part": { 5401 "type": "ETSTypeReferencePart", 5402 "name": { 5403 "type": "Identifier", 5404 "name": "E1", 5405 "decorators": [], 5406 "loc": { 5407 "start": { 5408 "line": 1, 5409 "column": 1 5410 }, 5411 "end": { 5412 "line": 1, 5413 "column": 1 5414 } 5415 } 5416 }, 5417 "loc": { 5418 "start": { 5419 "line": 1, 5420 "column": 1 5421 }, 5422 "end": { 5423 "line": 1, 5424 "column": 1 5425 } 5426 } 5427 }, 5428 "loc": { 5429 "start": { 5430 "line": 1, 5431 "column": 1 5432 }, 5433 "end": { 5434 "line": 1, 5435 "column": 1 5436 } 5437 } 5438 }, 5439 "decorators": [], 5440 "loc": { 5441 "start": { 5442 "line": 1, 5443 "column": 1 5444 }, 5445 "end": { 5446 "line": 1, 5447 "column": 1 5448 } 5449 } 5450 }, 5451 "loc": { 5452 "start": { 5453 "line": 1, 5454 "column": 1 5455 }, 5456 "end": { 5457 "line": 1, 5458 "column": 1 5459 } 5460 } 5461 } 5462 ], 5463 "returnType": { 5464 "type": "ETSTypeReference", 5465 "part": { 5466 "type": "ETSTypeReferencePart", 5467 "name": { 5468 "type": "Identifier", 5469 "name": "String", 5470 "decorators": [], 5471 "loc": { 5472 "start": { 5473 "line": 1, 5474 "column": 1 5475 }, 5476 "end": { 5477 "line": 1, 5478 "column": 1 5479 } 5480 } 5481 }, 5482 "loc": { 5483 "start": { 5484 "line": 1, 5485 "column": 1 5486 }, 5487 "end": { 5488 "line": 1, 5489 "column": 1 5490 } 5491 } 5492 }, 5493 "loc": { 5494 "start": { 5495 "line": 1, 5496 "column": 1 5497 }, 5498 "end": { 5499 "line": 1, 5500 "column": 1 5501 } 5502 } 5503 }, 5504 "body": { 5505 "type": "BlockStatement", 5506 "statements": [ 5507 { 5508 "type": "ReturnStatement", 5509 "argument": { 5510 "type": "MemberExpression", 5511 "object": { 5512 "type": "Identifier", 5513 "name": "StringValuesArray", 5514 "decorators": [], 5515 "loc": { 5516 "start": { 5517 "line": 1, 5518 "column": 1 5519 }, 5520 "end": { 5521 "line": 1, 5522 "column": 1 5523 } 5524 } 5525 }, 5526 "property": { 5527 "type": "TSAsExpression", 5528 "expression": { 5529 "type": "Identifier", 5530 "name": "ordinal", 5531 "decorators": [], 5532 "loc": { 5533 "start": { 5534 "line": 1, 5535 "column": 1 5536 }, 5537 "end": { 5538 "line": 1, 5539 "column": 1 5540 } 5541 } 5542 }, 5543 "typeAnnotation": { 5544 "type": "ETSPrimitiveType", 5545 "loc": { 5546 "start": { 5547 "line": 1, 5548 "column": 1 5549 }, 5550 "end": { 5551 "line": 1, 5552 "column": 1 5553 } 5554 } 5555 }, 5556 "loc": { 5557 "start": { 5558 "line": 1, 5559 "column": 1 5560 }, 5561 "end": { 5562 "line": 1, 5563 "column": 1 5564 } 5565 } 5566 }, 5567 "computed": true, 5568 "optional": false, 5569 "loc": { 5570 "start": { 5571 "line": 1, 5572 "column": 1 5573 }, 5574 "end": { 5575 "line": 1, 5576 "column": 1 5577 } 5578 } 5579 }, 5580 "loc": { 5581 "start": { 5582 "line": 1, 5583 "column": 1 5584 }, 5585 "end": { 5586 "line": 1, 5587 "column": 1 5588 } 5589 } 5590 } 5591 ], 5592 "loc": { 5593 "start": { 5594 "line": 1, 5595 "column": 1 5596 }, 5597 "end": { 5598 "line": 1, 5599 "column": 1 5600 } 5601 } 5602 }, 5603 "loc": { 5604 "start": { 5605 "line": 1, 5606 "column": 1 5607 }, 5608 "end": { 5609 "line": 1, 5610 "column": 1 5611 } 5612 } 5613 }, 5614 "loc": { 5615 "start": { 5616 "line": 1, 5617 "column": 1 5618 }, 5619 "end": { 5620 "line": 1, 5621 "column": 1 5622 } 5623 } 5624 }, 5625 "overloads": [], 5626 "decorators": [], 5627 "loc": { 5628 "start": { 5629 "line": 1, 5630 "column": 1 5631 }, 5632 "end": { 5633 "line": 1, 5634 "column": 1 5635 } 5636 } 5637 }, 5638 { 5639 "type": "MethodDefinition", 5640 "key": { 5641 "type": "Identifier", 5642 "name": "values", 5643 "decorators": [], 5644 "loc": { 5645 "start": { 5646 "line": 1, 5647 "column": 1 5648 }, 5649 "end": { 5650 "line": 1, 5651 "column": 1 5652 } 5653 } 5654 }, 5655 "kind": "method", 5656 "accessibility": "public", 5657 "static": true, 5658 "optional": false, 5659 "computed": false, 5660 "value": { 5661 "type": "FunctionExpression", 5662 "function": { 5663 "type": "ScriptFunction", 5664 "id": { 5665 "type": "Identifier", 5666 "name": "values", 5667 "decorators": [], 5668 "loc": { 5669 "start": { 5670 "line": 1, 5671 "column": 1 5672 }, 5673 "end": { 5674 "line": 1, 5675 "column": 1 5676 } 5677 } 5678 }, 5679 "generator": false, 5680 "async": false, 5681 "expression": false, 5682 "params": [], 5683 "returnType": { 5684 "type": "TSArrayType", 5685 "elementType": { 5686 "type": "ETSTypeReference", 5687 "part": { 5688 "type": "ETSTypeReferencePart", 5689 "name": { 5690 "type": "Identifier", 5691 "name": "E1", 5692 "decorators": [], 5693 "loc": { 5694 "start": { 5695 "line": 1, 5696 "column": 1 5697 }, 5698 "end": { 5699 "line": 1, 5700 "column": 1 5701 } 5702 } 5703 }, 5704 "loc": { 5705 "start": { 5706 "line": 1, 5707 "column": 1 5708 }, 5709 "end": { 5710 "line": 1, 5711 "column": 1 5712 } 5713 } 5714 }, 5715 "loc": { 5716 "start": { 5717 "line": 1, 5718 "column": 1 5719 }, 5720 "end": { 5721 "line": 1, 5722 "column": 1 5723 } 5724 } 5725 }, 5726 "loc": { 5727 "start": { 5728 "line": 1, 5729 "column": 1 5730 }, 5731 "end": { 5732 "line": 1, 5733 "column": 1 5734 } 5735 } 5736 }, 5737 "body": { 5738 "type": "BlockStatement", 5739 "statements": [ 5740 { 5741 "type": "ReturnStatement", 5742 "argument": { 5743 "type": "Identifier", 5744 "name": "ItemsArray", 5745 "decorators": [], 5746 "loc": { 5747 "start": { 5748 "line": 1, 5749 "column": 1 5750 }, 5751 "end": { 5752 "line": 1, 5753 "column": 1 5754 } 5755 } 5756 }, 5757 "loc": { 5758 "start": { 5759 "line": 1, 5760 "column": 1 5761 }, 5762 "end": { 5763 "line": 1, 5764 "column": 1 5765 } 5766 } 5767 } 5768 ], 5769 "loc": { 5770 "start": { 5771 "line": 1, 5772 "column": 1 5773 }, 5774 "end": { 5775 "line": 1, 5776 "column": 1 5777 } 5778 } 5779 }, 5780 "loc": { 5781 "start": { 5782 "line": 1, 5783 "column": 1 5784 }, 5785 "end": { 5786 "line": 1, 5787 "column": 1 5788 } 5789 } 5790 }, 5791 "loc": { 5792 "start": { 5793 "line": 1, 5794 "column": 1 5795 }, 5796 "end": { 5797 "line": 1, 5798 "column": 1 5799 } 5800 } 5801 }, 5802 "overloads": [], 5803 "decorators": [], 5804 "loc": { 5805 "start": { 5806 "line": 1, 5807 "column": 1 5808 }, 5809 "end": { 5810 "line": 1, 5811 "column": 1 5812 } 5813 } 5814 }, 5815 { 5816 "type": "MethodDefinition", 5817 "key": { 5818 "type": "Identifier", 5819 "name": "fromInt", 5820 "decorators": [], 5821 "loc": { 5822 "start": { 5823 "line": 1, 5824 "column": 1 5825 }, 5826 "end": { 5827 "line": 1, 5828 "column": 1 5829 } 5830 } 5831 }, 5832 "kind": "method", 5833 "accessibility": "public", 5834 "static": true, 5835 "optional": false, 5836 "computed": false, 5837 "value": { 5838 "type": "FunctionExpression", 5839 "function": { 5840 "type": "ScriptFunction", 5841 "id": { 5842 "type": "Identifier", 5843 "name": "fromInt", 5844 "decorators": [], 5845 "loc": { 5846 "start": { 5847 "line": 1, 5848 "column": 1 5849 }, 5850 "end": { 5851 "line": 1, 5852 "column": 1 5853 } 5854 } 5855 }, 5856 "generator": false, 5857 "async": false, 5858 "expression": false, 5859 "params": [ 5860 { 5861 "type": "ETSParameterExpression", 5862 "name": { 5863 "type": "Identifier", 5864 "name": "ordinal", 5865 "typeAnnotation": { 5866 "type": "ETSPrimitiveType", 5867 "loc": { 5868 "start": { 5869 "line": 1, 5870 "column": 1 5871 }, 5872 "end": { 5873 "line": 1, 5874 "column": 1 5875 } 5876 } 5877 }, 5878 "decorators": [], 5879 "loc": { 5880 "start": { 5881 "line": 1, 5882 "column": 1 5883 }, 5884 "end": { 5885 "line": 1, 5886 "column": 1 5887 } 5888 } 5889 }, 5890 "loc": { 5891 "start": { 5892 "line": 1, 5893 "column": 1 5894 }, 5895 "end": { 5896 "line": 1, 5897 "column": 1 5898 } 5899 } 5900 } 5901 ], 5902 "returnType": { 5903 "type": "ETSTypeReference", 5904 "part": { 5905 "type": "ETSTypeReferencePart", 5906 "name": { 5907 "type": "Identifier", 5908 "name": "E1", 5909 "decorators": [], 5910 "loc": { 5911 "start": { 5912 "line": 1, 5913 "column": 1 5914 }, 5915 "end": { 5916 "line": 1, 5917 "column": 1 5918 } 5919 } 5920 }, 5921 "loc": { 5922 "start": { 5923 "line": 1, 5924 "column": 1 5925 }, 5926 "end": { 5927 "line": 1, 5928 "column": 1 5929 } 5930 } 5931 }, 5932 "loc": { 5933 "start": { 5934 "line": 1, 5935 "column": 1 5936 }, 5937 "end": { 5938 "line": 1, 5939 "column": 1 5940 } 5941 } 5942 }, 5943 "body": { 5944 "type": "BlockStatement", 5945 "statements": [ 5946 { 5947 "type": "IfStatement", 5948 "test": { 5949 "type": "BinaryExpression", 5950 "operator": "<", 5951 "left": { 5952 "type": "Identifier", 5953 "name": "ordinal", 5954 "decorators": [], 5955 "loc": { 5956 "start": { 5957 "line": 1, 5958 "column": 1 5959 }, 5960 "end": { 5961 "line": 1, 5962 "column": 1 5963 } 5964 } 5965 }, 5966 "right": { 5967 "type": "MemberExpression", 5968 "object": { 5969 "type": "Identifier", 5970 "name": "ItemsArray", 5971 "decorators": [], 5972 "loc": { 5973 "start": { 5974 "line": 1, 5975 "column": 1 5976 }, 5977 "end": { 5978 "line": 1, 5979 "column": 1 5980 } 5981 } 5982 }, 5983 "property": { 5984 "type": "Identifier", 5985 "name": "length", 5986 "decorators": [], 5987 "loc": { 5988 "start": { 5989 "line": 1, 5990 "column": 1 5991 }, 5992 "end": { 5993 "line": 1, 5994 "column": 1 5995 } 5996 } 5997 }, 5998 "computed": false, 5999 "optional": false, 6000 "loc": { 6001 "start": { 6002 "line": 1, 6003 "column": 1 6004 }, 6005 "end": { 6006 "line": 1, 6007 "column": 1 6008 } 6009 } 6010 }, 6011 "loc": { 6012 "start": { 6013 "line": 1, 6014 "column": 1 6015 }, 6016 "end": { 6017 "line": 1, 6018 "column": 1 6019 } 6020 } 6021 }, 6022 "consequent": { 6023 "type": "ReturnStatement", 6024 "argument": { 6025 "type": "MemberExpression", 6026 "object": { 6027 "type": "Identifier", 6028 "name": "ItemsArray", 6029 "decorators": [], 6030 "loc": { 6031 "start": { 6032 "line": 1, 6033 "column": 1 6034 }, 6035 "end": { 6036 "line": 1, 6037 "column": 1 6038 } 6039 } 6040 }, 6041 "property": { 6042 "type": "Identifier", 6043 "name": "ordinal", 6044 "decorators": [], 6045 "loc": { 6046 "start": { 6047 "line": 1, 6048 "column": 1 6049 }, 6050 "end": { 6051 "line": 1, 6052 "column": 1 6053 } 6054 } 6055 }, 6056 "computed": true, 6057 "optional": false, 6058 "loc": { 6059 "start": { 6060 "line": 1, 6061 "column": 1 6062 }, 6063 "end": { 6064 "line": 1, 6065 "column": 1 6066 } 6067 } 6068 }, 6069 "loc": { 6070 "start": { 6071 "line": 1, 6072 "column": 1 6073 }, 6074 "end": { 6075 "line": 1, 6076 "column": 1 6077 } 6078 } 6079 }, 6080 "alternate": null, 6081 "loc": { 6082 "start": { 6083 "line": 1, 6084 "column": 1 6085 }, 6086 "end": { 6087 "line": 1, 6088 "column": 1 6089 } 6090 } 6091 }, 6092 { 6093 "type": "ThrowStatement", 6094 "argument": { 6095 "type": "ETSNewClassInstanceExpression", 6096 "typeReference": { 6097 "type": "ETSTypeReference", 6098 "part": { 6099 "type": "ETSTypeReferencePart", 6100 "name": { 6101 "type": "Identifier", 6102 "name": "Exception", 6103 "decorators": [], 6104 "loc": { 6105 "start": { 6106 "line": 1, 6107 "column": 1 6108 }, 6109 "end": { 6110 "line": 1, 6111 "column": 1 6112 } 6113 } 6114 }, 6115 "loc": { 6116 "start": { 6117 "line": 1, 6118 "column": 1 6119 }, 6120 "end": { 6121 "line": 1, 6122 "column": 1 6123 } 6124 } 6125 }, 6126 "loc": { 6127 "start": { 6128 "line": 1, 6129 "column": 1 6130 }, 6131 "end": { 6132 "line": 1, 6133 "column": 1 6134 } 6135 } 6136 }, 6137 "arguments": [ 6138 { 6139 "type": "BinaryExpression", 6140 "operator": "+", 6141 "left": { 6142 "type": "StringLiteral", 6143 "value": "No enum constant in E1 with ordinal value ", 6144 "loc": { 6145 "start": { 6146 "line": 1, 6147 "column": 1 6148 }, 6149 "end": { 6150 "line": 1, 6151 "column": 1 6152 } 6153 } 6154 }, 6155 "right": { 6156 "type": "Identifier", 6157 "name": "ordinal", 6158 "decorators": [], 6159 "loc": { 6160 "start": { 6161 "line": 1, 6162 "column": 1 6163 }, 6164 "end": { 6165 "line": 1, 6166 "column": 1 6167 } 6168 } 6169 }, 6170 "loc": { 6171 "start": { 6172 "line": 1, 6173 "column": 1 6174 }, 6175 "end": { 6176 "line": 1, 6177 "column": 1 6178 } 6179 } 6180 } 6181 ], 6182 "loc": { 6183 "start": { 6184 "line": 1, 6185 "column": 1 6186 }, 6187 "end": { 6188 "line": 1, 6189 "column": 1 6190 } 6191 } 6192 }, 6193 "loc": { 6194 "start": { 6195 "line": 1, 6196 "column": 1 6197 }, 6198 "end": { 6199 "line": 1, 6200 "column": 1 6201 } 6202 } 6203 } 6204 ], 6205 "loc": { 6206 "start": { 6207 "line": 1, 6208 "column": 1 6209 }, 6210 "end": { 6211 "line": 1, 6212 "column": 1 6213 } 6214 } 6215 } 6216 "throwMarker": "throws", 6217 "loc": { 6218 "start": { 6219 "line": 1, 6220 "column": 1 6221 }, 6222 "end": { 6223 "line": 1, 6224 "column": 1 6225 } 6226 } 6227 }, 6228 "loc": { 6229 "start": { 6230 "line": 1, 6231 "column": 1 6232 }, 6233 "end": { 6234 "line": 1, 6235 "column": 1 6236 } 6237 } 6238 }, 6239 "overloads": [], 6240 "decorators": [], 6241 "loc": { 6242 "start": { 6243 "line": 1, 6244 "column": 1 6245 }, 6246 "end": { 6247 "line": 1, 6248 "column": 1 6249 } 6250 } 6251 }, 6252 { 6253 "type": "MethodDefinition", 6254 "key": { 6255 "type": "Identifier", 6256 "name": "unbox", 6257 "decorators": [], 6258 "loc": { 6259 "start": { 6260 "line": 1, 6261 "column": 1 6262 }, 6263 "end": { 6264 "line": 1, 6265 "column": 1 6266 } 6267 } 6268 }, 6269 "kind": "method", 6270 "accessibility": "public", 6271 "static": false, 6272 "optional": false, 6273 "computed": false, 6274 "value": { 6275 "type": "FunctionExpression", 6276 "function": { 6277 "type": "ScriptFunction", 6278 "id": { 6279 "type": "Identifier", 6280 "name": "unbox", 6281 "decorators": [], 6282 "loc": { 6283 "start": { 6284 "line": 1, 6285 "column": 1 6286 }, 6287 "end": { 6288 "line": 1, 6289 "column": 1 6290 } 6291 } 6292 }, 6293 "generator": false, 6294 "async": false, 6295 "expression": false, 6296 "params": [], 6297 "returnType": { 6298 "type": "ETSTypeReference", 6299 "part": { 6300 "type": "ETSTypeReferencePart", 6301 "name": { 6302 "type": "Identifier", 6303 "name": "E1", 6304 "decorators": [], 6305 "loc": { 6306 "start": { 6307 "line": 1, 6308 "column": 1 6309 }, 6310 "end": { 6311 "line": 1, 6312 "column": 1 6313 } 6314 } 6315 }, 6316 "loc": { 6317 "start": { 6318 "line": 1, 6319 "column": 1 6320 }, 6321 "end": { 6322 "line": 1, 6323 "column": 1 6324 } 6325 } 6326 }, 6327 "loc": { 6328 "start": { 6329 "line": 1, 6330 "column": 1 6331 }, 6332 "end": { 6333 "line": 1, 6334 "column": 1 6335 } 6336 } 6337 }, 6338 "body": { 6339 "type": "BlockStatement", 6340 "statements": [ 6341 { 6342 "type": "ReturnStatement", 6343 "argument": { 6344 "type": "MemberExpression", 6345 "object": { 6346 "type": "Identifier", 6347 "name": "ItemsArray", 6348 "decorators": [], 6349 "loc": { 6350 "start": { 6351 "line": 1, 6352 "column": 1 6353 }, 6354 "end": { 6355 "line": 1, 6356 "column": 1 6357 } 6358 } 6359 }, 6360 "property": { 6361 "type": "MemberExpression", 6362 "object": { 6363 "type": "ThisExpression", 6364 "loc": { 6365 "start": { 6366 "line": 1, 6367 "column": 1 6368 }, 6369 "end": { 6370 "line": 1, 6371 "column": 1 6372 } 6373 } 6374 }, 6375 "property": { 6376 "type": "Identifier", 6377 "name": "ordinal", 6378 "decorators": [], 6379 "loc": { 6380 "start": { 6381 "line": 1, 6382 "column": 1 6383 }, 6384 "end": { 6385 "line": 1, 6386 "column": 1 6387 } 6388 } 6389 }, 6390 "computed": false, 6391 "optional": false, 6392 "loc": { 6393 "start": { 6394 "line": 1, 6395 "column": 1 6396 }, 6397 "end": { 6398 "line": 1, 6399 "column": 1 6400 } 6401 } 6402 }, 6403 "computed": true, 6404 "optional": false, 6405 "loc": { 6406 "start": { 6407 "line": 1, 6408 "column": 1 6409 }, 6410 "end": { 6411 "line": 1, 6412 "column": 1 6413 } 6414 } 6415 }, 6416 "loc": { 6417 "start": { 6418 "line": 1, 6419 "column": 1 6420 }, 6421 "end": { 6422 "line": 1, 6423 "column": 1 6424 } 6425 } 6426 } 6427 ], 6428 "loc": { 6429 "start": { 6430 "line": 1, 6431 "column": 1 6432 }, 6433 "end": { 6434 "line": 1, 6435 "column": 1 6436 } 6437 } 6438 }, 6439 "loc": { 6440 "start": { 6441 "line": 1, 6442 "column": 1 6443 }, 6444 "end": { 6445 "line": 1, 6446 "column": 1 6447 } 6448 } 6449 }, 6450 "loc": { 6451 "start": { 6452 "line": 1, 6453 "column": 1 6454 }, 6455 "end": { 6456 "line": 1, 6457 "column": 1 6458 } 6459 } 6460 }, 6461 "overloads": [], 6462 "decorators": [], 6463 "loc": { 6464 "start": { 6465 "line": 1, 6466 "column": 1 6467 }, 6468 "end": { 6469 "line": 1, 6470 "column": 1 6471 } 6472 } 6473 }, 6474 { 6475 "type": "MethodDefinition", 6476 "key": { 6477 "type": "Identifier", 6478 "name": "boxedfromInt", 6479 "decorators": [], 6480 "loc": { 6481 "start": { 6482 "line": 1, 6483 "column": 1 6484 }, 6485 "end": { 6486 "line": 1, 6487 "column": 1 6488 } 6489 } 6490 }, 6491 "kind": "method", 6492 "accessibility": "public", 6493 "static": true, 6494 "optional": false, 6495 "computed": false, 6496 "value": { 6497 "type": "FunctionExpression", 6498 "function": { 6499 "type": "ScriptFunction", 6500 "id": { 6501 "type": "Identifier", 6502 "name": "boxedfromInt", 6503 "decorators": [], 6504 "loc": { 6505 "start": { 6506 "line": 1, 6507 "column": 1 6508 }, 6509 "end": { 6510 "line": 1, 6511 "column": 1 6512 } 6513 } 6514 }, 6515 "generator": false, 6516 "async": false, 6517 "expression": false, 6518 "params": [ 6519 { 6520 "type": "ETSParameterExpression", 6521 "name": { 6522 "type": "Identifier", 6523 "name": "ordinal", 6524 "typeAnnotation": { 6525 "type": "ETSPrimitiveType", 6526 "loc": { 6527 "start": { 6528 "line": 1, 6529 "column": 1 6530 }, 6531 "end": { 6532 "line": 1, 6533 "column": 1 6534 } 6535 } 6536 }, 6537 "decorators": [], 6538 "loc": { 6539 "start": { 6540 "line": 1, 6541 "column": 1 6542 }, 6543 "end": { 6544 "line": 1, 6545 "column": 1 6546 } 6547 } 6548 }, 6549 "loc": { 6550 "start": { 6551 "line": 1, 6552 "column": 1 6553 }, 6554 "end": { 6555 "line": 1, 6556 "column": 1 6557 } 6558 } 6559 } 6560 ], 6561 "returnType": { 6562 "type": "ETSTypeReference", 6563 "part": { 6564 "type": "ETSTypeReferencePart", 6565 "name": { 6566 "type": "Identifier", 6567 "name": "#E1", 6568 "decorators": [], 6569 "loc": { 6570 "start": { 6571 "line": 1, 6572 "column": 1 6573 }, 6574 "end": { 6575 "line": 1, 6576 "column": 1 6577 } 6578 } 6579 }, 6580 "loc": { 6581 "start": { 6582 "line": 1, 6583 "column": 1 6584 }, 6585 "end": { 6586 "line": 1, 6587 "column": 1 6588 } 6589 } 6590 }, 6591 "loc": { 6592 "start": { 6593 "line": 1, 6594 "column": 1 6595 }, 6596 "end": { 6597 "line": 1, 6598 "column": 1 6599 } 6600 } 6601 }, 6602 "body": { 6603 "type": "BlockStatement", 6604 "statements": [ 6605 { 6606 "type": "IfStatement", 6607 "test": { 6608 "type": "BinaryExpression", 6609 "operator": "<", 6610 "left": { 6611 "type": "Identifier", 6612 "name": "ordinal", 6613 "decorators": [], 6614 "loc": { 6615 "start": { 6616 "line": 1, 6617 "column": 1 6618 }, 6619 "end": { 6620 "line": 1, 6621 "column": 1 6622 } 6623 } 6624 }, 6625 "right": { 6626 "type": "MemberExpression", 6627 "object": { 6628 "type": "Identifier", 6629 "name": "BoxedItemsArray", 6630 "decorators": [], 6631 "loc": { 6632 "start": { 6633 "line": 1, 6634 "column": 1 6635 }, 6636 "end": { 6637 "line": 1, 6638 "column": 1 6639 } 6640 } 6641 }, 6642 "property": { 6643 "type": "Identifier", 6644 "name": "length", 6645 "decorators": [], 6646 "loc": { 6647 "start": { 6648 "line": 1, 6649 "column": 1 6650 }, 6651 "end": { 6652 "line": 1, 6653 "column": 1 6654 } 6655 } 6656 }, 6657 "computed": false, 6658 "optional": false, 6659 "loc": { 6660 "start": { 6661 "line": 1, 6662 "column": 1 6663 }, 6664 "end": { 6665 "line": 1, 6666 "column": 1 6667 } 6668 } 6669 }, 6670 "loc": { 6671 "start": { 6672 "line": 1, 6673 "column": 1 6674 }, 6675 "end": { 6676 "line": 1, 6677 "column": 1 6678 } 6679 } 6680 }, 6681 "consequent": { 6682 "type": "ReturnStatement", 6683 "argument": { 6684 "type": "MemberExpression", 6685 "object": { 6686 "type": "Identifier", 6687 "name": "BoxedItemsArray", 6688 "decorators": [], 6689 "loc": { 6690 "start": { 6691 "line": 1, 6692 "column": 1 6693 }, 6694 "end": { 6695 "line": 1, 6696 "column": 1 6697 } 6698 } 6699 }, 6700 "property": { 6701 "type": "Identifier", 6702 "name": "ordinal", 6703 "decorators": [], 6704 "loc": { 6705 "start": { 6706 "line": 1, 6707 "column": 1 6708 }, 6709 "end": { 6710 "line": 1, 6711 "column": 1 6712 } 6713 } 6714 }, 6715 "computed": true, 6716 "optional": false, 6717 "loc": { 6718 "start": { 6719 "line": 1, 6720 "column": 1 6721 }, 6722 "end": { 6723 "line": 1, 6724 "column": 1 6725 } 6726 } 6727 }, 6728 "loc": { 6729 "start": { 6730 "line": 1, 6731 "column": 1 6732 }, 6733 "end": { 6734 "line": 1, 6735 "column": 1 6736 } 6737 } 6738 }, 6739 "alternate": null, 6740 "loc": { 6741 "start": { 6742 "line": 1, 6743 "column": 1 6744 }, 6745 "end": { 6746 "line": 1, 6747 "column": 1 6748 } 6749 } 6750 }, 6751 { 6752 "type": "ThrowStatement", 6753 "argument": { 6754 "type": "ETSNewClassInstanceExpression", 6755 "typeReference": { 6756 "type": "ETSTypeReference", 6757 "part": { 6758 "type": "ETSTypeReferencePart", 6759 "name": { 6760 "type": "Identifier", 6761 "name": "Exception", 6762 "decorators": [], 6763 "loc": { 6764 "start": { 6765 "line": 1, 6766 "column": 1 6767 }, 6768 "end": { 6769 "line": 1, 6770 "column": 1 6771 } 6772 } 6773 }, 6774 "loc": { 6775 "start": { 6776 "line": 1, 6777 "column": 1 6778 }, 6779 "end": { 6780 "line": 1, 6781 "column": 1 6782 } 6783 } 6784 }, 6785 "loc": { 6786 "start": { 6787 "line": 1, 6788 "column": 1 6789 }, 6790 "end": { 6791 "line": 1, 6792 "column": 1 6793 } 6794 } 6795 }, 6796 "arguments": [ 6797 { 6798 "type": "BinaryExpression", 6799 "operator": "+", 6800 "left": { 6801 "type": "StringLiteral", 6802 "value": "No enum constant in E1 with ordinal value ", 6803 "loc": { 6804 "start": { 6805 "line": 1, 6806 "column": 1 6807 }, 6808 "end": { 6809 "line": 1, 6810 "column": 1 6811 } 6812 } 6813 }, 6814 "right": { 6815 "type": "Identifier", 6816 "name": "ordinal", 6817 "decorators": [], 6818 "loc": { 6819 "start": { 6820 "line": 1, 6821 "column": 1 6822 }, 6823 "end": { 6824 "line": 1, 6825 "column": 1 6826 } 6827 } 6828 }, 6829 "loc": { 6830 "start": { 6831 "line": 1, 6832 "column": 1 6833 }, 6834 "end": { 6835 "line": 1, 6836 "column": 1 6837 } 6838 } 6839 } 6840 ], 6841 "loc": { 6842 "start": { 6843 "line": 1, 6844 "column": 1 6845 }, 6846 "end": { 6847 "line": 1, 6848 "column": 1 6849 } 6850 } 6851 }, 6852 "loc": { 6853 "start": { 6854 "line": 1, 6855 "column": 1 6856 }, 6857 "end": { 6858 "line": 1, 6859 "column": 1 6860 } 6861 } 6862 } 6863 ], 6864 "loc": { 6865 "start": { 6866 "line": 1, 6867 "column": 1 6868 }, 6869 "end": { 6870 "line": 1, 6871 "column": 1 6872 } 6873 } 6874 } 6875 "throwMarker": "throws", 6876 "loc": { 6877 "start": { 6878 "line": 1, 6879 "column": 1 6880 }, 6881 "end": { 6882 "line": 1, 6883 "column": 1 6884 } 6885 } 6886 }, 6887 "loc": { 6888 "start": { 6889 "line": 1, 6890 "column": 1 6891 }, 6892 "end": { 6893 "line": 1, 6894 "column": 1 6895 } 6896 } 6897 }, 6898 "overloads": [], 6899 "decorators": [], 6900 "loc": { 6901 "start": { 6902 "line": 1, 6903 "column": 1 6904 }, 6905 "end": { 6906 "line": 1, 6907 "column": 1 6908 } 6909 } 6910 } 6911 ], 6912 "loc": { 6913 "start": { 6914 "line": 1, 6915 "column": 1 6916 }, 6917 "end": { 6918 "line": 1, 6919 "column": 1 6920 } 6921 } 6922 }, 6923 "loc": { 6924 "start": { 6925 "line": 1, 6926 "column": 1 6927 }, 6928 "end": { 6929 "line": 1, 6930 "column": 1 6931 } 6932 } 6933 } 6934 ], 6935 "loc": { 6936 "start": { 6937 "line": 1, 6938 "column": 1 6939 }, 6940 "end": { 6941 "line": 58, 6942 "column": 1 6943 } 6944 } 6945} 6946