1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ImportDeclaration", 6 "source": { 7 "type": "StringLiteral", 8 "value": "std/math", 9 "loc": { 10 "start": { 11 "line": 20, 12 "column": 22 13 }, 14 "end": { 15 "line": 20, 16 "column": 32 17 } 18 } 19 }, 20 "specifiers": [ 21 { 22 "type": "ImportNamespaceSpecifier", 23 "local": { 24 "type": "Identifier", 25 "name": "all", 26 "decorators": [], 27 "loc": { 28 "start": { 29 "line": 20, 30 "column": 13 31 }, 32 "end": { 33 "line": 20, 34 "column": 16 35 } 36 } 37 }, 38 "loc": { 39 "start": { 40 "line": 20, 41 "column": 8 42 }, 43 "end": { 44 "line": 20, 45 "column": 16 46 } 47 } 48 } 49 ], 50 "loc": { 51 "start": { 52 "line": 20, 53 "column": 1 54 }, 55 "end": { 56 "line": 20, 57 "column": 33 58 } 59 } 60 }, 61 { 62 "type": "TSEnumDeclaration", 63 "id": { 64 "type": "Identifier", 65 "name": "from", 66 "decorators": [], 67 "loc": { 68 "start": { 69 "line": 22, 70 "column": 6 71 }, 72 "end": { 73 "line": 22, 74 "column": 10 75 } 76 } 77 }, 78 "members": [ 79 { 80 "type": "TSEnumMember", 81 "id": { 82 "type": "Identifier", 83 "name": "from", 84 "decorators": [], 85 "loc": { 86 "start": { 87 "line": 22, 88 "column": 13 89 }, 90 "end": { 91 "line": 22, 92 "column": 17 93 } 94 } 95 }, 96 "initializer": { 97 "type": "NumberLiteral", 98 "value": 0, 99 "loc": { 100 "start": { 101 "line": 1, 102 "column": 1 103 }, 104 "end": { 105 "line": 1, 106 "column": 1 107 } 108 } 109 }, 110 "loc": { 111 "start": { 112 "line": 22, 113 "column": 13 114 }, 115 "end": { 116 "line": 22, 117 "column": 17 118 } 119 } 120 }, 121 { 122 "type": "TSEnumMember", 123 "id": { 124 "type": "Identifier", 125 "name": "from1", 126 "decorators": [], 127 "loc": { 128 "start": { 129 "line": 22, 130 "column": 19 131 }, 132 "end": { 133 "line": 22, 134 "column": 24 135 } 136 } 137 }, 138 "initializer": { 139 "type": "NumberLiteral", 140 "value": 1, 141 "loc": { 142 "start": { 143 "line": 1, 144 "column": 1 145 }, 146 "end": { 147 "line": 1, 148 "column": 1 149 } 150 } 151 }, 152 "loc": { 153 "start": { 154 "line": 22, 155 "column": 19 156 }, 157 "end": { 158 "line": 22, 159 "column": 24 160 } 161 } 162 }, 163 { 164 "type": "TSEnumMember", 165 "id": { 166 "type": "Identifier", 167 "name": "from2", 168 "decorators": [], 169 "loc": { 170 "start": { 171 "line": 22, 172 "column": 26 173 }, 174 "end": { 175 "line": 22, 176 "column": 31 177 } 178 } 179 }, 180 "initializer": { 181 "type": "NumberLiteral", 182 "value": 2, 183 "loc": { 184 "start": { 185 "line": 1, 186 "column": 1 187 }, 188 "end": { 189 "line": 1, 190 "column": 1 191 } 192 } 193 }, 194 "loc": { 195 "start": { 196 "line": 22, 197 "column": 26 198 }, 199 "end": { 200 "line": 22, 201 "column": 31 202 } 203 } 204 } 205 ], 206 "const": false, 207 "declare": false, 208 "loc": { 209 "start": { 210 "line": 22, 211 "column": 1 212 }, 213 "end": { 214 "line": 22, 215 "column": 33 216 } 217 } 218 }, 219 { 220 "type": "ClassDeclaration", 221 "definition": { 222 "id": { 223 "type": "Identifier", 224 "name": "ETSGLOBAL", 225 "decorators": [], 226 "loc": { 227 "start": { 228 "line": 1, 229 "column": 1 230 }, 231 "end": { 232 "line": 1, 233 "column": 1 234 } 235 } 236 }, 237 "superClass": null, 238 "implements": [], 239 "body": [ 240 { 241 "type": "MethodDefinition", 242 "key": { 243 "type": "Identifier", 244 "name": "_$init$_", 245 "decorators": [], 246 "loc": { 247 "start": { 248 "line": 1, 249 "column": 1 250 }, 251 "end": { 252 "line": 1, 253 "column": 1 254 } 255 } 256 }, 257 "kind": "method", 258 "accessibility": "public", 259 "static": true, 260 "optional": false, 261 "computed": false, 262 "value": { 263 "type": "FunctionExpression", 264 "function": { 265 "type": "ScriptFunction", 266 "id": { 267 "type": "Identifier", 268 "name": "_$init$_", 269 "decorators": [], 270 "loc": { 271 "start": { 272 "line": 1, 273 "column": 1 274 }, 275 "end": { 276 "line": 1, 277 "column": 1 278 } 279 } 280 }, 281 "generator": false, 282 "async": false, 283 "expression": false, 284 "params": [], 285 "body": { 286 "type": "BlockStatement", 287 "statements": [], 288 "loc": { 289 "start": { 290 "line": 1, 291 "column": 1 292 }, 293 "end": { 294 "line": 1, 295 "column": 1 296 } 297 } 298 }, 299 "loc": { 300 "start": { 301 "line": 1, 302 "column": 1 303 }, 304 "end": { 305 "line": 1, 306 "column": 1 307 } 308 } 309 }, 310 "loc": { 311 "start": { 312 "line": 1, 313 "column": 1 314 }, 315 "end": { 316 "line": 1, 317 "column": 1 318 } 319 } 320 }, 321 "overloads": [], 322 "decorators": [], 323 "loc": { 324 "start": { 325 "line": 1, 326 "column": 1 327 }, 328 "end": { 329 "line": 1, 330 "column": 1 331 } 332 } 333 }, 334 { 335 "type": "MethodDefinition", 336 "key": { 337 "type": "Identifier", 338 "name": "main", 339 "decorators": [], 340 "loc": { 341 "start": { 342 "line": 24, 343 "column": 10 344 }, 345 "end": { 346 "line": 24, 347 "column": 14 348 } 349 } 350 }, 351 "kind": "method", 352 "accessibility": "public", 353 "static": true, 354 "optional": false, 355 "computed": false, 356 "value": { 357 "type": "FunctionExpression", 358 "function": { 359 "type": "ScriptFunction", 360 "id": { 361 "type": "Identifier", 362 "name": "main", 363 "decorators": [], 364 "loc": { 365 "start": { 366 "line": 24, 367 "column": 10 368 }, 369 "end": { 370 "line": 24, 371 "column": 14 372 } 373 } 374 }, 375 "generator": false, 376 "async": false, 377 "expression": false, 378 "params": [], 379 "returnType": { 380 "type": "ETSPrimitiveType", 381 "loc": { 382 "start": { 383 "line": 24, 384 "column": 18 385 }, 386 "end": { 387 "line": 24, 388 "column": 22 389 } 390 } 391 }, 392 "body": { 393 "type": "BlockStatement", 394 "statements": [ 395 { 396 "type": "VariableDeclaration", 397 "declarations": [ 398 { 399 "type": "VariableDeclarator", 400 "id": { 401 "type": "Identifier", 402 "name": "from", 403 "typeAnnotation": { 404 "type": "ETSPrimitiveType", 405 "loc": { 406 "start": { 407 "line": 25, 408 "column": 15 409 }, 410 "end": { 411 "line": 25, 412 "column": 18 413 } 414 } 415 }, 416 "decorators": [], 417 "loc": { 418 "start": { 419 "line": 25, 420 "column": 9 421 }, 422 "end": { 423 "line": 25, 424 "column": 13 425 } 426 } 427 }, 428 "init": { 429 "type": "NumberLiteral", 430 "value": 84, 431 "loc": { 432 "start": { 433 "line": 25, 434 "column": 21 435 }, 436 "end": { 437 "line": 25, 438 "column": 23 439 } 440 } 441 }, 442 "loc": { 443 "start": { 444 "line": 25, 445 "column": 9 446 }, 447 "end": { 448 "line": 25, 449 "column": 23 450 } 451 } 452 } 453 ], 454 "kind": "let", 455 "loc": { 456 "start": { 457 "line": 25, 458 "column": 5 459 }, 460 "end": { 461 "line": 25, 462 "column": 24 463 } 464 } 465 } 466 ], 467 "loc": { 468 "start": { 469 "line": 24, 470 "column": 23 471 }, 472 "end": { 473 "line": 26, 474 "column": 2 475 } 476 } 477 }, 478 "loc": { 479 "start": { 480 "line": 24, 481 "column": 10 482 }, 483 "end": { 484 "line": 26, 485 "column": 2 486 } 487 } 488 }, 489 "loc": { 490 "start": { 491 "line": 24, 492 "column": 10 493 }, 494 "end": { 495 "line": 26, 496 "column": 2 497 } 498 } 499 }, 500 "overloads": [], 501 "decorators": [], 502 "loc": { 503 "start": { 504 "line": 24, 505 "column": 1 506 }, 507 "end": { 508 "line": 26, 509 "column": 2 510 } 511 } 512 } 513 ], 514 "loc": { 515 "start": { 516 "line": 1, 517 "column": 1 518 }, 519 "end": { 520 "line": 1, 521 "column": 1 522 } 523 } 524 }, 525 "loc": { 526 "start": { 527 "line": 1, 528 "column": 1 529 }, 530 "end": { 531 "line": 1, 532 "column": 1 533 } 534 } 535 }, 536 { 537 "type": "ClassDeclaration", 538 "definition": { 539 "id": { 540 "type": "Identifier", 541 "name": "#from", 542 "decorators": [], 543 "loc": { 544 "start": { 545 "line": 1, 546 "column": 1 547 }, 548 "end": { 549 "line": 1, 550 "column": 1 551 } 552 } 553 }, 554 "superClass": null, 555 "implements": [], 556 "body": [ 557 { 558 "type": "ClassProperty", 559 "key": { 560 "type": "Identifier", 561 "name": "ordinal", 562 "decorators": [], 563 "loc": { 564 "start": { 565 "line": 1, 566 "column": 1 567 }, 568 "end": { 569 "line": 1, 570 "column": 1 571 } 572 } 573 }, 574 "accessibility": "protected", 575 "static": false, 576 "readonly": false, 577 "declare": false, 578 "optional": false, 579 "computed": false, 580 "typeAnnotation": { 581 "type": "ETSPrimitiveType", 582 "loc": { 583 "start": { 584 "line": 1, 585 "column": 1 586 }, 587 "end": { 588 "line": 1, 589 "column": 1 590 } 591 } 592 }, 593 "definite": false, 594 "decorators": [], 595 "loc": { 596 "start": { 597 "line": 1, 598 "column": 1 599 }, 600 "end": { 601 "line": 1, 602 "column": 1 603 } 604 } 605 }, 606 { 607 "type": "MethodDefinition", 608 "key": { 609 "type": "Identifier", 610 "name": "<cctor>", 611 "decorators": [], 612 "loc": { 613 "start": { 614 "line": 1, 615 "column": 1 616 }, 617 "end": { 618 "line": 1, 619 "column": 1 620 } 621 } 622 }, 623 "kind": "method", 624 "accessibility": "public", 625 "static": true, 626 "optional": false, 627 "computed": false, 628 "value": { 629 "type": "FunctionExpression", 630 "function": { 631 "type": "ScriptFunction", 632 "id": { 633 "type": "Identifier", 634 "name": "<cctor>", 635 "decorators": [], 636 "loc": { 637 "start": { 638 "line": 1, 639 "column": 1 640 }, 641 "end": { 642 "line": 1, 643 "column": 1 644 } 645 } 646 }, 647 "generator": false, 648 "async": false, 649 "expression": false, 650 "params": [], 651 "body": { 652 "type": "BlockStatement", 653 "statements": [], 654 "loc": { 655 "start": { 656 "line": 1, 657 "column": 1 658 }, 659 "end": { 660 "line": 1, 661 "column": 1 662 } 663 } 664 }, 665 "loc": { 666 "start": { 667 "line": 1, 668 "column": 1 669 }, 670 "end": { 671 "line": 1, 672 "column": 1 673 } 674 } 675 }, 676 "loc": { 677 "start": { 678 "line": 1, 679 "column": 1 680 }, 681 "end": { 682 "line": 1, 683 "column": 1 684 } 685 } 686 }, 687 "overloads": [], 688 "decorators": [], 689 "loc": { 690 "start": { 691 "line": 1, 692 "column": 1 693 }, 694 "end": { 695 "line": 1, 696 "column": 1 697 } 698 } 699 }, 700 { 701 "type": "MethodDefinition", 702 "key": { 703 "type": "Identifier", 704 "name": "constructor", 705 "decorators": [], 706 "loc": { 707 "start": { 708 "line": 1, 709 "column": 1 710 }, 711 "end": { 712 "line": 1, 713 "column": 1 714 } 715 } 716 }, 717 "kind": "constructor", 718 "accessibility": "public", 719 "static": false, 720 "optional": false, 721 "computed": false, 722 "value": { 723 "type": "FunctionExpression", 724 "function": { 725 "type": "ScriptFunction", 726 "id": { 727 "type": "Identifier", 728 "name": "constructor", 729 "decorators": [], 730 "loc": { 731 "start": { 732 "line": 1, 733 "column": 1 734 }, 735 "end": { 736 "line": 1, 737 "column": 1 738 } 739 } 740 }, 741 "generator": false, 742 "async": false, 743 "expression": false, 744 "params": [ 745 { 746 "type": "ETSParameterExpression", 747 "name": { 748 "type": "Identifier", 749 "name": "ordinal", 750 "typeAnnotation": { 751 "type": "ETSPrimitiveType", 752 "loc": { 753 "start": { 754 "line": 1, 755 "column": 1 756 }, 757 "end": { 758 "line": 1, 759 "column": 1 760 } 761 } 762 }, 763 "decorators": [], 764 "loc": { 765 "start": { 766 "line": 1, 767 "column": 1 768 }, 769 "end": { 770 "line": 1, 771 "column": 1 772 } 773 } 774 }, 775 "loc": { 776 "start": { 777 "line": 1, 778 "column": 1 779 }, 780 "end": { 781 "line": 1, 782 "column": 1 783 } 784 } 785 } 786 ], 787 "body": { 788 "type": "BlockStatement", 789 "statements": [ 790 { 791 "type": "ExpressionStatement", 792 "expression": { 793 "type": "AssignmentExpression", 794 "operator": "=", 795 "left": { 796 "type": "MemberExpression", 797 "object": { 798 "type": "ThisExpression", 799 "loc": { 800 "start": { 801 "line": 1, 802 "column": 1 803 }, 804 "end": { 805 "line": 1, 806 "column": 1 807 } 808 } 809 }, 810 "property": { 811 "type": "Identifier", 812 "name": "ordinal", 813 "decorators": [], 814 "loc": { 815 "start": { 816 "line": 1, 817 "column": 1 818 }, 819 "end": { 820 "line": 1, 821 "column": 1 822 } 823 } 824 }, 825 "computed": false, 826 "optional": false, 827 "loc": { 828 "start": { 829 "line": 1, 830 "column": 1 831 }, 832 "end": { 833 "line": 1, 834 "column": 1 835 } 836 } 837 }, 838 "right": { 839 "type": "Identifier", 840 "name": "ordinal", 841 "decorators": [], 842 "loc": { 843 "start": { 844 "line": 1, 845 "column": 1 846 }, 847 "end": { 848 "line": 1, 849 "column": 1 850 } 851 } 852 }, 853 "loc": { 854 "start": { 855 "line": 1, 856 "column": 1 857 }, 858 "end": { 859 "line": 1, 860 "column": 1 861 } 862 } 863 }, 864 "loc": { 865 "start": { 866 "line": 1, 867 "column": 1 868 }, 869 "end": { 870 "line": 1, 871 "column": 1 872 } 873 } 874 } 875 ], 876 "loc": { 877 "start": { 878 "line": 1, 879 "column": 1 880 }, 881 "end": { 882 "line": 1, 883 "column": 1 884 } 885 } 886 }, 887 "loc": { 888 "start": { 889 "line": 1, 890 "column": 1 891 }, 892 "end": { 893 "line": 1, 894 "column": 1 895 } 896 } 897 }, 898 "loc": { 899 "start": { 900 "line": 1, 901 "column": 1 902 }, 903 "end": { 904 "line": 1, 905 "column": 1 906 } 907 } 908 }, 909 "overloads": [], 910 "decorators": [], 911 "loc": { 912 "start": { 913 "line": 1, 914 "column": 1 915 }, 916 "end": { 917 "line": 1, 918 "column": 1 919 } 920 } 921 }, 922 { 923 "type": "ClassProperty", 924 "key": { 925 "type": "Identifier", 926 "name": "NamesArray", 927 "decorators": [], 928 "loc": { 929 "start": { 930 "line": 1, 931 "column": 1 932 }, 933 "end": { 934 "line": 1, 935 "column": 1 936 } 937 } 938 }, 939 "value": { 940 "type": "ArrayExpression", 941 "elements": [ 942 { 943 "type": "StringLiteral", 944 "value": "from", 945 "loc": { 946 "start": { 947 "line": 1, 948 "column": 1 949 }, 950 "end": { 951 "line": 1, 952 "column": 1 953 } 954 } 955 }, 956 { 957 "type": "StringLiteral", 958 "value": "from1", 959 "loc": { 960 "start": { 961 "line": 1, 962 "column": 1 963 }, 964 "end": { 965 "line": 1, 966 "column": 1 967 } 968 } 969 }, 970 { 971 "type": "StringLiteral", 972 "value": "from2", 973 "loc": { 974 "start": { 975 "line": 1, 976 "column": 1 977 }, 978 "end": { 979 "line": 1, 980 "column": 1 981 } 982 } 983 } 984 ], 985 "loc": { 986 "start": { 987 "line": 1, 988 "column": 1 989 }, 990 "end": { 991 "line": 1, 992 "column": 1 993 } 994 } 995 }, 996 "accessibility": "protected", 997 "static": true, 998 "readonly": true, 999 "declare": false, 1000 "optional": false, 1001 "computed": false, 1002 "typeAnnotation": { 1003 "type": "TSArrayType", 1004 "elementType": { 1005 "type": "ETSTypeReference", 1006 "part": { 1007 "type": "ETSTypeReferencePart", 1008 "name": { 1009 "type": "Identifier", 1010 "name": "String", 1011 "decorators": [], 1012 "loc": { 1013 "start": { 1014 "line": 1, 1015 "column": 1 1016 }, 1017 "end": { 1018 "line": 1, 1019 "column": 1 1020 } 1021 } 1022 }, 1023 "loc": { 1024 "start": { 1025 "line": 1, 1026 "column": 1 1027 }, 1028 "end": { 1029 "line": 1, 1030 "column": 1 1031 } 1032 } 1033 }, 1034 "loc": { 1035 "start": { 1036 "line": 1, 1037 "column": 1 1038 }, 1039 "end": { 1040 "line": 1, 1041 "column": 1 1042 } 1043 } 1044 }, 1045 "loc": { 1046 "start": { 1047 "line": 1, 1048 "column": 1 1049 }, 1050 "end": { 1051 "line": 1, 1052 "column": 1 1053 } 1054 } 1055 }, 1056 "definite": false, 1057 "decorators": [], 1058 "loc": { 1059 "start": { 1060 "line": 1, 1061 "column": 1 1062 }, 1063 "end": { 1064 "line": 1, 1065 "column": 1 1066 } 1067 } 1068 }, 1069 { 1070 "type": "ClassProperty", 1071 "key": { 1072 "type": "Identifier", 1073 "name": "ValuesArray", 1074 "decorators": [], 1075 "loc": { 1076 "start": { 1077 "line": 1, 1078 "column": 1 1079 }, 1080 "end": { 1081 "line": 1, 1082 "column": 1 1083 } 1084 } 1085 }, 1086 "value": { 1087 "type": "ArrayExpression", 1088 "elements": [ 1089 { 1090 "type": "NumberLiteral", 1091 "value": 0, 1092 "loc": { 1093 "start": { 1094 "line": 1, 1095 "column": 1 1096 }, 1097 "end": { 1098 "line": 1, 1099 "column": 1 1100 } 1101 } 1102 }, 1103 { 1104 "type": "NumberLiteral", 1105 "value": 1, 1106 "loc": { 1107 "start": { 1108 "line": 1, 1109 "column": 1 1110 }, 1111 "end": { 1112 "line": 1, 1113 "column": 1 1114 } 1115 } 1116 }, 1117 { 1118 "type": "NumberLiteral", 1119 "value": 2, 1120 "loc": { 1121 "start": { 1122 "line": 1, 1123 "column": 1 1124 }, 1125 "end": { 1126 "line": 1, 1127 "column": 1 1128 } 1129 } 1130 } 1131 ], 1132 "loc": { 1133 "start": { 1134 "line": 1, 1135 "column": 1 1136 }, 1137 "end": { 1138 "line": 1, 1139 "column": 1 1140 } 1141 } 1142 }, 1143 "accessibility": "protected", 1144 "static": true, 1145 "readonly": true, 1146 "declare": false, 1147 "optional": false, 1148 "computed": false, 1149 "typeAnnotation": { 1150 "type": "TSArrayType", 1151 "elementType": { 1152 "type": "ETSPrimitiveType", 1153 "loc": { 1154 "start": { 1155 "line": 1, 1156 "column": 1 1157 }, 1158 "end": { 1159 "line": 1, 1160 "column": 1 1161 } 1162 } 1163 }, 1164 "loc": { 1165 "start": { 1166 "line": 1, 1167 "column": 1 1168 }, 1169 "end": { 1170 "line": 1, 1171 "column": 1 1172 } 1173 } 1174 }, 1175 "definite": false, 1176 "decorators": [], 1177 "loc": { 1178 "start": { 1179 "line": 1, 1180 "column": 1 1181 }, 1182 "end": { 1183 "line": 1, 1184 "column": 1 1185 } 1186 } 1187 }, 1188 { 1189 "type": "ClassProperty", 1190 "key": { 1191 "type": "Identifier", 1192 "name": "StringValuesArray", 1193 "decorators": [], 1194 "loc": { 1195 "start": { 1196 "line": 1, 1197 "column": 1 1198 }, 1199 "end": { 1200 "line": 1, 1201 "column": 1 1202 } 1203 } 1204 }, 1205 "value": { 1206 "type": "ArrayExpression", 1207 "elements": [ 1208 { 1209 "type": "StringLiteral", 1210 "value": "0", 1211 "loc": { 1212 "start": { 1213 "line": 1, 1214 "column": 1 1215 }, 1216 "end": { 1217 "line": 1, 1218 "column": 1 1219 } 1220 } 1221 }, 1222 { 1223 "type": "StringLiteral", 1224 "value": "1", 1225 "loc": { 1226 "start": { 1227 "line": 1, 1228 "column": 1 1229 }, 1230 "end": { 1231 "line": 1, 1232 "column": 1 1233 } 1234 } 1235 }, 1236 { 1237 "type": "StringLiteral", 1238 "value": "2", 1239 "loc": { 1240 "start": { 1241 "line": 1, 1242 "column": 1 1243 }, 1244 "end": { 1245 "line": 1, 1246 "column": 1 1247 } 1248 } 1249 } 1250 ], 1251 "loc": { 1252 "start": { 1253 "line": 1, 1254 "column": 1 1255 }, 1256 "end": { 1257 "line": 1, 1258 "column": 1 1259 } 1260 } 1261 }, 1262 "accessibility": "protected", 1263 "static": true, 1264 "readonly": true, 1265 "declare": false, 1266 "optional": false, 1267 "computed": false, 1268 "typeAnnotation": { 1269 "type": "TSArrayType", 1270 "elementType": { 1271 "type": "ETSTypeReference", 1272 "part": { 1273 "type": "ETSTypeReferencePart", 1274 "name": { 1275 "type": "Identifier", 1276 "name": "String", 1277 "decorators": [], 1278 "loc": { 1279 "start": { 1280 "line": 1, 1281 "column": 1 1282 }, 1283 "end": { 1284 "line": 1, 1285 "column": 1 1286 } 1287 } 1288 }, 1289 "loc": { 1290 "start": { 1291 "line": 1, 1292 "column": 1 1293 }, 1294 "end": { 1295 "line": 1, 1296 "column": 1 1297 } 1298 } 1299 }, 1300 "loc": { 1301 "start": { 1302 "line": 1, 1303 "column": 1 1304 }, 1305 "end": { 1306 "line": 1, 1307 "column": 1 1308 } 1309 } 1310 }, 1311 "loc": { 1312 "start": { 1313 "line": 1, 1314 "column": 1 1315 }, 1316 "end": { 1317 "line": 1, 1318 "column": 1 1319 } 1320 } 1321 }, 1322 "definite": false, 1323 "decorators": [], 1324 "loc": { 1325 "start": { 1326 "line": 1, 1327 "column": 1 1328 }, 1329 "end": { 1330 "line": 1, 1331 "column": 1 1332 } 1333 } 1334 }, 1335 { 1336 "type": "ClassProperty", 1337 "key": { 1338 "type": "Identifier", 1339 "name": "ItemsArray", 1340 "decorators": [], 1341 "loc": { 1342 "start": { 1343 "line": 1, 1344 "column": 1 1345 }, 1346 "end": { 1347 "line": 1, 1348 "column": 1 1349 } 1350 } 1351 }, 1352 "value": { 1353 "type": "ArrayExpression", 1354 "elements": [ 1355 { 1356 "type": "MemberExpression", 1357 "object": { 1358 "type": "Identifier", 1359 "name": "from", 1360 "decorators": [], 1361 "loc": { 1362 "start": { 1363 "line": 1, 1364 "column": 1 1365 }, 1366 "end": { 1367 "line": 1, 1368 "column": 1 1369 } 1370 } 1371 }, 1372 "property": { 1373 "type": "Identifier", 1374 "name": "from", 1375 "decorators": [], 1376 "loc": { 1377 "start": { 1378 "line": 1, 1379 "column": 1 1380 }, 1381 "end": { 1382 "line": 1, 1383 "column": 1 1384 } 1385 } 1386 }, 1387 "computed": false, 1388 "optional": false, 1389 "loc": { 1390 "start": { 1391 "line": 1, 1392 "column": 1 1393 }, 1394 "end": { 1395 "line": 1, 1396 "column": 1 1397 } 1398 } 1399 }, 1400 { 1401 "type": "MemberExpression", 1402 "object": { 1403 "type": "Identifier", 1404 "name": "from", 1405 "decorators": [], 1406 "loc": { 1407 "start": { 1408 "line": 1, 1409 "column": 1 1410 }, 1411 "end": { 1412 "line": 1, 1413 "column": 1 1414 } 1415 } 1416 }, 1417 "property": { 1418 "type": "Identifier", 1419 "name": "from1", 1420 "decorators": [], 1421 "loc": { 1422 "start": { 1423 "line": 1, 1424 "column": 1 1425 }, 1426 "end": { 1427 "line": 1, 1428 "column": 1 1429 } 1430 } 1431 }, 1432 "computed": false, 1433 "optional": false, 1434 "loc": { 1435 "start": { 1436 "line": 1, 1437 "column": 1 1438 }, 1439 "end": { 1440 "line": 1, 1441 "column": 1 1442 } 1443 } 1444 }, 1445 { 1446 "type": "MemberExpression", 1447 "object": { 1448 "type": "Identifier", 1449 "name": "from", 1450 "decorators": [], 1451 "loc": { 1452 "start": { 1453 "line": 1, 1454 "column": 1 1455 }, 1456 "end": { 1457 "line": 1, 1458 "column": 1 1459 } 1460 } 1461 }, 1462 "property": { 1463 "type": "Identifier", 1464 "name": "from2", 1465 "decorators": [], 1466 "loc": { 1467 "start": { 1468 "line": 1, 1469 "column": 1 1470 }, 1471 "end": { 1472 "line": 1, 1473 "column": 1 1474 } 1475 } 1476 }, 1477 "computed": false, 1478 "optional": false, 1479 "loc": { 1480 "start": { 1481 "line": 1, 1482 "column": 1 1483 }, 1484 "end": { 1485 "line": 1, 1486 "column": 1 1487 } 1488 } 1489 } 1490 ], 1491 "loc": { 1492 "start": { 1493 "line": 1, 1494 "column": 1 1495 }, 1496 "end": { 1497 "line": 1, 1498 "column": 1 1499 } 1500 } 1501 }, 1502 "accessibility": "protected", 1503 "static": true, 1504 "readonly": true, 1505 "declare": false, 1506 "optional": false, 1507 "computed": false, 1508 "typeAnnotation": { 1509 "type": "TSArrayType", 1510 "elementType": { 1511 "type": "ETSTypeReference", 1512 "part": { 1513 "type": "ETSTypeReferencePart", 1514 "name": { 1515 "type": "Identifier", 1516 "name": "from", 1517 "decorators": [], 1518 "loc": { 1519 "start": { 1520 "line": 1, 1521 "column": 1 1522 }, 1523 "end": { 1524 "line": 1, 1525 "column": 1 1526 } 1527 } 1528 }, 1529 "loc": { 1530 "start": { 1531 "line": 1, 1532 "column": 1 1533 }, 1534 "end": { 1535 "line": 1, 1536 "column": 1 1537 } 1538 } 1539 }, 1540 "loc": { 1541 "start": { 1542 "line": 1, 1543 "column": 1 1544 }, 1545 "end": { 1546 "line": 1, 1547 "column": 1 1548 } 1549 } 1550 }, 1551 "loc": { 1552 "start": { 1553 "line": 1, 1554 "column": 1 1555 }, 1556 "end": { 1557 "line": 1, 1558 "column": 1 1559 } 1560 } 1561 }, 1562 "definite": false, 1563 "decorators": [], 1564 "loc": { 1565 "start": { 1566 "line": 1, 1567 "column": 1 1568 }, 1569 "end": { 1570 "line": 1, 1571 "column": 1 1572 } 1573 } 1574 }, 1575 { 1576 "type": "ClassProperty", 1577 "key": { 1578 "type": "Identifier", 1579 "name": "BoxedItemsArray", 1580 "decorators": [], 1581 "loc": { 1582 "start": { 1583 "line": 1, 1584 "column": 1 1585 }, 1586 "end": { 1587 "line": 1, 1588 "column": 1 1589 } 1590 } 1591 }, 1592 "value": { 1593 "type": "ArrayExpression", 1594 "elements": [ 1595 { 1596 "type": "ETSNewClassInstanceExpression", 1597 "typeReference": { 1598 "type": "ETSTypeReference", 1599 "part": { 1600 "type": "ETSTypeReferencePart", 1601 "name": { 1602 "type": "Identifier", 1603 "name": "#from", 1604 "decorators": [], 1605 "loc": { 1606 "start": { 1607 "line": 1, 1608 "column": 1 1609 }, 1610 "end": { 1611 "line": 1, 1612 "column": 1 1613 } 1614 } 1615 }, 1616 "loc": { 1617 "start": { 1618 "line": 1, 1619 "column": 1 1620 }, 1621 "end": { 1622 "line": 1, 1623 "column": 1 1624 } 1625 } 1626 }, 1627 "loc": { 1628 "start": { 1629 "line": 1, 1630 "column": 1 1631 }, 1632 "end": { 1633 "line": 1, 1634 "column": 1 1635 } 1636 } 1637 }, 1638 "arguments": [ 1639 { 1640 "type": "TSAsExpression", 1641 "expression": { 1642 "type": "MemberExpression", 1643 "object": { 1644 "type": "Identifier", 1645 "name": "from", 1646 "decorators": [], 1647 "loc": { 1648 "start": { 1649 "line": 1, 1650 "column": 1 1651 }, 1652 "end": { 1653 "line": 1, 1654 "column": 1 1655 } 1656 } 1657 }, 1658 "property": { 1659 "type": "Identifier", 1660 "name": "from", 1661 "decorators": [], 1662 "loc": { 1663 "start": { 1664 "line": 1, 1665 "column": 1 1666 }, 1667 "end": { 1668 "line": 1, 1669 "column": 1 1670 } 1671 } 1672 }, 1673 "computed": false, 1674 "optional": false, 1675 "loc": { 1676 "start": { 1677 "line": 1, 1678 "column": 1 1679 }, 1680 "end": { 1681 "line": 1, 1682 "column": 1 1683 } 1684 } 1685 }, 1686 "typeAnnotation": { 1687 "type": "ETSPrimitiveType", 1688 "loc": { 1689 "start": { 1690 "line": 1, 1691 "column": 1 1692 }, 1693 "end": { 1694 "line": 1, 1695 "column": 1 1696 } 1697 } 1698 }, 1699 "loc": { 1700 "start": { 1701 "line": 1, 1702 "column": 1 1703 }, 1704 "end": { 1705 "line": 1, 1706 "column": 1 1707 } 1708 } 1709 } 1710 ], 1711 "loc": { 1712 "start": { 1713 "line": 1, 1714 "column": 1 1715 }, 1716 "end": { 1717 "line": 1, 1718 "column": 1 1719 } 1720 } 1721 }, 1722 { 1723 "type": "ETSNewClassInstanceExpression", 1724 "typeReference": { 1725 "type": "ETSTypeReference", 1726 "part": { 1727 "type": "ETSTypeReferencePart", 1728 "name": { 1729 "type": "Identifier", 1730 "name": "#from", 1731 "decorators": [], 1732 "loc": { 1733 "start": { 1734 "line": 1, 1735 "column": 1 1736 }, 1737 "end": { 1738 "line": 1, 1739 "column": 1 1740 } 1741 } 1742 }, 1743 "loc": { 1744 "start": { 1745 "line": 1, 1746 "column": 1 1747 }, 1748 "end": { 1749 "line": 1, 1750 "column": 1 1751 } 1752 } 1753 }, 1754 "loc": { 1755 "start": { 1756 "line": 1, 1757 "column": 1 1758 }, 1759 "end": { 1760 "line": 1, 1761 "column": 1 1762 } 1763 } 1764 }, 1765 "arguments": [ 1766 { 1767 "type": "TSAsExpression", 1768 "expression": { 1769 "type": "MemberExpression", 1770 "object": { 1771 "type": "Identifier", 1772 "name": "from", 1773 "decorators": [], 1774 "loc": { 1775 "start": { 1776 "line": 1, 1777 "column": 1 1778 }, 1779 "end": { 1780 "line": 1, 1781 "column": 1 1782 } 1783 } 1784 }, 1785 "property": { 1786 "type": "Identifier", 1787 "name": "from1", 1788 "decorators": [], 1789 "loc": { 1790 "start": { 1791 "line": 1, 1792 "column": 1 1793 }, 1794 "end": { 1795 "line": 1, 1796 "column": 1 1797 } 1798 } 1799 }, 1800 "computed": false, 1801 "optional": false, 1802 "loc": { 1803 "start": { 1804 "line": 1, 1805 "column": 1 1806 }, 1807 "end": { 1808 "line": 1, 1809 "column": 1 1810 } 1811 } 1812 }, 1813 "typeAnnotation": { 1814 "type": "ETSPrimitiveType", 1815 "loc": { 1816 "start": { 1817 "line": 1, 1818 "column": 1 1819 }, 1820 "end": { 1821 "line": 1, 1822 "column": 1 1823 } 1824 } 1825 }, 1826 "loc": { 1827 "start": { 1828 "line": 1, 1829 "column": 1 1830 }, 1831 "end": { 1832 "line": 1, 1833 "column": 1 1834 } 1835 } 1836 } 1837 ], 1838 "loc": { 1839 "start": { 1840 "line": 1, 1841 "column": 1 1842 }, 1843 "end": { 1844 "line": 1, 1845 "column": 1 1846 } 1847 } 1848 }, 1849 { 1850 "type": "ETSNewClassInstanceExpression", 1851 "typeReference": { 1852 "type": "ETSTypeReference", 1853 "part": { 1854 "type": "ETSTypeReferencePart", 1855 "name": { 1856 "type": "Identifier", 1857 "name": "#from", 1858 "decorators": [], 1859 "loc": { 1860 "start": { 1861 "line": 1, 1862 "column": 1 1863 }, 1864 "end": { 1865 "line": 1, 1866 "column": 1 1867 } 1868 } 1869 }, 1870 "loc": { 1871 "start": { 1872 "line": 1, 1873 "column": 1 1874 }, 1875 "end": { 1876 "line": 1, 1877 "column": 1 1878 } 1879 } 1880 }, 1881 "loc": { 1882 "start": { 1883 "line": 1, 1884 "column": 1 1885 }, 1886 "end": { 1887 "line": 1, 1888 "column": 1 1889 } 1890 } 1891 }, 1892 "arguments": [ 1893 { 1894 "type": "TSAsExpression", 1895 "expression": { 1896 "type": "MemberExpression", 1897 "object": { 1898 "type": "Identifier", 1899 "name": "from", 1900 "decorators": [], 1901 "loc": { 1902 "start": { 1903 "line": 1, 1904 "column": 1 1905 }, 1906 "end": { 1907 "line": 1, 1908 "column": 1 1909 } 1910 } 1911 }, 1912 "property": { 1913 "type": "Identifier", 1914 "name": "from2", 1915 "decorators": [], 1916 "loc": { 1917 "start": { 1918 "line": 1, 1919 "column": 1 1920 }, 1921 "end": { 1922 "line": 1, 1923 "column": 1 1924 } 1925 } 1926 }, 1927 "computed": false, 1928 "optional": false, 1929 "loc": { 1930 "start": { 1931 "line": 1, 1932 "column": 1 1933 }, 1934 "end": { 1935 "line": 1, 1936 "column": 1 1937 } 1938 } 1939 }, 1940 "typeAnnotation": { 1941 "type": "ETSPrimitiveType", 1942 "loc": { 1943 "start": { 1944 "line": 1, 1945 "column": 1 1946 }, 1947 "end": { 1948 "line": 1, 1949 "column": 1 1950 } 1951 } 1952 }, 1953 "loc": { 1954 "start": { 1955 "line": 1, 1956 "column": 1 1957 }, 1958 "end": { 1959 "line": 1, 1960 "column": 1 1961 } 1962 } 1963 } 1964 ], 1965 "loc": { 1966 "start": { 1967 "line": 1, 1968 "column": 1 1969 }, 1970 "end": { 1971 "line": 1, 1972 "column": 1 1973 } 1974 } 1975 } 1976 ], 1977 "loc": { 1978 "start": { 1979 "line": 1, 1980 "column": 1 1981 }, 1982 "end": { 1983 "line": 1, 1984 "column": 1 1985 } 1986 } 1987 }, 1988 "accessibility": "protected", 1989 "static": true, 1990 "readonly": true, 1991 "declare": false, 1992 "optional": false, 1993 "computed": false, 1994 "typeAnnotation": { 1995 "type": "TSArrayType", 1996 "elementType": { 1997 "type": "ETSTypeReference", 1998 "part": { 1999 "type": "ETSTypeReferencePart", 2000 "name": { 2001 "type": "Identifier", 2002 "name": "#from", 2003 "decorators": [], 2004 "loc": { 2005 "start": { 2006 "line": 1, 2007 "column": 1 2008 }, 2009 "end": { 2010 "line": 1, 2011 "column": 1 2012 } 2013 } 2014 }, 2015 "loc": { 2016 "start": { 2017 "line": 1, 2018 "column": 1 2019 }, 2020 "end": { 2021 "line": 1, 2022 "column": 1 2023 } 2024 } 2025 }, 2026 "loc": { 2027 "start": { 2028 "line": 1, 2029 "column": 1 2030 }, 2031 "end": { 2032 "line": 1, 2033 "column": 1 2034 } 2035 } 2036 }, 2037 "loc": { 2038 "start": { 2039 "line": 1, 2040 "column": 1 2041 }, 2042 "end": { 2043 "line": 1, 2044 "column": 1 2045 } 2046 } 2047 }, 2048 "definite": false, 2049 "decorators": [], 2050 "loc": { 2051 "start": { 2052 "line": 1, 2053 "column": 1 2054 }, 2055 "end": { 2056 "line": 1, 2057 "column": 1 2058 } 2059 } 2060 }, 2061 { 2062 "type": "MethodDefinition", 2063 "key": { 2064 "type": "Identifier", 2065 "name": "getName", 2066 "decorators": [], 2067 "loc": { 2068 "start": { 2069 "line": 1, 2070 "column": 1 2071 }, 2072 "end": { 2073 "line": 1, 2074 "column": 1 2075 } 2076 } 2077 }, 2078 "kind": "method", 2079 "accessibility": "public", 2080 "static": true, 2081 "optional": false, 2082 "computed": false, 2083 "value": { 2084 "type": "FunctionExpression", 2085 "function": { 2086 "type": "ScriptFunction", 2087 "id": { 2088 "type": "Identifier", 2089 "name": "getName", 2090 "decorators": [], 2091 "loc": { 2092 "start": { 2093 "line": 1, 2094 "column": 1 2095 }, 2096 "end": { 2097 "line": 1, 2098 "column": 1 2099 } 2100 } 2101 }, 2102 "generator": false, 2103 "async": false, 2104 "expression": false, 2105 "params": [ 2106 { 2107 "type": "ETSParameterExpression", 2108 "name": { 2109 "type": "Identifier", 2110 "name": "ordinal", 2111 "typeAnnotation": { 2112 "type": "ETSTypeReference", 2113 "part": { 2114 "type": "ETSTypeReferencePart", 2115 "name": { 2116 "type": "Identifier", 2117 "name": "from", 2118 "decorators": [], 2119 "loc": { 2120 "start": { 2121 "line": 1, 2122 "column": 1 2123 }, 2124 "end": { 2125 "line": 1, 2126 "column": 1 2127 } 2128 } 2129 }, 2130 "loc": { 2131 "start": { 2132 "line": 1, 2133 "column": 1 2134 }, 2135 "end": { 2136 "line": 1, 2137 "column": 1 2138 } 2139 } 2140 }, 2141 "loc": { 2142 "start": { 2143 "line": 1, 2144 "column": 1 2145 }, 2146 "end": { 2147 "line": 1, 2148 "column": 1 2149 } 2150 } 2151 }, 2152 "decorators": [], 2153 "loc": { 2154 "start": { 2155 "line": 1, 2156 "column": 1 2157 }, 2158 "end": { 2159 "line": 1, 2160 "column": 1 2161 } 2162 } 2163 }, 2164 "loc": { 2165 "start": { 2166 "line": 1, 2167 "column": 1 2168 }, 2169 "end": { 2170 "line": 1, 2171 "column": 1 2172 } 2173 } 2174 } 2175 ], 2176 "returnType": { 2177 "type": "ETSTypeReference", 2178 "part": { 2179 "type": "ETSTypeReferencePart", 2180 "name": { 2181 "type": "Identifier", 2182 "name": "String", 2183 "decorators": [], 2184 "loc": { 2185 "start": { 2186 "line": 1, 2187 "column": 1 2188 }, 2189 "end": { 2190 "line": 1, 2191 "column": 1 2192 } 2193 } 2194 }, 2195 "loc": { 2196 "start": { 2197 "line": 1, 2198 "column": 1 2199 }, 2200 "end": { 2201 "line": 1, 2202 "column": 1 2203 } 2204 } 2205 }, 2206 "loc": { 2207 "start": { 2208 "line": 1, 2209 "column": 1 2210 }, 2211 "end": { 2212 "line": 1, 2213 "column": 1 2214 } 2215 } 2216 }, 2217 "body": { 2218 "type": "BlockStatement", 2219 "statements": [ 2220 { 2221 "type": "ReturnStatement", 2222 "argument": { 2223 "type": "MemberExpression", 2224 "object": { 2225 "type": "MemberExpression", 2226 "object": { 2227 "type": "Identifier", 2228 "name": "#from", 2229 "decorators": [], 2230 "loc": { 2231 "start": { 2232 "line": 1, 2233 "column": 1 2234 }, 2235 "end": { 2236 "line": 1, 2237 "column": 1 2238 } 2239 } 2240 }, 2241 "property": { 2242 "type": "Identifier", 2243 "name": "NamesArray", 2244 "decorators": [], 2245 "loc": { 2246 "start": { 2247 "line": 1, 2248 "column": 1 2249 }, 2250 "end": { 2251 "line": 1, 2252 "column": 1 2253 } 2254 } 2255 }, 2256 "computed": false, 2257 "optional": false, 2258 "loc": { 2259 "start": { 2260 "line": 1, 2261 "column": 1 2262 }, 2263 "end": { 2264 "line": 1, 2265 "column": 1 2266 } 2267 } 2268 }, 2269 "property": { 2270 "type": "TSAsExpression", 2271 "expression": { 2272 "type": "Identifier", 2273 "name": "ordinal", 2274 "decorators": [], 2275 "loc": { 2276 "start": { 2277 "line": 1, 2278 "column": 1 2279 }, 2280 "end": { 2281 "line": 1, 2282 "column": 1 2283 } 2284 } 2285 }, 2286 "typeAnnotation": { 2287 "type": "ETSPrimitiveType", 2288 "loc": { 2289 "start": { 2290 "line": 1, 2291 "column": 1 2292 }, 2293 "end": { 2294 "line": 1, 2295 "column": 1 2296 } 2297 } 2298 }, 2299 "loc": { 2300 "start": { 2301 "line": 1, 2302 "column": 1 2303 }, 2304 "end": { 2305 "line": 1, 2306 "column": 1 2307 } 2308 } 2309 }, 2310 "computed": true, 2311 "optional": false, 2312 "loc": { 2313 "start": { 2314 "line": 1, 2315 "column": 1 2316 }, 2317 "end": { 2318 "line": 1, 2319 "column": 1 2320 } 2321 } 2322 }, 2323 "loc": { 2324 "start": { 2325 "line": 1, 2326 "column": 1 2327 }, 2328 "end": { 2329 "line": 1, 2330 "column": 1 2331 } 2332 } 2333 } 2334 ], 2335 "loc": { 2336 "start": { 2337 "line": 1, 2338 "column": 1 2339 }, 2340 "end": { 2341 "line": 1, 2342 "column": 1 2343 } 2344 } 2345 }, 2346 "loc": { 2347 "start": { 2348 "line": 1, 2349 "column": 1 2350 }, 2351 "end": { 2352 "line": 1, 2353 "column": 1 2354 } 2355 } 2356 }, 2357 "loc": { 2358 "start": { 2359 "line": 1, 2360 "column": 1 2361 }, 2362 "end": { 2363 "line": 1, 2364 "column": 1 2365 } 2366 } 2367 }, 2368 "overloads": [], 2369 "decorators": [], 2370 "loc": { 2371 "start": { 2372 "line": 1, 2373 "column": 1 2374 }, 2375 "end": { 2376 "line": 1, 2377 "column": 1 2378 } 2379 } 2380 }, 2381 { 2382 "type": "MethodDefinition", 2383 "key": { 2384 "type": "Identifier", 2385 "name": "getValueOf", 2386 "decorators": [], 2387 "loc": { 2388 "start": { 2389 "line": 1, 2390 "column": 1 2391 }, 2392 "end": { 2393 "line": 1, 2394 "column": 1 2395 } 2396 } 2397 }, 2398 "kind": "method", 2399 "accessibility": "public", 2400 "static": true, 2401 "optional": false, 2402 "computed": false, 2403 "value": { 2404 "type": "FunctionExpression", 2405 "function": { 2406 "type": "ScriptFunction", 2407 "id": { 2408 "type": "Identifier", 2409 "name": "getValueOf", 2410 "decorators": [], 2411 "loc": { 2412 "start": { 2413 "line": 1, 2414 "column": 1 2415 }, 2416 "end": { 2417 "line": 1, 2418 "column": 1 2419 } 2420 } 2421 }, 2422 "generator": false, 2423 "async": false, 2424 "expression": false, 2425 "params": [ 2426 { 2427 "type": "ETSParameterExpression", 2428 "name": { 2429 "type": "Identifier", 2430 "name": "name", 2431 "typeAnnotation": { 2432 "type": "ETSTypeReference", 2433 "part": { 2434 "type": "ETSTypeReferencePart", 2435 "name": { 2436 "type": "Identifier", 2437 "name": "String", 2438 "decorators": [], 2439 "loc": { 2440 "start": { 2441 "line": 1, 2442 "column": 1 2443 }, 2444 "end": { 2445 "line": 1, 2446 "column": 1 2447 } 2448 } 2449 }, 2450 "loc": { 2451 "start": { 2452 "line": 1, 2453 "column": 1 2454 }, 2455 "end": { 2456 "line": 1, 2457 "column": 1 2458 } 2459 } 2460 }, 2461 "loc": { 2462 "start": { 2463 "line": 1, 2464 "column": 1 2465 }, 2466 "end": { 2467 "line": 1, 2468 "column": 1 2469 } 2470 } 2471 }, 2472 "decorators": [], 2473 "loc": { 2474 "start": { 2475 "line": 1, 2476 "column": 1 2477 }, 2478 "end": { 2479 "line": 1, 2480 "column": 1 2481 } 2482 } 2483 }, 2484 "loc": { 2485 "start": { 2486 "line": 1, 2487 "column": 1 2488 }, 2489 "end": { 2490 "line": 1, 2491 "column": 1 2492 } 2493 } 2494 } 2495 ], 2496 "returnType": { 2497 "type": "ETSTypeReference", 2498 "part": { 2499 "type": "ETSTypeReferencePart", 2500 "name": { 2501 "type": "Identifier", 2502 "name": "from", 2503 "decorators": [], 2504 "loc": { 2505 "start": { 2506 "line": 1, 2507 "column": 1 2508 }, 2509 "end": { 2510 "line": 1, 2511 "column": 1 2512 } 2513 } 2514 }, 2515 "loc": { 2516 "start": { 2517 "line": 1, 2518 "column": 1 2519 }, 2520 "end": { 2521 "line": 1, 2522 "column": 1 2523 } 2524 } 2525 }, 2526 "loc": { 2527 "start": { 2528 "line": 1, 2529 "column": 1 2530 }, 2531 "end": { 2532 "line": 1, 2533 "column": 1 2534 } 2535 } 2536 }, 2537 "body": { 2538 "type": "BlockStatement", 2539 "statements": [ 2540 { 2541 "type": "ForUpdateStatement", 2542 "init": { 2543 "type": "VariableDeclaration", 2544 "declarations": [ 2545 { 2546 "type": "VariableDeclarator", 2547 "id": { 2548 "type": "Identifier", 2549 "name": "i", 2550 "decorators": [], 2551 "loc": { 2552 "start": { 2553 "line": 1, 2554 "column": 1 2555 }, 2556 "end": { 2557 "line": 1, 2558 "column": 1 2559 } 2560 } 2561 }, 2562 "init": { 2563 "type": "NumberLiteral", 2564 "value": 0, 2565 "loc": { 2566 "start": { 2567 "line": 1, 2568 "column": 1 2569 }, 2570 "end": { 2571 "line": 1, 2572 "column": 1 2573 } 2574 } 2575 }, 2576 "loc": { 2577 "start": { 2578 "line": 1, 2579 "column": 1 2580 }, 2581 "end": { 2582 "line": 1, 2583 "column": 1 2584 } 2585 } 2586 } 2587 ], 2588 "kind": "let", 2589 "loc": { 2590 "start": { 2591 "line": 1, 2592 "column": 1 2593 }, 2594 "end": { 2595 "line": 1, 2596 "column": 1 2597 } 2598 } 2599 }, 2600 "test": { 2601 "type": "BinaryExpression", 2602 "operator": "<", 2603 "left": { 2604 "type": "Identifier", 2605 "name": "i", 2606 "decorators": [], 2607 "loc": { 2608 "start": { 2609 "line": 1, 2610 "column": 1 2611 }, 2612 "end": { 2613 "line": 1, 2614 "column": 1 2615 } 2616 } 2617 }, 2618 "right": { 2619 "type": "MemberExpression", 2620 "object": { 2621 "type": "MemberExpression", 2622 "object": { 2623 "type": "Identifier", 2624 "name": "#from", 2625 "decorators": [], 2626 "loc": { 2627 "start": { 2628 "line": 1, 2629 "column": 1 2630 }, 2631 "end": { 2632 "line": 1, 2633 "column": 1 2634 } 2635 } 2636 }, 2637 "property": { 2638 "type": "Identifier", 2639 "name": "NamesArray", 2640 "decorators": [], 2641 "loc": { 2642 "start": { 2643 "line": 1, 2644 "column": 1 2645 }, 2646 "end": { 2647 "line": 1, 2648 "column": 1 2649 } 2650 } 2651 }, 2652 "computed": false, 2653 "optional": false, 2654 "loc": { 2655 "start": { 2656 "line": 1, 2657 "column": 1 2658 }, 2659 "end": { 2660 "line": 1, 2661 "column": 1 2662 } 2663 } 2664 }, 2665 "property": { 2666 "type": "Identifier", 2667 "name": "length", 2668 "decorators": [], 2669 "loc": { 2670 "start": { 2671 "line": 1, 2672 "column": 1 2673 }, 2674 "end": { 2675 "line": 1, 2676 "column": 1 2677 } 2678 } 2679 }, 2680 "computed": false, 2681 "optional": false, 2682 "loc": { 2683 "start": { 2684 "line": 1, 2685 "column": 1 2686 }, 2687 "end": { 2688 "line": 1, 2689 "column": 1 2690 } 2691 } 2692 }, 2693 "loc": { 2694 "start": { 2695 "line": 1, 2696 "column": 1 2697 }, 2698 "end": { 2699 "line": 1, 2700 "column": 1 2701 } 2702 } 2703 }, 2704 "update": { 2705 "type": "UpdateExpression", 2706 "operator": "++", 2707 "prefix": true, 2708 "argument": { 2709 "type": "Identifier", 2710 "name": "i", 2711 "decorators": [], 2712 "loc": { 2713 "start": { 2714 "line": 1, 2715 "column": 1 2716 }, 2717 "end": { 2718 "line": 1, 2719 "column": 1 2720 } 2721 } 2722 }, 2723 "loc": { 2724 "start": { 2725 "line": 1, 2726 "column": 1 2727 }, 2728 "end": { 2729 "line": 1, 2730 "column": 1 2731 } 2732 } 2733 }, 2734 "body": { 2735 "type": "IfStatement", 2736 "test": { 2737 "type": "BinaryExpression", 2738 "operator": "==", 2739 "left": { 2740 "type": "Identifier", 2741 "name": "name", 2742 "decorators": [], 2743 "loc": { 2744 "start": { 2745 "line": 1, 2746 "column": 1 2747 }, 2748 "end": { 2749 "line": 1, 2750 "column": 1 2751 } 2752 } 2753 }, 2754 "right": { 2755 "type": "MemberExpression", 2756 "object": { 2757 "type": "MemberExpression", 2758 "object": { 2759 "type": "Identifier", 2760 "name": "#from", 2761 "decorators": [], 2762 "loc": { 2763 "start": { 2764 "line": 1, 2765 "column": 1 2766 }, 2767 "end": { 2768 "line": 1, 2769 "column": 1 2770 } 2771 } 2772 }, 2773 "property": { 2774 "type": "Identifier", 2775 "name": "NamesArray", 2776 "decorators": [], 2777 "loc": { 2778 "start": { 2779 "line": 1, 2780 "column": 1 2781 }, 2782 "end": { 2783 "line": 1, 2784 "column": 1 2785 } 2786 } 2787 }, 2788 "computed": false, 2789 "optional": false, 2790 "loc": { 2791 "start": { 2792 "line": 1, 2793 "column": 1 2794 }, 2795 "end": { 2796 "line": 1, 2797 "column": 1 2798 } 2799 } 2800 }, 2801 "property": { 2802 "type": "Identifier", 2803 "name": "i", 2804 "decorators": [], 2805 "loc": { 2806 "start": { 2807 "line": 1, 2808 "column": 1 2809 }, 2810 "end": { 2811 "line": 1, 2812 "column": 1 2813 } 2814 } 2815 }, 2816 "computed": true, 2817 "optional": false, 2818 "loc": { 2819 "start": { 2820 "line": 1, 2821 "column": 1 2822 }, 2823 "end": { 2824 "line": 1, 2825 "column": 1 2826 } 2827 } 2828 }, 2829 "loc": { 2830 "start": { 2831 "line": 1, 2832 "column": 1 2833 }, 2834 "end": { 2835 "line": 1, 2836 "column": 1 2837 } 2838 } 2839 }, 2840 "consequent": { 2841 "type": "ReturnStatement", 2842 "argument": { 2843 "type": "TSAsExpression", 2844 "expression": { 2845 "type": "Identifier", 2846 "name": "i", 2847 "decorators": [], 2848 "loc": { 2849 "start": { 2850 "line": 1, 2851 "column": 1 2852 }, 2853 "end": { 2854 "line": 1, 2855 "column": 1 2856 } 2857 } 2858 }, 2859 "typeAnnotation": { 2860 "type": "ETSTypeReference", 2861 "part": { 2862 "type": "ETSTypeReferencePart", 2863 "name": { 2864 "type": "Identifier", 2865 "name": "from", 2866 "decorators": [], 2867 "loc": { 2868 "start": { 2869 "line": 1, 2870 "column": 1 2871 }, 2872 "end": { 2873 "line": 1, 2874 "column": 1 2875 } 2876 } 2877 }, 2878 "loc": { 2879 "start": { 2880 "line": 1, 2881 "column": 1 2882 }, 2883 "end": { 2884 "line": 1, 2885 "column": 1 2886 } 2887 } 2888 }, 2889 "loc": { 2890 "start": { 2891 "line": 1, 2892 "column": 1 2893 }, 2894 "end": { 2895 "line": 1, 2896 "column": 1 2897 } 2898 } 2899 }, 2900 "loc": { 2901 "start": { 2902 "line": 1, 2903 "column": 1 2904 }, 2905 "end": { 2906 "line": 1, 2907 "column": 1 2908 } 2909 } 2910 }, 2911 "loc": { 2912 "start": { 2913 "line": 1, 2914 "column": 1 2915 }, 2916 "end": { 2917 "line": 1, 2918 "column": 1 2919 } 2920 } 2921 }, 2922 "alternate": null, 2923 "loc": { 2924 "start": { 2925 "line": 1, 2926 "column": 1 2927 }, 2928 "end": { 2929 "line": 1, 2930 "column": 1 2931 } 2932 } 2933 }, 2934 "loc": { 2935 "start": { 2936 "line": 1, 2937 "column": 1 2938 }, 2939 "end": { 2940 "line": 1, 2941 "column": 1 2942 } 2943 } 2944 }, 2945 { 2946 "type": "ThrowStatement", 2947 "argument": { 2948 "type": "ETSNewClassInstanceExpression", 2949 "typeReference": { 2950 "type": "ETSTypeReference", 2951 "part": { 2952 "type": "ETSTypeReferencePart", 2953 "name": { 2954 "type": "Identifier", 2955 "name": "Exception", 2956 "decorators": [], 2957 "loc": { 2958 "start": { 2959 "line": 1, 2960 "column": 1 2961 }, 2962 "end": { 2963 "line": 1, 2964 "column": 1 2965 } 2966 } 2967 }, 2968 "loc": { 2969 "start": { 2970 "line": 1, 2971 "column": 1 2972 }, 2973 "end": { 2974 "line": 1, 2975 "column": 1 2976 } 2977 } 2978 }, 2979 "loc": { 2980 "start": { 2981 "line": 1, 2982 "column": 1 2983 }, 2984 "end": { 2985 "line": 1, 2986 "column": 1 2987 } 2988 } 2989 }, 2990 "arguments": [ 2991 { 2992 "type": "BinaryExpression", 2993 "operator": "+", 2994 "left": { 2995 "type": "StringLiteral", 2996 "value": "No enum constant from.", 2997 "loc": { 2998 "start": { 2999 "line": 1, 3000 "column": 1 3001 }, 3002 "end": { 3003 "line": 1, 3004 "column": 1 3005 } 3006 } 3007 }, 3008 "right": { 3009 "type": "Identifier", 3010 "name": "name", 3011 "decorators": [], 3012 "loc": { 3013 "start": { 3014 "line": 1, 3015 "column": 1 3016 }, 3017 "end": { 3018 "line": 1, 3019 "column": 1 3020 } 3021 } 3022 }, 3023 "loc": { 3024 "start": { 3025 "line": 1, 3026 "column": 1 3027 }, 3028 "end": { 3029 "line": 1, 3030 "column": 1 3031 } 3032 } 3033 } 3034 ], 3035 "loc": { 3036 "start": { 3037 "line": 1, 3038 "column": 1 3039 }, 3040 "end": { 3041 "line": 1, 3042 "column": 1 3043 } 3044 } 3045 }, 3046 "loc": { 3047 "start": { 3048 "line": 1, 3049 "column": 1 3050 }, 3051 "end": { 3052 "line": 1, 3053 "column": 1 3054 } 3055 } 3056 } 3057 ], 3058 "loc": { 3059 "start": { 3060 "line": 1, 3061 "column": 1 3062 }, 3063 "end": { 3064 "line": 1, 3065 "column": 1 3066 } 3067 } 3068 }, 3069 "throwMarker": "throws", 3070 "loc": { 3071 "start": { 3072 "line": 1, 3073 "column": 1 3074 }, 3075 "end": { 3076 "line": 1, 3077 "column": 1 3078 } 3079 } 3080 }, 3081 "loc": { 3082 "start": { 3083 "line": 1, 3084 "column": 1 3085 }, 3086 "end": { 3087 "line": 1, 3088 "column": 1 3089 } 3090 } 3091 }, 3092 "overloads": [], 3093 "decorators": [], 3094 "loc": { 3095 "start": { 3096 "line": 1, 3097 "column": 1 3098 }, 3099 "end": { 3100 "line": 1, 3101 "column": 1 3102 } 3103 } 3104 }, 3105 { 3106 "type": "MethodDefinition", 3107 "key": { 3108 "type": "Identifier", 3109 "name": "valueOf", 3110 "decorators": [], 3111 "loc": { 3112 "start": { 3113 "line": 1, 3114 "column": 1 3115 }, 3116 "end": { 3117 "line": 1, 3118 "column": 1 3119 } 3120 } 3121 }, 3122 "kind": "method", 3123 "accessibility": "public", 3124 "static": true, 3125 "optional": false, 3126 "computed": false, 3127 "value": { 3128 "type": "FunctionExpression", 3129 "function": { 3130 "type": "ScriptFunction", 3131 "id": { 3132 "type": "Identifier", 3133 "name": "valueOf", 3134 "decorators": [], 3135 "loc": { 3136 "start": { 3137 "line": 1, 3138 "column": 1 3139 }, 3140 "end": { 3141 "line": 1, 3142 "column": 1 3143 } 3144 } 3145 }, 3146 "generator": false, 3147 "async": false, 3148 "expression": false, 3149 "params": [ 3150 { 3151 "type": "ETSParameterExpression", 3152 "name": { 3153 "type": "Identifier", 3154 "name": "e", 3155 "typeAnnotation": { 3156 "type": "ETSTypeReference", 3157 "part": { 3158 "type": "ETSTypeReferencePart", 3159 "name": { 3160 "type": "Identifier", 3161 "name": "from", 3162 "decorators": [], 3163 "loc": { 3164 "start": { 3165 "line": 1, 3166 "column": 1 3167 }, 3168 "end": { 3169 "line": 1, 3170 "column": 1 3171 } 3172 } 3173 }, 3174 "loc": { 3175 "start": { 3176 "line": 1, 3177 "column": 1 3178 }, 3179 "end": { 3180 "line": 1, 3181 "column": 1 3182 } 3183 } 3184 }, 3185 "loc": { 3186 "start": { 3187 "line": 1, 3188 "column": 1 3189 }, 3190 "end": { 3191 "line": 1, 3192 "column": 1 3193 } 3194 } 3195 }, 3196 "decorators": [], 3197 "loc": { 3198 "start": { 3199 "line": 1, 3200 "column": 1 3201 }, 3202 "end": { 3203 "line": 1, 3204 "column": 1 3205 } 3206 } 3207 }, 3208 "loc": { 3209 "start": { 3210 "line": 1, 3211 "column": 1 3212 }, 3213 "end": { 3214 "line": 1, 3215 "column": 1 3216 } 3217 } 3218 } 3219 ], 3220 "returnType": { 3221 "type": "ETSPrimitiveType", 3222 "loc": { 3223 "start": { 3224 "line": 1, 3225 "column": 1 3226 }, 3227 "end": { 3228 "line": 1, 3229 "column": 1 3230 } 3231 } 3232 }, 3233 "body": { 3234 "type": "BlockStatement", 3235 "statements": [ 3236 { 3237 "type": "ReturnStatement", 3238 "argument": { 3239 "type": "MemberExpression", 3240 "object": { 3241 "type": "MemberExpression", 3242 "object": { 3243 "type": "Identifier", 3244 "name": "#from", 3245 "decorators": [], 3246 "loc": { 3247 "start": { 3248 "line": 1, 3249 "column": 1 3250 }, 3251 "end": { 3252 "line": 1, 3253 "column": 1 3254 } 3255 } 3256 }, 3257 "property": { 3258 "type": "Identifier", 3259 "name": "ValuesArray", 3260 "decorators": [], 3261 "loc": { 3262 "start": { 3263 "line": 1, 3264 "column": 1 3265 }, 3266 "end": { 3267 "line": 1, 3268 "column": 1 3269 } 3270 } 3271 }, 3272 "computed": false, 3273 "optional": false, 3274 "loc": { 3275 "start": { 3276 "line": 1, 3277 "column": 1 3278 }, 3279 "end": { 3280 "line": 1, 3281 "column": 1 3282 } 3283 } 3284 }, 3285 "property": { 3286 "type": "TSAsExpression", 3287 "expression": { 3288 "type": "Identifier", 3289 "name": "e", 3290 "decorators": [], 3291 "loc": { 3292 "start": { 3293 "line": 1, 3294 "column": 1 3295 }, 3296 "end": { 3297 "line": 1, 3298 "column": 1 3299 } 3300 } 3301 }, 3302 "typeAnnotation": { 3303 "type": "ETSPrimitiveType", 3304 "loc": { 3305 "start": { 3306 "line": 1, 3307 "column": 1 3308 }, 3309 "end": { 3310 "line": 1, 3311 "column": 1 3312 } 3313 } 3314 }, 3315 "loc": { 3316 "start": { 3317 "line": 1, 3318 "column": 1 3319 }, 3320 "end": { 3321 "line": 1, 3322 "column": 1 3323 } 3324 } 3325 }, 3326 "computed": true, 3327 "optional": false, 3328 "loc": { 3329 "start": { 3330 "line": 1, 3331 "column": 1 3332 }, 3333 "end": { 3334 "line": 1, 3335 "column": 1 3336 } 3337 } 3338 }, 3339 "loc": { 3340 "start": { 3341 "line": 1, 3342 "column": 1 3343 }, 3344 "end": { 3345 "line": 1, 3346 "column": 1 3347 } 3348 } 3349 } 3350 ], 3351 "loc": { 3352 "start": { 3353 "line": 1, 3354 "column": 1 3355 }, 3356 "end": { 3357 "line": 1, 3358 "column": 1 3359 } 3360 } 3361 }, 3362 "loc": { 3363 "start": { 3364 "line": 1, 3365 "column": 1 3366 }, 3367 "end": { 3368 "line": 1, 3369 "column": 1 3370 } 3371 } 3372 }, 3373 "loc": { 3374 "start": { 3375 "line": 1, 3376 "column": 1 3377 }, 3378 "end": { 3379 "line": 1, 3380 "column": 1 3381 } 3382 } 3383 }, 3384 "overloads": [], 3385 "decorators": [], 3386 "loc": { 3387 "start": { 3388 "line": 1, 3389 "column": 1 3390 }, 3391 "end": { 3392 "line": 1, 3393 "column": 1 3394 } 3395 } 3396 }, 3397 { 3398 "type": "MethodDefinition", 3399 "key": { 3400 "type": "Identifier", 3401 "name": "toString", 3402 "decorators": [], 3403 "loc": { 3404 "start": { 3405 "line": 1, 3406 "column": 1 3407 }, 3408 "end": { 3409 "line": 1, 3410 "column": 1 3411 } 3412 } 3413 }, 3414 "kind": "method", 3415 "accessibility": "public", 3416 "static": true, 3417 "optional": false, 3418 "computed": false, 3419 "value": { 3420 "type": "FunctionExpression", 3421 "function": { 3422 "type": "ScriptFunction", 3423 "id": { 3424 "type": "Identifier", 3425 "name": "toString", 3426 "decorators": [], 3427 "loc": { 3428 "start": { 3429 "line": 1, 3430 "column": 1 3431 }, 3432 "end": { 3433 "line": 1, 3434 "column": 1 3435 } 3436 } 3437 }, 3438 "generator": false, 3439 "async": false, 3440 "expression": false, 3441 "params": [ 3442 { 3443 "type": "ETSParameterExpression", 3444 "name": { 3445 "type": "Identifier", 3446 "name": "ordinal", 3447 "typeAnnotation": { 3448 "type": "ETSTypeReference", 3449 "part": { 3450 "type": "ETSTypeReferencePart", 3451 "name": { 3452 "type": "Identifier", 3453 "name": "from", 3454 "decorators": [], 3455 "loc": { 3456 "start": { 3457 "line": 1, 3458 "column": 1 3459 }, 3460 "end": { 3461 "line": 1, 3462 "column": 1 3463 } 3464 } 3465 }, 3466 "loc": { 3467 "start": { 3468 "line": 1, 3469 "column": 1 3470 }, 3471 "end": { 3472 "line": 1, 3473 "column": 1 3474 } 3475 } 3476 }, 3477 "loc": { 3478 "start": { 3479 "line": 1, 3480 "column": 1 3481 }, 3482 "end": { 3483 "line": 1, 3484 "column": 1 3485 } 3486 } 3487 }, 3488 "decorators": [], 3489 "loc": { 3490 "start": { 3491 "line": 1, 3492 "column": 1 3493 }, 3494 "end": { 3495 "line": 1, 3496 "column": 1 3497 } 3498 } 3499 }, 3500 "loc": { 3501 "start": { 3502 "line": 1, 3503 "column": 1 3504 }, 3505 "end": { 3506 "line": 1, 3507 "column": 1 3508 } 3509 } 3510 } 3511 ], 3512 "returnType": { 3513 "type": "ETSTypeReference", 3514 "part": { 3515 "type": "ETSTypeReferencePart", 3516 "name": { 3517 "type": "Identifier", 3518 "name": "String", 3519 "decorators": [], 3520 "loc": { 3521 "start": { 3522 "line": 1, 3523 "column": 1 3524 }, 3525 "end": { 3526 "line": 1, 3527 "column": 1 3528 } 3529 } 3530 }, 3531 "loc": { 3532 "start": { 3533 "line": 1, 3534 "column": 1 3535 }, 3536 "end": { 3537 "line": 1, 3538 "column": 1 3539 } 3540 } 3541 }, 3542 "loc": { 3543 "start": { 3544 "line": 1, 3545 "column": 1 3546 }, 3547 "end": { 3548 "line": 1, 3549 "column": 1 3550 } 3551 } 3552 }, 3553 "body": { 3554 "type": "BlockStatement", 3555 "statements": [ 3556 { 3557 "type": "ReturnStatement", 3558 "argument": { 3559 "type": "MemberExpression", 3560 "object": { 3561 "type": "MemberExpression", 3562 "object": { 3563 "type": "Identifier", 3564 "name": "#from", 3565 "decorators": [], 3566 "loc": { 3567 "start": { 3568 "line": 1, 3569 "column": 1 3570 }, 3571 "end": { 3572 "line": 1, 3573 "column": 1 3574 } 3575 } 3576 }, 3577 "property": { 3578 "type": "Identifier", 3579 "name": "StringValuesArray", 3580 "decorators": [], 3581 "loc": { 3582 "start": { 3583 "line": 1, 3584 "column": 1 3585 }, 3586 "end": { 3587 "line": 1, 3588 "column": 1 3589 } 3590 } 3591 }, 3592 "computed": false, 3593 "optional": false, 3594 "loc": { 3595 "start": { 3596 "line": 1, 3597 "column": 1 3598 }, 3599 "end": { 3600 "line": 1, 3601 "column": 1 3602 } 3603 } 3604 }, 3605 "property": { 3606 "type": "TSAsExpression", 3607 "expression": { 3608 "type": "Identifier", 3609 "name": "ordinal", 3610 "decorators": [], 3611 "loc": { 3612 "start": { 3613 "line": 1, 3614 "column": 1 3615 }, 3616 "end": { 3617 "line": 1, 3618 "column": 1 3619 } 3620 } 3621 }, 3622 "typeAnnotation": { 3623 "type": "ETSPrimitiveType", 3624 "loc": { 3625 "start": { 3626 "line": 1, 3627 "column": 1 3628 }, 3629 "end": { 3630 "line": 1, 3631 "column": 1 3632 } 3633 } 3634 }, 3635 "loc": { 3636 "start": { 3637 "line": 1, 3638 "column": 1 3639 }, 3640 "end": { 3641 "line": 1, 3642 "column": 1 3643 } 3644 } 3645 }, 3646 "computed": true, 3647 "optional": false, 3648 "loc": { 3649 "start": { 3650 "line": 1, 3651 "column": 1 3652 }, 3653 "end": { 3654 "line": 1, 3655 "column": 1 3656 } 3657 } 3658 }, 3659 "loc": { 3660 "start": { 3661 "line": 1, 3662 "column": 1 3663 }, 3664 "end": { 3665 "line": 1, 3666 "column": 1 3667 } 3668 } 3669 } 3670 ], 3671 "loc": { 3672 "start": { 3673 "line": 1, 3674 "column": 1 3675 }, 3676 "end": { 3677 "line": 1, 3678 "column": 1 3679 } 3680 } 3681 }, 3682 "loc": { 3683 "start": { 3684 "line": 1, 3685 "column": 1 3686 }, 3687 "end": { 3688 "line": 1, 3689 "column": 1 3690 } 3691 } 3692 }, 3693 "loc": { 3694 "start": { 3695 "line": 1, 3696 "column": 1 3697 }, 3698 "end": { 3699 "line": 1, 3700 "column": 1 3701 } 3702 } 3703 }, 3704 "overloads": [], 3705 "decorators": [], 3706 "loc": { 3707 "start": { 3708 "line": 1, 3709 "column": 1 3710 }, 3711 "end": { 3712 "line": 1, 3713 "column": 1 3714 } 3715 } 3716 }, 3717 { 3718 "type": "MethodDefinition", 3719 "key": { 3720 "type": "Identifier", 3721 "name": "values", 3722 "decorators": [], 3723 "loc": { 3724 "start": { 3725 "line": 1, 3726 "column": 1 3727 }, 3728 "end": { 3729 "line": 1, 3730 "column": 1 3731 } 3732 } 3733 }, 3734 "kind": "method", 3735 "accessibility": "public", 3736 "static": true, 3737 "optional": false, 3738 "computed": false, 3739 "value": { 3740 "type": "FunctionExpression", 3741 "function": { 3742 "type": "ScriptFunction", 3743 "id": { 3744 "type": "Identifier", 3745 "name": "values", 3746 "decorators": [], 3747 "loc": { 3748 "start": { 3749 "line": 1, 3750 "column": 1 3751 }, 3752 "end": { 3753 "line": 1, 3754 "column": 1 3755 } 3756 } 3757 }, 3758 "generator": false, 3759 "async": false, 3760 "expression": false, 3761 "params": [], 3762 "returnType": { 3763 "type": "TSArrayType", 3764 "elementType": { 3765 "type": "ETSTypeReference", 3766 "part": { 3767 "type": "ETSTypeReferencePart", 3768 "name": { 3769 "type": "Identifier", 3770 "name": "from", 3771 "decorators": [], 3772 "loc": { 3773 "start": { 3774 "line": 1, 3775 "column": 1 3776 }, 3777 "end": { 3778 "line": 1, 3779 "column": 1 3780 } 3781 } 3782 }, 3783 "loc": { 3784 "start": { 3785 "line": 1, 3786 "column": 1 3787 }, 3788 "end": { 3789 "line": 1, 3790 "column": 1 3791 } 3792 } 3793 }, 3794 "loc": { 3795 "start": { 3796 "line": 1, 3797 "column": 1 3798 }, 3799 "end": { 3800 "line": 1, 3801 "column": 1 3802 } 3803 } 3804 }, 3805 "loc": { 3806 "start": { 3807 "line": 1, 3808 "column": 1 3809 }, 3810 "end": { 3811 "line": 1, 3812 "column": 1 3813 } 3814 } 3815 }, 3816 "body": { 3817 "type": "BlockStatement", 3818 "statements": [ 3819 { 3820 "type": "ReturnStatement", 3821 "argument": { 3822 "type": "MemberExpression", 3823 "object": { 3824 "type": "Identifier", 3825 "name": "#from", 3826 "decorators": [], 3827 "loc": { 3828 "start": { 3829 "line": 1, 3830 "column": 1 3831 }, 3832 "end": { 3833 "line": 1, 3834 "column": 1 3835 } 3836 } 3837 }, 3838 "property": { 3839 "type": "Identifier", 3840 "name": "ItemsArray", 3841 "decorators": [], 3842 "loc": { 3843 "start": { 3844 "line": 1, 3845 "column": 1 3846 }, 3847 "end": { 3848 "line": 1, 3849 "column": 1 3850 } 3851 } 3852 }, 3853 "computed": false, 3854 "optional": false, 3855 "loc": { 3856 "start": { 3857 "line": 1, 3858 "column": 1 3859 }, 3860 "end": { 3861 "line": 1, 3862 "column": 1 3863 } 3864 } 3865 }, 3866 "loc": { 3867 "start": { 3868 "line": 1, 3869 "column": 1 3870 }, 3871 "end": { 3872 "line": 1, 3873 "column": 1 3874 } 3875 } 3876 } 3877 ], 3878 "loc": { 3879 "start": { 3880 "line": 1, 3881 "column": 1 3882 }, 3883 "end": { 3884 "line": 1, 3885 "column": 1 3886 } 3887 } 3888 }, 3889 "loc": { 3890 "start": { 3891 "line": 1, 3892 "column": 1 3893 }, 3894 "end": { 3895 "line": 1, 3896 "column": 1 3897 } 3898 } 3899 }, 3900 "loc": { 3901 "start": { 3902 "line": 1, 3903 "column": 1 3904 }, 3905 "end": { 3906 "line": 1, 3907 "column": 1 3908 } 3909 } 3910 }, 3911 "overloads": [], 3912 "decorators": [], 3913 "loc": { 3914 "start": { 3915 "line": 1, 3916 "column": 1 3917 }, 3918 "end": { 3919 "line": 1, 3920 "column": 1 3921 } 3922 } 3923 }, 3924 { 3925 "type": "MethodDefinition", 3926 "key": { 3927 "type": "Identifier", 3928 "name": "fromInt", 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 "kind": "method", 3942 "accessibility": "public", 3943 "static": true, 3944 "optional": false, 3945 "computed": false, 3946 "value": { 3947 "type": "FunctionExpression", 3948 "function": { 3949 "type": "ScriptFunction", 3950 "id": { 3951 "type": "Identifier", 3952 "name": "fromInt", 3953 "decorators": [], 3954 "loc": { 3955 "start": { 3956 "line": 1, 3957 "column": 1 3958 }, 3959 "end": { 3960 "line": 1, 3961 "column": 1 3962 } 3963 } 3964 }, 3965 "generator": false, 3966 "async": false, 3967 "expression": false, 3968 "params": [ 3969 { 3970 "type": "ETSParameterExpression", 3971 "name": { 3972 "type": "Identifier", 3973 "name": "ordinal", 3974 "typeAnnotation": { 3975 "type": "ETSPrimitiveType", 3976 "loc": { 3977 "start": { 3978 "line": 1, 3979 "column": 1 3980 }, 3981 "end": { 3982 "line": 1, 3983 "column": 1 3984 } 3985 } 3986 }, 3987 "decorators": [], 3988 "loc": { 3989 "start": { 3990 "line": 1, 3991 "column": 1 3992 }, 3993 "end": { 3994 "line": 1, 3995 "column": 1 3996 } 3997 } 3998 }, 3999 "loc": { 4000 "start": { 4001 "line": 1, 4002 "column": 1 4003 }, 4004 "end": { 4005 "line": 1, 4006 "column": 1 4007 } 4008 } 4009 } 4010 ], 4011 "returnType": { 4012 "type": "ETSTypeReference", 4013 "part": { 4014 "type": "ETSTypeReferencePart", 4015 "name": { 4016 "type": "Identifier", 4017 "name": "from", 4018 "decorators": [], 4019 "loc": { 4020 "start": { 4021 "line": 1, 4022 "column": 1 4023 }, 4024 "end": { 4025 "line": 1, 4026 "column": 1 4027 } 4028 } 4029 }, 4030 "loc": { 4031 "start": { 4032 "line": 1, 4033 "column": 1 4034 }, 4035 "end": { 4036 "line": 1, 4037 "column": 1 4038 } 4039 } 4040 }, 4041 "loc": { 4042 "start": { 4043 "line": 1, 4044 "column": 1 4045 }, 4046 "end": { 4047 "line": 1, 4048 "column": 1 4049 } 4050 } 4051 }, 4052 "body": { 4053 "type": "BlockStatement", 4054 "statements": [ 4055 { 4056 "type": "IfStatement", 4057 "test": { 4058 "type": "BinaryExpression", 4059 "operator": "<", 4060 "left": { 4061 "type": "Identifier", 4062 "name": "ordinal", 4063 "decorators": [], 4064 "loc": { 4065 "start": { 4066 "line": 1, 4067 "column": 1 4068 }, 4069 "end": { 4070 "line": 1, 4071 "column": 1 4072 } 4073 } 4074 }, 4075 "right": { 4076 "type": "MemberExpression", 4077 "object": { 4078 "type": "MemberExpression", 4079 "object": { 4080 "type": "Identifier", 4081 "name": "#from", 4082 "decorators": [], 4083 "loc": { 4084 "start": { 4085 "line": 1, 4086 "column": 1 4087 }, 4088 "end": { 4089 "line": 1, 4090 "column": 1 4091 } 4092 } 4093 }, 4094 "property": { 4095 "type": "Identifier", 4096 "name": "ItemsArray", 4097 "decorators": [], 4098 "loc": { 4099 "start": { 4100 "line": 1, 4101 "column": 1 4102 }, 4103 "end": { 4104 "line": 1, 4105 "column": 1 4106 } 4107 } 4108 }, 4109 "computed": false, 4110 "optional": false, 4111 "loc": { 4112 "start": { 4113 "line": 1, 4114 "column": 1 4115 }, 4116 "end": { 4117 "line": 1, 4118 "column": 1 4119 } 4120 } 4121 }, 4122 "property": { 4123 "type": "Identifier", 4124 "name": "length", 4125 "decorators": [], 4126 "loc": { 4127 "start": { 4128 "line": 1, 4129 "column": 1 4130 }, 4131 "end": { 4132 "line": 1, 4133 "column": 1 4134 } 4135 } 4136 }, 4137 "computed": false, 4138 "optional": false, 4139 "loc": { 4140 "start": { 4141 "line": 1, 4142 "column": 1 4143 }, 4144 "end": { 4145 "line": 1, 4146 "column": 1 4147 } 4148 } 4149 }, 4150 "loc": { 4151 "start": { 4152 "line": 1, 4153 "column": 1 4154 }, 4155 "end": { 4156 "line": 1, 4157 "column": 1 4158 } 4159 } 4160 }, 4161 "consequent": { 4162 "type": "ReturnStatement", 4163 "argument": { 4164 "type": "MemberExpression", 4165 "object": { 4166 "type": "MemberExpression", 4167 "object": { 4168 "type": "Identifier", 4169 "name": "#from", 4170 "decorators": [], 4171 "loc": { 4172 "start": { 4173 "line": 1, 4174 "column": 1 4175 }, 4176 "end": { 4177 "line": 1, 4178 "column": 1 4179 } 4180 } 4181 }, 4182 "property": { 4183 "type": "Identifier", 4184 "name": "ItemsArray", 4185 "decorators": [], 4186 "loc": { 4187 "start": { 4188 "line": 1, 4189 "column": 1 4190 }, 4191 "end": { 4192 "line": 1, 4193 "column": 1 4194 } 4195 } 4196 }, 4197 "computed": false, 4198 "optional": false, 4199 "loc": { 4200 "start": { 4201 "line": 1, 4202 "column": 1 4203 }, 4204 "end": { 4205 "line": 1, 4206 "column": 1 4207 } 4208 } 4209 }, 4210 "property": { 4211 "type": "Identifier", 4212 "name": "ordinal", 4213 "decorators": [], 4214 "loc": { 4215 "start": { 4216 "line": 1, 4217 "column": 1 4218 }, 4219 "end": { 4220 "line": 1, 4221 "column": 1 4222 } 4223 } 4224 }, 4225 "computed": true, 4226 "optional": false, 4227 "loc": { 4228 "start": { 4229 "line": 1, 4230 "column": 1 4231 }, 4232 "end": { 4233 "line": 1, 4234 "column": 1 4235 } 4236 } 4237 }, 4238 "loc": { 4239 "start": { 4240 "line": 1, 4241 "column": 1 4242 }, 4243 "end": { 4244 "line": 1, 4245 "column": 1 4246 } 4247 } 4248 }, 4249 "alternate": null, 4250 "loc": { 4251 "start": { 4252 "line": 1, 4253 "column": 1 4254 }, 4255 "end": { 4256 "line": 1, 4257 "column": 1 4258 } 4259 } 4260 }, 4261 { 4262 "type": "ThrowStatement", 4263 "argument": { 4264 "type": "ETSNewClassInstanceExpression", 4265 "typeReference": { 4266 "type": "ETSTypeReference", 4267 "part": { 4268 "type": "ETSTypeReferencePart", 4269 "name": { 4270 "type": "Identifier", 4271 "name": "Exception", 4272 "decorators": [], 4273 "loc": { 4274 "start": { 4275 "line": 1, 4276 "column": 1 4277 }, 4278 "end": { 4279 "line": 1, 4280 "column": 1 4281 } 4282 } 4283 }, 4284 "loc": { 4285 "start": { 4286 "line": 1, 4287 "column": 1 4288 }, 4289 "end": { 4290 "line": 1, 4291 "column": 1 4292 } 4293 } 4294 }, 4295 "loc": { 4296 "start": { 4297 "line": 1, 4298 "column": 1 4299 }, 4300 "end": { 4301 "line": 1, 4302 "column": 1 4303 } 4304 } 4305 }, 4306 "arguments": [ 4307 { 4308 "type": "BinaryExpression", 4309 "operator": "+", 4310 "left": { 4311 "type": "StringLiteral", 4312 "value": "No enum constant in from with ordinal value ", 4313 "loc": { 4314 "start": { 4315 "line": 1, 4316 "column": 1 4317 }, 4318 "end": { 4319 "line": 1, 4320 "column": 1 4321 } 4322 } 4323 }, 4324 "right": { 4325 "type": "Identifier", 4326 "name": "ordinal", 4327 "decorators": [], 4328 "loc": { 4329 "start": { 4330 "line": 1, 4331 "column": 1 4332 }, 4333 "end": { 4334 "line": 1, 4335 "column": 1 4336 } 4337 } 4338 }, 4339 "loc": { 4340 "start": { 4341 "line": 1, 4342 "column": 1 4343 }, 4344 "end": { 4345 "line": 1, 4346 "column": 1 4347 } 4348 } 4349 } 4350 ], 4351 "loc": { 4352 "start": { 4353 "line": 1, 4354 "column": 1 4355 }, 4356 "end": { 4357 "line": 1, 4358 "column": 1 4359 } 4360 } 4361 }, 4362 "loc": { 4363 "start": { 4364 "line": 1, 4365 "column": 1 4366 }, 4367 "end": { 4368 "line": 1, 4369 "column": 1 4370 } 4371 } 4372 } 4373 ], 4374 "loc": { 4375 "start": { 4376 "line": 1, 4377 "column": 1 4378 }, 4379 "end": { 4380 "line": 1, 4381 "column": 1 4382 } 4383 } 4384 }, 4385 "throwMarker": "throws", 4386 "loc": { 4387 "start": { 4388 "line": 1, 4389 "column": 1 4390 }, 4391 "end": { 4392 "line": 1, 4393 "column": 1 4394 } 4395 } 4396 }, 4397 "loc": { 4398 "start": { 4399 "line": 1, 4400 "column": 1 4401 }, 4402 "end": { 4403 "line": 1, 4404 "column": 1 4405 } 4406 } 4407 }, 4408 "overloads": [], 4409 "decorators": [], 4410 "loc": { 4411 "start": { 4412 "line": 1, 4413 "column": 1 4414 }, 4415 "end": { 4416 "line": 1, 4417 "column": 1 4418 } 4419 } 4420 }, 4421 { 4422 "type": "MethodDefinition", 4423 "key": { 4424 "type": "Identifier", 4425 "name": "unbox", 4426 "decorators": [], 4427 "loc": { 4428 "start": { 4429 "line": 1, 4430 "column": 1 4431 }, 4432 "end": { 4433 "line": 1, 4434 "column": 1 4435 } 4436 } 4437 }, 4438 "kind": "method", 4439 "accessibility": "public", 4440 "static": false, 4441 "optional": false, 4442 "computed": false, 4443 "value": { 4444 "type": "FunctionExpression", 4445 "function": { 4446 "type": "ScriptFunction", 4447 "id": { 4448 "type": "Identifier", 4449 "name": "unbox", 4450 "decorators": [], 4451 "loc": { 4452 "start": { 4453 "line": 1, 4454 "column": 1 4455 }, 4456 "end": { 4457 "line": 1, 4458 "column": 1 4459 } 4460 } 4461 }, 4462 "generator": false, 4463 "async": false, 4464 "expression": false, 4465 "params": [], 4466 "returnType": { 4467 "type": "ETSTypeReference", 4468 "part": { 4469 "type": "ETSTypeReferencePart", 4470 "name": { 4471 "type": "Identifier", 4472 "name": "from", 4473 "decorators": [], 4474 "loc": { 4475 "start": { 4476 "line": 1, 4477 "column": 1 4478 }, 4479 "end": { 4480 "line": 1, 4481 "column": 1 4482 } 4483 } 4484 }, 4485 "loc": { 4486 "start": { 4487 "line": 1, 4488 "column": 1 4489 }, 4490 "end": { 4491 "line": 1, 4492 "column": 1 4493 } 4494 } 4495 }, 4496 "loc": { 4497 "start": { 4498 "line": 1, 4499 "column": 1 4500 }, 4501 "end": { 4502 "line": 1, 4503 "column": 1 4504 } 4505 } 4506 }, 4507 "body": { 4508 "type": "BlockStatement", 4509 "statements": [ 4510 { 4511 "type": "ReturnStatement", 4512 "argument": { 4513 "type": "MemberExpression", 4514 "object": { 4515 "type": "MemberExpression", 4516 "object": { 4517 "type": "Identifier", 4518 "name": "#from", 4519 "decorators": [], 4520 "loc": { 4521 "start": { 4522 "line": 1, 4523 "column": 1 4524 }, 4525 "end": { 4526 "line": 1, 4527 "column": 1 4528 } 4529 } 4530 }, 4531 "property": { 4532 "type": "Identifier", 4533 "name": "ItemsArray", 4534 "decorators": [], 4535 "loc": { 4536 "start": { 4537 "line": 1, 4538 "column": 1 4539 }, 4540 "end": { 4541 "line": 1, 4542 "column": 1 4543 } 4544 } 4545 }, 4546 "computed": false, 4547 "optional": false, 4548 "loc": { 4549 "start": { 4550 "line": 1, 4551 "column": 1 4552 }, 4553 "end": { 4554 "line": 1, 4555 "column": 1 4556 } 4557 } 4558 }, 4559 "property": { 4560 "type": "MemberExpression", 4561 "object": { 4562 "type": "ThisExpression", 4563 "loc": { 4564 "start": { 4565 "line": 1, 4566 "column": 1 4567 }, 4568 "end": { 4569 "line": 1, 4570 "column": 1 4571 } 4572 } 4573 }, 4574 "property": { 4575 "type": "Identifier", 4576 "name": "ordinal", 4577 "decorators": [], 4578 "loc": { 4579 "start": { 4580 "line": 1, 4581 "column": 1 4582 }, 4583 "end": { 4584 "line": 1, 4585 "column": 1 4586 } 4587 } 4588 }, 4589 "computed": false, 4590 "optional": false, 4591 "loc": { 4592 "start": { 4593 "line": 1, 4594 "column": 1 4595 }, 4596 "end": { 4597 "line": 1, 4598 "column": 1 4599 } 4600 } 4601 }, 4602 "computed": true, 4603 "optional": false, 4604 "loc": { 4605 "start": { 4606 "line": 1, 4607 "column": 1 4608 }, 4609 "end": { 4610 "line": 1, 4611 "column": 1 4612 } 4613 } 4614 }, 4615 "loc": { 4616 "start": { 4617 "line": 1, 4618 "column": 1 4619 }, 4620 "end": { 4621 "line": 1, 4622 "column": 1 4623 } 4624 } 4625 } 4626 ], 4627 "loc": { 4628 "start": { 4629 "line": 1, 4630 "column": 1 4631 }, 4632 "end": { 4633 "line": 1, 4634 "column": 1 4635 } 4636 } 4637 }, 4638 "loc": { 4639 "start": { 4640 "line": 1, 4641 "column": 1 4642 }, 4643 "end": { 4644 "line": 1, 4645 "column": 1 4646 } 4647 } 4648 }, 4649 "loc": { 4650 "start": { 4651 "line": 1, 4652 "column": 1 4653 }, 4654 "end": { 4655 "line": 1, 4656 "column": 1 4657 } 4658 } 4659 }, 4660 "overloads": [], 4661 "decorators": [], 4662 "loc": { 4663 "start": { 4664 "line": 1, 4665 "column": 1 4666 }, 4667 "end": { 4668 "line": 1, 4669 "column": 1 4670 } 4671 } 4672 }, 4673 { 4674 "type": "MethodDefinition", 4675 "key": { 4676 "type": "Identifier", 4677 "name": "boxedfromInt", 4678 "decorators": [], 4679 "loc": { 4680 "start": { 4681 "line": 1, 4682 "column": 1 4683 }, 4684 "end": { 4685 "line": 1, 4686 "column": 1 4687 } 4688 } 4689 }, 4690 "kind": "method", 4691 "accessibility": "public", 4692 "static": true, 4693 "optional": false, 4694 "computed": false, 4695 "value": { 4696 "type": "FunctionExpression", 4697 "function": { 4698 "type": "ScriptFunction", 4699 "id": { 4700 "type": "Identifier", 4701 "name": "boxedfromInt", 4702 "decorators": [], 4703 "loc": { 4704 "start": { 4705 "line": 1, 4706 "column": 1 4707 }, 4708 "end": { 4709 "line": 1, 4710 "column": 1 4711 } 4712 } 4713 }, 4714 "generator": false, 4715 "async": false, 4716 "expression": false, 4717 "params": [ 4718 { 4719 "type": "ETSParameterExpression", 4720 "name": { 4721 "type": "Identifier", 4722 "name": "ordinal", 4723 "typeAnnotation": { 4724 "type": "ETSPrimitiveType", 4725 "loc": { 4726 "start": { 4727 "line": 1, 4728 "column": 1 4729 }, 4730 "end": { 4731 "line": 1, 4732 "column": 1 4733 } 4734 } 4735 }, 4736 "decorators": [], 4737 "loc": { 4738 "start": { 4739 "line": 1, 4740 "column": 1 4741 }, 4742 "end": { 4743 "line": 1, 4744 "column": 1 4745 } 4746 } 4747 }, 4748 "loc": { 4749 "start": { 4750 "line": 1, 4751 "column": 1 4752 }, 4753 "end": { 4754 "line": 1, 4755 "column": 1 4756 } 4757 } 4758 } 4759 ], 4760 "returnType": { 4761 "type": "ETSTypeReference", 4762 "part": { 4763 "type": "ETSTypeReferencePart", 4764 "name": { 4765 "type": "Identifier", 4766 "name": "#from", 4767 "decorators": [], 4768 "loc": { 4769 "start": { 4770 "line": 1, 4771 "column": 1 4772 }, 4773 "end": { 4774 "line": 1, 4775 "column": 1 4776 } 4777 } 4778 }, 4779 "loc": { 4780 "start": { 4781 "line": 1, 4782 "column": 1 4783 }, 4784 "end": { 4785 "line": 1, 4786 "column": 1 4787 } 4788 } 4789 }, 4790 "loc": { 4791 "start": { 4792 "line": 1, 4793 "column": 1 4794 }, 4795 "end": { 4796 "line": 1, 4797 "column": 1 4798 } 4799 } 4800 }, 4801 "body": { 4802 "type": "BlockStatement", 4803 "statements": [ 4804 { 4805 "type": "IfStatement", 4806 "test": { 4807 "type": "BinaryExpression", 4808 "operator": "<", 4809 "left": { 4810 "type": "Identifier", 4811 "name": "ordinal", 4812 "decorators": [], 4813 "loc": { 4814 "start": { 4815 "line": 1, 4816 "column": 1 4817 }, 4818 "end": { 4819 "line": 1, 4820 "column": 1 4821 } 4822 } 4823 }, 4824 "right": { 4825 "type": "MemberExpression", 4826 "object": { 4827 "type": "MemberExpression", 4828 "object": { 4829 "type": "Identifier", 4830 "name": "#from", 4831 "decorators": [], 4832 "loc": { 4833 "start": { 4834 "line": 1, 4835 "column": 1 4836 }, 4837 "end": { 4838 "line": 1, 4839 "column": 1 4840 } 4841 } 4842 }, 4843 "property": { 4844 "type": "Identifier", 4845 "name": "BoxedItemsArray", 4846 "decorators": [], 4847 "loc": { 4848 "start": { 4849 "line": 1, 4850 "column": 1 4851 }, 4852 "end": { 4853 "line": 1, 4854 "column": 1 4855 } 4856 } 4857 }, 4858 "computed": false, 4859 "optional": false, 4860 "loc": { 4861 "start": { 4862 "line": 1, 4863 "column": 1 4864 }, 4865 "end": { 4866 "line": 1, 4867 "column": 1 4868 } 4869 } 4870 }, 4871 "property": { 4872 "type": "Identifier", 4873 "name": "length", 4874 "decorators": [], 4875 "loc": { 4876 "start": { 4877 "line": 1, 4878 "column": 1 4879 }, 4880 "end": { 4881 "line": 1, 4882 "column": 1 4883 } 4884 } 4885 }, 4886 "computed": false, 4887 "optional": false, 4888 "loc": { 4889 "start": { 4890 "line": 1, 4891 "column": 1 4892 }, 4893 "end": { 4894 "line": 1, 4895 "column": 1 4896 } 4897 } 4898 }, 4899 "loc": { 4900 "start": { 4901 "line": 1, 4902 "column": 1 4903 }, 4904 "end": { 4905 "line": 1, 4906 "column": 1 4907 } 4908 } 4909 }, 4910 "consequent": { 4911 "type": "ReturnStatement", 4912 "argument": { 4913 "type": "MemberExpression", 4914 "object": { 4915 "type": "MemberExpression", 4916 "object": { 4917 "type": "Identifier", 4918 "name": "#from", 4919 "decorators": [], 4920 "loc": { 4921 "start": { 4922 "line": 1, 4923 "column": 1 4924 }, 4925 "end": { 4926 "line": 1, 4927 "column": 1 4928 } 4929 } 4930 }, 4931 "property": { 4932 "type": "Identifier", 4933 "name": "BoxedItemsArray", 4934 "decorators": [], 4935 "loc": { 4936 "start": { 4937 "line": 1, 4938 "column": 1 4939 }, 4940 "end": { 4941 "line": 1, 4942 "column": 1 4943 } 4944 } 4945 }, 4946 "computed": false, 4947 "optional": false, 4948 "loc": { 4949 "start": { 4950 "line": 1, 4951 "column": 1 4952 }, 4953 "end": { 4954 "line": 1, 4955 "column": 1 4956 } 4957 } 4958 }, 4959 "property": { 4960 "type": "Identifier", 4961 "name": "ordinal", 4962 "decorators": [], 4963 "loc": { 4964 "start": { 4965 "line": 1, 4966 "column": 1 4967 }, 4968 "end": { 4969 "line": 1, 4970 "column": 1 4971 } 4972 } 4973 }, 4974 "computed": true, 4975 "optional": false, 4976 "loc": { 4977 "start": { 4978 "line": 1, 4979 "column": 1 4980 }, 4981 "end": { 4982 "line": 1, 4983 "column": 1 4984 } 4985 } 4986 }, 4987 "loc": { 4988 "start": { 4989 "line": 1, 4990 "column": 1 4991 }, 4992 "end": { 4993 "line": 1, 4994 "column": 1 4995 } 4996 } 4997 }, 4998 "alternate": null, 4999 "loc": { 5000 "start": { 5001 "line": 1, 5002 "column": 1 5003 }, 5004 "end": { 5005 "line": 1, 5006 "column": 1 5007 } 5008 } 5009 }, 5010 { 5011 "type": "ThrowStatement", 5012 "argument": { 5013 "type": "ETSNewClassInstanceExpression", 5014 "typeReference": { 5015 "type": "ETSTypeReference", 5016 "part": { 5017 "type": "ETSTypeReferencePart", 5018 "name": { 5019 "type": "Identifier", 5020 "name": "Exception", 5021 "decorators": [], 5022 "loc": { 5023 "start": { 5024 "line": 1, 5025 "column": 1 5026 }, 5027 "end": { 5028 "line": 1, 5029 "column": 1 5030 } 5031 } 5032 }, 5033 "loc": { 5034 "start": { 5035 "line": 1, 5036 "column": 1 5037 }, 5038 "end": { 5039 "line": 1, 5040 "column": 1 5041 } 5042 } 5043 }, 5044 "loc": { 5045 "start": { 5046 "line": 1, 5047 "column": 1 5048 }, 5049 "end": { 5050 "line": 1, 5051 "column": 1 5052 } 5053 } 5054 }, 5055 "arguments": [ 5056 { 5057 "type": "BinaryExpression", 5058 "operator": "+", 5059 "left": { 5060 "type": "StringLiteral", 5061 "value": "No enum constant in from with ordinal value ", 5062 "loc": { 5063 "start": { 5064 "line": 1, 5065 "column": 1 5066 }, 5067 "end": { 5068 "line": 1, 5069 "column": 1 5070 } 5071 } 5072 }, 5073 "right": { 5074 "type": "Identifier", 5075 "name": "ordinal", 5076 "decorators": [], 5077 "loc": { 5078 "start": { 5079 "line": 1, 5080 "column": 1 5081 }, 5082 "end": { 5083 "line": 1, 5084 "column": 1 5085 } 5086 } 5087 }, 5088 "loc": { 5089 "start": { 5090 "line": 1, 5091 "column": 1 5092 }, 5093 "end": { 5094 "line": 1, 5095 "column": 1 5096 } 5097 } 5098 } 5099 ], 5100 "loc": { 5101 "start": { 5102 "line": 1, 5103 "column": 1 5104 }, 5105 "end": { 5106 "line": 1, 5107 "column": 1 5108 } 5109 } 5110 }, 5111 "loc": { 5112 "start": { 5113 "line": 1, 5114 "column": 1 5115 }, 5116 "end": { 5117 "line": 1, 5118 "column": 1 5119 } 5120 } 5121 } 5122 ], 5123 "loc": { 5124 "start": { 5125 "line": 1, 5126 "column": 1 5127 }, 5128 "end": { 5129 "line": 1, 5130 "column": 1 5131 } 5132 } 5133 }, 5134 "throwMarker": "throws", 5135 "loc": { 5136 "start": { 5137 "line": 1, 5138 "column": 1 5139 }, 5140 "end": { 5141 "line": 1, 5142 "column": 1 5143 } 5144 } 5145 }, 5146 "loc": { 5147 "start": { 5148 "line": 1, 5149 "column": 1 5150 }, 5151 "end": { 5152 "line": 1, 5153 "column": 1 5154 } 5155 } 5156 }, 5157 "overloads": [], 5158 "decorators": [], 5159 "loc": { 5160 "start": { 5161 "line": 1, 5162 "column": 1 5163 }, 5164 "end": { 5165 "line": 1, 5166 "column": 1 5167 } 5168 } 5169 } 5170 ], 5171 "loc": { 5172 "start": { 5173 "line": 1, 5174 "column": 1 5175 }, 5176 "end": { 5177 "line": 1, 5178 "column": 1 5179 } 5180 } 5181 }, 5182 "loc": { 5183 "start": { 5184 "line": 1, 5185 "column": 1 5186 }, 5187 "end": { 5188 "line": 1, 5189 "column": 1 5190 } 5191 } 5192 } 5193 ], 5194 "loc": { 5195 "start": { 5196 "line": 1, 5197 "column": 1 5198 }, 5199 "end": { 5200 "line": 27, 5201 "column": 1 5202 } 5203 } 5204} 5205