1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "TSEnumDeclaration", 6 "id": { 7 "type": "Identifier", 8 "name": "ArkColor", 9 "decorators": [], 10 "loc": { 11 "start": { 12 "line": 16, 13 "column": 6 14 }, 15 "end": { 16 "line": 16, 17 "column": 14 18 } 19 } 20 }, 21 "members": [ 22 { 23 "type": "TSEnumMember", 24 "id": { 25 "type": "Identifier", 26 "name": "Gray", 27 "decorators": [], 28 "loc": { 29 "start": { 30 "line": 17, 31 "column": 3 32 }, 33 "end": { 34 "line": 17, 35 "column": 7 36 } 37 } 38 }, 39 "initializer": { 40 "type": "StringLiteral", 41 "value": "#ff808080", 42 "loc": { 43 "start": { 44 "line": 17, 45 "column": 10 46 }, 47 "end": { 48 "line": 17, 49 "column": 21 50 } 51 } 52 }, 53 "loc": { 54 "start": { 55 "line": 17, 56 "column": 3 57 }, 58 "end": { 59 "line": 17, 60 "column": 21 61 } 62 } 63 }, 64 { 65 "type": "TSEnumMember", 66 "id": { 67 "type": "Identifier", 68 "name": "Grey", 69 "decorators": [], 70 "loc": { 71 "start": { 72 "line": 18, 73 "column": 3 74 }, 75 "end": { 76 "line": 18, 77 "column": 7 78 } 79 } 80 }, 81 "initializer": { 82 "type": "StringLiteral", 83 "value": "#ff808080", 84 "loc": { 85 "start": { 86 "line": 18, 87 "column": 10 88 }, 89 "end": { 90 "line": 18, 91 "column": 21 92 } 93 } 94 }, 95 "loc": { 96 "start": { 97 "line": 18, 98 "column": 3 99 }, 100 "end": { 101 "line": 18, 102 "column": 21 103 } 104 } 105 } 106 ], 107 "const": false, 108 "loc": { 109 "start": { 110 "line": 16, 111 "column": 1 112 }, 113 "end": { 114 "line": 19, 115 "column": 2 116 } 117 } 118 }, 119 { 120 "type": "ClassDeclaration", 121 "definition": { 122 "id": { 123 "type": "Identifier", 124 "name": "ETSGLOBAL", 125 "decorators": [], 126 "loc": { 127 "start": { 128 "line": 1, 129 "column": 1 130 }, 131 "end": { 132 "line": 1, 133 "column": 1 134 } 135 } 136 }, 137 "superClass": null, 138 "implements": [], 139 "body": [ 140 { 141 "type": "MethodDefinition", 142 "key": { 143 "type": "Identifier", 144 "name": "_$init$_", 145 "decorators": [], 146 "loc": { 147 "start": { 148 "line": 1, 149 "column": 1 150 }, 151 "end": { 152 "line": 1, 153 "column": 1 154 } 155 } 156 }, 157 "kind": "method", 158 "accessibility": "public", 159 "static": true, 160 "optional": false, 161 "computed": false, 162 "value": { 163 "type": "FunctionExpression", 164 "function": { 165 "type": "ScriptFunction", 166 "id": { 167 "type": "Identifier", 168 "name": "_$init$_", 169 "decorators": [], 170 "loc": { 171 "start": { 172 "line": 1, 173 "column": 1 174 }, 175 "end": { 176 "line": 1, 177 "column": 1 178 } 179 } 180 }, 181 "generator": false, 182 "async": false, 183 "expression": false, 184 "params": [], 185 "body": { 186 "type": "BlockStatement", 187 "statements": [], 188 "loc": { 189 "start": { 190 "line": 1, 191 "column": 1 192 }, 193 "end": { 194 "line": 1, 195 "column": 1 196 } 197 } 198 }, 199 "loc": { 200 "start": { 201 "line": 1, 202 "column": 1 203 }, 204 "end": { 205 "line": 1, 206 "column": 1 207 } 208 } 209 }, 210 "loc": { 211 "start": { 212 "line": 1, 213 "column": 1 214 }, 215 "end": { 216 "line": 1, 217 "column": 1 218 } 219 } 220 }, 221 "overloads": [], 222 "decorators": [], 223 "loc": { 224 "start": { 225 "line": 1, 226 "column": 1 227 }, 228 "end": { 229 "line": 1, 230 "column": 1 231 } 232 } 233 } 234 ], 235 "loc": { 236 "start": { 237 "line": 1, 238 "column": 1 239 }, 240 "end": { 241 "line": 1, 242 "column": 1 243 } 244 } 245 }, 246 "loc": { 247 "start": { 248 "line": 1, 249 "column": 1 250 }, 251 "end": { 252 "line": 1, 253 "column": 1 254 } 255 } 256 }, 257 { 258 "type": "ClassDeclaration", 259 "definition": { 260 "id": { 261 "type": "Identifier", 262 "name": "#ArkColor", 263 "decorators": [], 264 "loc": { 265 "start": { 266 "line": 1, 267 "column": 1 268 }, 269 "end": { 270 "line": 1, 271 "column": 1 272 } 273 } 274 }, 275 "superClass": null, 276 "implements": [], 277 "body": [ 278 { 279 "type": "ClassProperty", 280 "key": { 281 "type": "Identifier", 282 "name": "ordinal", 283 "decorators": [], 284 "loc": { 285 "start": { 286 "line": 1, 287 "column": 1 288 }, 289 "end": { 290 "line": 1, 291 "column": 1 292 } 293 } 294 }, 295 "accessibility": "protected", 296 "static": false, 297 "readonly": false, 298 "declare": false, 299 "optional": false, 300 "computed": false, 301 "typeAnnotation": { 302 "type": "ETSPrimitiveType", 303 "loc": { 304 "start": { 305 "line": 1, 306 "column": 1 307 }, 308 "end": { 309 "line": 1, 310 "column": 1 311 } 312 } 313 }, 314 "definite": false, 315 "decorators": [], 316 "loc": { 317 "start": { 318 "line": 1, 319 "column": 1 320 }, 321 "end": { 322 "line": 1, 323 "column": 1 324 } 325 } 326 }, 327 { 328 "type": "MethodDefinition", 329 "key": { 330 "type": "Identifier", 331 "name": "<cctor>", 332 "decorators": [], 333 "loc": { 334 "start": { 335 "line": 1, 336 "column": 1 337 }, 338 "end": { 339 "line": 1, 340 "column": 1 341 } 342 } 343 }, 344 "kind": "method", 345 "accessibility": "public", 346 "static": true, 347 "optional": false, 348 "computed": false, 349 "value": { 350 "type": "FunctionExpression", 351 "function": { 352 "type": "ScriptFunction", 353 "id": { 354 "type": "Identifier", 355 "name": "<cctor>", 356 "decorators": [], 357 "loc": { 358 "start": { 359 "line": 1, 360 "column": 1 361 }, 362 "end": { 363 "line": 1, 364 "column": 1 365 } 366 } 367 }, 368 "generator": false, 369 "async": false, 370 "expression": false, 371 "params": [], 372 "body": { 373 "type": "BlockStatement", 374 "statements": [], 375 "loc": { 376 "start": { 377 "line": 1, 378 "column": 1 379 }, 380 "end": { 381 "line": 1, 382 "column": 1 383 } 384 } 385 }, 386 "loc": { 387 "start": { 388 "line": 1, 389 "column": 1 390 }, 391 "end": { 392 "line": 1, 393 "column": 1 394 } 395 } 396 }, 397 "loc": { 398 "start": { 399 "line": 1, 400 "column": 1 401 }, 402 "end": { 403 "line": 1, 404 "column": 1 405 } 406 } 407 }, 408 "overloads": [], 409 "decorators": [], 410 "loc": { 411 "start": { 412 "line": 1, 413 "column": 1 414 }, 415 "end": { 416 "line": 1, 417 "column": 1 418 } 419 } 420 }, 421 { 422 "type": "MethodDefinition", 423 "key": { 424 "type": "Identifier", 425 "name": "constructor", 426 "decorators": [], 427 "loc": { 428 "start": { 429 "line": 1, 430 "column": 1 431 }, 432 "end": { 433 "line": 1, 434 "column": 1 435 } 436 } 437 }, 438 "kind": "constructor", 439 "accessibility": "public", 440 "static": false, 441 "optional": false, 442 "computed": false, 443 "value": { 444 "type": "FunctionExpression", 445 "function": { 446 "type": "ScriptFunction", 447 "id": { 448 "type": "Identifier", 449 "name": "constructor", 450 "decorators": [], 451 "loc": { 452 "start": { 453 "line": 1, 454 "column": 1 455 }, 456 "end": { 457 "line": 1, 458 "column": 1 459 } 460 } 461 }, 462 "generator": false, 463 "async": false, 464 "expression": false, 465 "params": [ 466 { 467 "type": "ETSParameterExpression", 468 "name": { 469 "type": "Identifier", 470 "name": "ordinal", 471 "typeAnnotation": { 472 "type": "ETSPrimitiveType", 473 "loc": { 474 "start": { 475 "line": 1, 476 "column": 1 477 }, 478 "end": { 479 "line": 1, 480 "column": 1 481 } 482 } 483 }, 484 "decorators": [], 485 "loc": { 486 "start": { 487 "line": 1, 488 "column": 1 489 }, 490 "end": { 491 "line": 1, 492 "column": 1 493 } 494 } 495 }, 496 "loc": { 497 "start": { 498 "line": 1, 499 "column": 1 500 }, 501 "end": { 502 "line": 1, 503 "column": 1 504 } 505 } 506 } 507 ], 508 "body": { 509 "type": "BlockStatement", 510 "statements": [ 511 { 512 "type": "ExpressionStatement", 513 "expression": { 514 "type": "AssignmentExpression", 515 "operator": "=", 516 "left": { 517 "type": "MemberExpression", 518 "object": { 519 "type": "ThisExpression", 520 "loc": { 521 "start": { 522 "line": 1, 523 "column": 1 524 }, 525 "end": { 526 "line": 1, 527 "column": 1 528 } 529 } 530 }, 531 "property": { 532 "type": "Identifier", 533 "name": "ordinal", 534 "decorators": [], 535 "loc": { 536 "start": { 537 "line": 1, 538 "column": 1 539 }, 540 "end": { 541 "line": 1, 542 "column": 1 543 } 544 } 545 }, 546 "computed": false, 547 "optional": false, 548 "loc": { 549 "start": { 550 "line": 1, 551 "column": 1 552 }, 553 "end": { 554 "line": 1, 555 "column": 1 556 } 557 } 558 }, 559 "right": { 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 "loc": { 575 "start": { 576 "line": 1, 577 "column": 1 578 }, 579 "end": { 580 "line": 1, 581 "column": 1 582 } 583 } 584 }, 585 "loc": { 586 "start": { 587 "line": 1, 588 "column": 1 589 }, 590 "end": { 591 "line": 1, 592 "column": 1 593 } 594 } 595 } 596 ], 597 "loc": { 598 "start": { 599 "line": 1, 600 "column": 1 601 }, 602 "end": { 603 "line": 1, 604 "column": 1 605 } 606 } 607 }, 608 "loc": { 609 "start": { 610 "line": 1, 611 "column": 1 612 }, 613 "end": { 614 "line": 1, 615 "column": 1 616 } 617 } 618 }, 619 "loc": { 620 "start": { 621 "line": 1, 622 "column": 1 623 }, 624 "end": { 625 "line": 1, 626 "column": 1 627 } 628 } 629 }, 630 "overloads": [], 631 "decorators": [], 632 "loc": { 633 "start": { 634 "line": 1, 635 "column": 1 636 }, 637 "end": { 638 "line": 1, 639 "column": 1 640 } 641 } 642 }, 643 { 644 "type": "ClassProperty", 645 "key": { 646 "type": "Identifier", 647 "name": "NamesArray", 648 "decorators": [], 649 "loc": { 650 "start": { 651 "line": 1, 652 "column": 1 653 }, 654 "end": { 655 "line": 1, 656 "column": 1 657 } 658 } 659 }, 660 "value": { 661 "type": "ArrayExpression", 662 "elements": [ 663 { 664 "type": "StringLiteral", 665 "value": "Gray", 666 "loc": { 667 "start": { 668 "line": 1, 669 "column": 1 670 }, 671 "end": { 672 "line": 1, 673 "column": 1 674 } 675 } 676 }, 677 { 678 "type": "StringLiteral", 679 "value": "Grey", 680 "loc": { 681 "start": { 682 "line": 1, 683 "column": 1 684 }, 685 "end": { 686 "line": 1, 687 "column": 1 688 } 689 } 690 } 691 ], 692 "loc": { 693 "start": { 694 "line": 1, 695 "column": 1 696 }, 697 "end": { 698 "line": 1, 699 "column": 1 700 } 701 } 702 }, 703 "accessibility": "protected", 704 "static": true, 705 "readonly": false, 706 "declare": false, 707 "optional": false, 708 "computed": false, 709 "typeAnnotation": { 710 "type": "TSArrayType", 711 "elementType": { 712 "type": "ETSTypeReference", 713 "part": { 714 "type": "ETSTypeReferencePart", 715 "name": { 716 "type": "Identifier", 717 "name": "String", 718 "decorators": [], 719 "loc": { 720 "start": { 721 "line": 1, 722 "column": 1 723 }, 724 "end": { 725 "line": 1, 726 "column": 1 727 } 728 } 729 }, 730 "loc": { 731 "start": { 732 "line": 1, 733 "column": 1 734 }, 735 "end": { 736 "line": 1, 737 "column": 1 738 } 739 } 740 }, 741 "loc": { 742 "start": { 743 "line": 1, 744 "column": 1 745 }, 746 "end": { 747 "line": 1, 748 "column": 1 749 } 750 } 751 }, 752 "loc": { 753 "start": { 754 "line": 1, 755 "column": 1 756 }, 757 "end": { 758 "line": 1, 759 "column": 1 760 } 761 } 762 }, 763 "definite": false, 764 "decorators": [], 765 "loc": { 766 "start": { 767 "line": 1, 768 "column": 1 769 }, 770 "end": { 771 "line": 1, 772 "column": 1 773 } 774 } 775 }, 776 { 777 "type": "ClassProperty", 778 "key": { 779 "type": "Identifier", 780 "name": "StringValuesArray", 781 "decorators": [], 782 "loc": { 783 "start": { 784 "line": 1, 785 "column": 1 786 }, 787 "end": { 788 "line": 1, 789 "column": 1 790 } 791 } 792 }, 793 "value": { 794 "type": "ArrayExpression", 795 "elements": [ 796 { 797 "type": "StringLiteral", 798 "value": "#ff808080", 799 "loc": { 800 "start": { 801 "line": 1, 802 "column": 1 803 }, 804 "end": { 805 "line": 1, 806 "column": 1 807 } 808 } 809 }, 810 { 811 "type": "StringLiteral", 812 "value": "#ff808080", 813 "loc": { 814 "start": { 815 "line": 1, 816 "column": 1 817 }, 818 "end": { 819 "line": 1, 820 "column": 1 821 } 822 } 823 } 824 ], 825 "loc": { 826 "start": { 827 "line": 1, 828 "column": 1 829 }, 830 "end": { 831 "line": 1, 832 "column": 1 833 } 834 } 835 }, 836 "accessibility": "protected", 837 "static": true, 838 "readonly": false, 839 "declare": false, 840 "optional": false, 841 "computed": false, 842 "typeAnnotation": { 843 "type": "TSArrayType", 844 "elementType": { 845 "type": "ETSTypeReference", 846 "part": { 847 "type": "ETSTypeReferencePart", 848 "name": { 849 "type": "Identifier", 850 "name": "String", 851 "decorators": [], 852 "loc": { 853 "start": { 854 "line": 1, 855 "column": 1 856 }, 857 "end": { 858 "line": 1, 859 "column": 1 860 } 861 } 862 }, 863 "loc": { 864 "start": { 865 "line": 1, 866 "column": 1 867 }, 868 "end": { 869 "line": 1, 870 "column": 1 871 } 872 } 873 }, 874 "loc": { 875 "start": { 876 "line": 1, 877 "column": 1 878 }, 879 "end": { 880 "line": 1, 881 "column": 1 882 } 883 } 884 }, 885 "loc": { 886 "start": { 887 "line": 1, 888 "column": 1 889 }, 890 "end": { 891 "line": 1, 892 "column": 1 893 } 894 } 895 }, 896 "definite": false, 897 "decorators": [], 898 "loc": { 899 "start": { 900 "line": 1, 901 "column": 1 902 }, 903 "end": { 904 "line": 1, 905 "column": 1 906 } 907 } 908 }, 909 { 910 "type": "ClassProperty", 911 "key": { 912 "type": "Identifier", 913 "name": "ItemsArray", 914 "decorators": [], 915 "loc": { 916 "start": { 917 "line": 1, 918 "column": 1 919 }, 920 "end": { 921 "line": 1, 922 "column": 1 923 } 924 } 925 }, 926 "value": { 927 "type": "ArrayExpression", 928 "elements": [ 929 { 930 "type": "MemberExpression", 931 "object": { 932 "type": "Identifier", 933 "name": "ArkColor", 934 "decorators": [], 935 "loc": { 936 "start": { 937 "line": 1, 938 "column": 1 939 }, 940 "end": { 941 "line": 1, 942 "column": 1 943 } 944 } 945 }, 946 "property": { 947 "type": "Identifier", 948 "name": "Gray", 949 "decorators": [], 950 "loc": { 951 "start": { 952 "line": 1, 953 "column": 1 954 }, 955 "end": { 956 "line": 1, 957 "column": 1 958 } 959 } 960 }, 961 "computed": false, 962 "optional": false, 963 "loc": { 964 "start": { 965 "line": 1, 966 "column": 1 967 }, 968 "end": { 969 "line": 1, 970 "column": 1 971 } 972 } 973 }, 974 { 975 "type": "MemberExpression", 976 "object": { 977 "type": "Identifier", 978 "name": "ArkColor", 979 "decorators": [], 980 "loc": { 981 "start": { 982 "line": 1, 983 "column": 1 984 }, 985 "end": { 986 "line": 1, 987 "column": 1 988 } 989 } 990 }, 991 "property": { 992 "type": "Identifier", 993 "name": "Grey", 994 "decorators": [], 995 "loc": { 996 "start": { 997 "line": 1, 998 "column": 1 999 }, 1000 "end": { 1001 "line": 1, 1002 "column": 1 1003 } 1004 } 1005 }, 1006 "computed": false, 1007 "optional": false, 1008 "loc": { 1009 "start": { 1010 "line": 1, 1011 "column": 1 1012 }, 1013 "end": { 1014 "line": 1, 1015 "column": 1 1016 } 1017 } 1018 } 1019 ], 1020 "loc": { 1021 "start": { 1022 "line": 1, 1023 "column": 1 1024 }, 1025 "end": { 1026 "line": 1, 1027 "column": 1 1028 } 1029 } 1030 }, 1031 "accessibility": "protected", 1032 "static": true, 1033 "readonly": false, 1034 "declare": false, 1035 "optional": false, 1036 "computed": false, 1037 "typeAnnotation": { 1038 "type": "TSArrayType", 1039 "elementType": { 1040 "type": "ETSTypeReference", 1041 "part": { 1042 "type": "ETSTypeReferencePart", 1043 "name": { 1044 "type": "Identifier", 1045 "name": "ArkColor", 1046 "decorators": [], 1047 "loc": { 1048 "start": { 1049 "line": 1, 1050 "column": 1 1051 }, 1052 "end": { 1053 "line": 1, 1054 "column": 1 1055 } 1056 } 1057 }, 1058 "loc": { 1059 "start": { 1060 "line": 1, 1061 "column": 1 1062 }, 1063 "end": { 1064 "line": 1, 1065 "column": 1 1066 } 1067 } 1068 }, 1069 "loc": { 1070 "start": { 1071 "line": 1, 1072 "column": 1 1073 }, 1074 "end": { 1075 "line": 1, 1076 "column": 1 1077 } 1078 } 1079 }, 1080 "loc": { 1081 "start": { 1082 "line": 1, 1083 "column": 1 1084 }, 1085 "end": { 1086 "line": 1, 1087 "column": 1 1088 } 1089 } 1090 }, 1091 "definite": false, 1092 "decorators": [], 1093 "loc": { 1094 "start": { 1095 "line": 1, 1096 "column": 1 1097 }, 1098 "end": { 1099 "line": 1, 1100 "column": 1 1101 } 1102 } 1103 }, 1104 { 1105 "type": "ClassProperty", 1106 "key": { 1107 "type": "Identifier", 1108 "name": "BoxedItemsArray", 1109 "decorators": [], 1110 "loc": { 1111 "start": { 1112 "line": 1, 1113 "column": 1 1114 }, 1115 "end": { 1116 "line": 1, 1117 "column": 1 1118 } 1119 } 1120 }, 1121 "value": { 1122 "type": "ArrayExpression", 1123 "elements": [ 1124 { 1125 "type": "ETSNewClassInstanceExpression", 1126 "typeReference": { 1127 "type": "ETSTypeReference", 1128 "part": { 1129 "type": "ETSTypeReferencePart", 1130 "name": { 1131 "type": "Identifier", 1132 "name": "#ArkColor", 1133 "decorators": [], 1134 "loc": { 1135 "start": { 1136 "line": 1, 1137 "column": 1 1138 }, 1139 "end": { 1140 "line": 1, 1141 "column": 1 1142 } 1143 } 1144 }, 1145 "loc": { 1146 "start": { 1147 "line": 1, 1148 "column": 1 1149 }, 1150 "end": { 1151 "line": 1, 1152 "column": 1 1153 } 1154 } 1155 }, 1156 "loc": { 1157 "start": { 1158 "line": 1, 1159 "column": 1 1160 }, 1161 "end": { 1162 "line": 1, 1163 "column": 1 1164 } 1165 } 1166 }, 1167 "arguments": [ 1168 { 1169 "type": "TSAsExpression", 1170 "expression": { 1171 "type": "MemberExpression", 1172 "object": { 1173 "type": "Identifier", 1174 "name": "ArkColor", 1175 "decorators": [], 1176 "loc": { 1177 "start": { 1178 "line": 1, 1179 "column": 1 1180 }, 1181 "end": { 1182 "line": 1, 1183 "column": 1 1184 } 1185 } 1186 }, 1187 "property": { 1188 "type": "Identifier", 1189 "name": "Gray", 1190 "decorators": [], 1191 "loc": { 1192 "start": { 1193 "line": 1, 1194 "column": 1 1195 }, 1196 "end": { 1197 "line": 1, 1198 "column": 1 1199 } 1200 } 1201 }, 1202 "computed": false, 1203 "optional": false, 1204 "loc": { 1205 "start": { 1206 "line": 1, 1207 "column": 1 1208 }, 1209 "end": { 1210 "line": 1, 1211 "column": 1 1212 } 1213 } 1214 }, 1215 "typeAnnotation": { 1216 "type": "ETSPrimitiveType", 1217 "loc": { 1218 "start": { 1219 "line": 1, 1220 "column": 1 1221 }, 1222 "end": { 1223 "line": 1, 1224 "column": 1 1225 } 1226 } 1227 }, 1228 "loc": { 1229 "start": { 1230 "line": 1, 1231 "column": 1 1232 }, 1233 "end": { 1234 "line": 1, 1235 "column": 1 1236 } 1237 } 1238 } 1239 ], 1240 "loc": { 1241 "start": { 1242 "line": 1, 1243 "column": 1 1244 }, 1245 "end": { 1246 "line": 1, 1247 "column": 1 1248 } 1249 } 1250 }, 1251 { 1252 "type": "ETSNewClassInstanceExpression", 1253 "typeReference": { 1254 "type": "ETSTypeReference", 1255 "part": { 1256 "type": "ETSTypeReferencePart", 1257 "name": { 1258 "type": "Identifier", 1259 "name": "#ArkColor", 1260 "decorators": [], 1261 "loc": { 1262 "start": { 1263 "line": 1, 1264 "column": 1 1265 }, 1266 "end": { 1267 "line": 1, 1268 "column": 1 1269 } 1270 } 1271 }, 1272 "loc": { 1273 "start": { 1274 "line": 1, 1275 "column": 1 1276 }, 1277 "end": { 1278 "line": 1, 1279 "column": 1 1280 } 1281 } 1282 }, 1283 "loc": { 1284 "start": { 1285 "line": 1, 1286 "column": 1 1287 }, 1288 "end": { 1289 "line": 1, 1290 "column": 1 1291 } 1292 } 1293 }, 1294 "arguments": [ 1295 { 1296 "type": "TSAsExpression", 1297 "expression": { 1298 "type": "MemberExpression", 1299 "object": { 1300 "type": "Identifier", 1301 "name": "ArkColor", 1302 "decorators": [], 1303 "loc": { 1304 "start": { 1305 "line": 1, 1306 "column": 1 1307 }, 1308 "end": { 1309 "line": 1, 1310 "column": 1 1311 } 1312 } 1313 }, 1314 "property": { 1315 "type": "Identifier", 1316 "name": "Grey", 1317 "decorators": [], 1318 "loc": { 1319 "start": { 1320 "line": 1, 1321 "column": 1 1322 }, 1323 "end": { 1324 "line": 1, 1325 "column": 1 1326 } 1327 } 1328 }, 1329 "computed": false, 1330 "optional": false, 1331 "loc": { 1332 "start": { 1333 "line": 1, 1334 "column": 1 1335 }, 1336 "end": { 1337 "line": 1, 1338 "column": 1 1339 } 1340 } 1341 }, 1342 "typeAnnotation": { 1343 "type": "ETSPrimitiveType", 1344 "loc": { 1345 "start": { 1346 "line": 1, 1347 "column": 1 1348 }, 1349 "end": { 1350 "line": 1, 1351 "column": 1 1352 } 1353 } 1354 }, 1355 "loc": { 1356 "start": { 1357 "line": 1, 1358 "column": 1 1359 }, 1360 "end": { 1361 "line": 1, 1362 "column": 1 1363 } 1364 } 1365 } 1366 ], 1367 "loc": { 1368 "start": { 1369 "line": 1, 1370 "column": 1 1371 }, 1372 "end": { 1373 "line": 1, 1374 "column": 1 1375 } 1376 } 1377 } 1378 ], 1379 "loc": { 1380 "start": { 1381 "line": 1, 1382 "column": 1 1383 }, 1384 "end": { 1385 "line": 1, 1386 "column": 1 1387 } 1388 } 1389 }, 1390 "accessibility": "protected", 1391 "static": true, 1392 "readonly": false, 1393 "declare": false, 1394 "optional": false, 1395 "computed": false, 1396 "typeAnnotation": { 1397 "type": "TSArrayType", 1398 "elementType": { 1399 "type": "ETSTypeReference", 1400 "part": { 1401 "type": "ETSTypeReferencePart", 1402 "name": { 1403 "type": "Identifier", 1404 "name": "#ArkColor", 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 "loc": { 1418 "start": { 1419 "line": 1, 1420 "column": 1 1421 }, 1422 "end": { 1423 "line": 1, 1424 "column": 1 1425 } 1426 } 1427 }, 1428 "loc": { 1429 "start": { 1430 "line": 1, 1431 "column": 1 1432 }, 1433 "end": { 1434 "line": 1, 1435 "column": 1 1436 } 1437 } 1438 }, 1439 "loc": { 1440 "start": { 1441 "line": 1, 1442 "column": 1 1443 }, 1444 "end": { 1445 "line": 1, 1446 "column": 1 1447 } 1448 } 1449 }, 1450 "definite": false, 1451 "decorators": [], 1452 "loc": { 1453 "start": { 1454 "line": 1, 1455 "column": 1 1456 }, 1457 "end": { 1458 "line": 1, 1459 "column": 1 1460 } 1461 } 1462 }, 1463 { 1464 "type": "MethodDefinition", 1465 "key": { 1466 "type": "Identifier", 1467 "name": "getName", 1468 "decorators": [], 1469 "loc": { 1470 "start": { 1471 "line": 1, 1472 "column": 1 1473 }, 1474 "end": { 1475 "line": 1, 1476 "column": 1 1477 } 1478 } 1479 }, 1480 "kind": "method", 1481 "accessibility": "public", 1482 "static": true, 1483 "optional": false, 1484 "computed": false, 1485 "value": { 1486 "type": "FunctionExpression", 1487 "function": { 1488 "type": "ScriptFunction", 1489 "id": { 1490 "type": "Identifier", 1491 "name": "getName", 1492 "decorators": [], 1493 "loc": { 1494 "start": { 1495 "line": 1, 1496 "column": 1 1497 }, 1498 "end": { 1499 "line": 1, 1500 "column": 1 1501 } 1502 } 1503 }, 1504 "generator": false, 1505 "async": false, 1506 "expression": false, 1507 "params": [ 1508 { 1509 "type": "ETSParameterExpression", 1510 "name": { 1511 "type": "Identifier", 1512 "name": "ordinal", 1513 "typeAnnotation": { 1514 "type": "ETSTypeReference", 1515 "part": { 1516 "type": "ETSTypeReferencePart", 1517 "name": { 1518 "type": "Identifier", 1519 "name": "ArkColor", 1520 "decorators": [], 1521 "loc": { 1522 "start": { 1523 "line": 1, 1524 "column": 1 1525 }, 1526 "end": { 1527 "line": 1, 1528 "column": 1 1529 } 1530 } 1531 }, 1532 "loc": { 1533 "start": { 1534 "line": 1, 1535 "column": 1 1536 }, 1537 "end": { 1538 "line": 1, 1539 "column": 1 1540 } 1541 } 1542 }, 1543 "loc": { 1544 "start": { 1545 "line": 1, 1546 "column": 1 1547 }, 1548 "end": { 1549 "line": 1, 1550 "column": 1 1551 } 1552 } 1553 }, 1554 "decorators": [], 1555 "loc": { 1556 "start": { 1557 "line": 1, 1558 "column": 1 1559 }, 1560 "end": { 1561 "line": 1, 1562 "column": 1 1563 } 1564 } 1565 }, 1566 "loc": { 1567 "start": { 1568 "line": 1, 1569 "column": 1 1570 }, 1571 "end": { 1572 "line": 1, 1573 "column": 1 1574 } 1575 } 1576 } 1577 ], 1578 "returnType": { 1579 "type": "ETSTypeReference", 1580 "part": { 1581 "type": "ETSTypeReferencePart", 1582 "name": { 1583 "type": "Identifier", 1584 "name": "String", 1585 "decorators": [], 1586 "loc": { 1587 "start": { 1588 "line": 1, 1589 "column": 1 1590 }, 1591 "end": { 1592 "line": 1, 1593 "column": 1 1594 } 1595 } 1596 }, 1597 "loc": { 1598 "start": { 1599 "line": 1, 1600 "column": 1 1601 }, 1602 "end": { 1603 "line": 1, 1604 "column": 1 1605 } 1606 } 1607 }, 1608 "loc": { 1609 "start": { 1610 "line": 1, 1611 "column": 1 1612 }, 1613 "end": { 1614 "line": 1, 1615 "column": 1 1616 } 1617 } 1618 }, 1619 "body": { 1620 "type": "BlockStatement", 1621 "statements": [ 1622 { 1623 "type": "ReturnStatement", 1624 "argument": { 1625 "type": "MemberExpression", 1626 "object": { 1627 "type": "Identifier", 1628 "name": "NamesArray", 1629 "decorators": [], 1630 "loc": { 1631 "start": { 1632 "line": 1, 1633 "column": 1 1634 }, 1635 "end": { 1636 "line": 1, 1637 "column": 1 1638 } 1639 } 1640 }, 1641 "property": { 1642 "type": "TSAsExpression", 1643 "expression": { 1644 "type": "Identifier", 1645 "name": "ordinal", 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 "typeAnnotation": { 1659 "type": "ETSPrimitiveType", 1660 "loc": { 1661 "start": { 1662 "line": 1, 1663 "column": 1 1664 }, 1665 "end": { 1666 "line": 1, 1667 "column": 1 1668 } 1669 } 1670 }, 1671 "loc": { 1672 "start": { 1673 "line": 1, 1674 "column": 1 1675 }, 1676 "end": { 1677 "line": 1, 1678 "column": 1 1679 } 1680 } 1681 }, 1682 "computed": true, 1683 "optional": false, 1684 "loc": { 1685 "start": { 1686 "line": 1, 1687 "column": 1 1688 }, 1689 "end": { 1690 "line": 1, 1691 "column": 1 1692 } 1693 } 1694 }, 1695 "loc": { 1696 "start": { 1697 "line": 1, 1698 "column": 1 1699 }, 1700 "end": { 1701 "line": 1, 1702 "column": 1 1703 } 1704 } 1705 } 1706 ], 1707 "loc": { 1708 "start": { 1709 "line": 1, 1710 "column": 1 1711 }, 1712 "end": { 1713 "line": 1, 1714 "column": 1 1715 } 1716 } 1717 }, 1718 "loc": { 1719 "start": { 1720 "line": 1, 1721 "column": 1 1722 }, 1723 "end": { 1724 "line": 1, 1725 "column": 1 1726 } 1727 } 1728 }, 1729 "loc": { 1730 "start": { 1731 "line": 1, 1732 "column": 1 1733 }, 1734 "end": { 1735 "line": 1, 1736 "column": 1 1737 } 1738 } 1739 }, 1740 "overloads": [], 1741 "decorators": [], 1742 "loc": { 1743 "start": { 1744 "line": 1, 1745 "column": 1 1746 }, 1747 "end": { 1748 "line": 1, 1749 "column": 1 1750 } 1751 } 1752 }, 1753 { 1754 "type": "MethodDefinition", 1755 "key": { 1756 "type": "Identifier", 1757 "name": "getValueOf", 1758 "decorators": [], 1759 "loc": { 1760 "start": { 1761 "line": 1, 1762 "column": 1 1763 }, 1764 "end": { 1765 "line": 1, 1766 "column": 1 1767 } 1768 } 1769 }, 1770 "kind": "method", 1771 "accessibility": "public", 1772 "static": true, 1773 "optional": false, 1774 "computed": false, 1775 "value": { 1776 "type": "FunctionExpression", 1777 "function": { 1778 "type": "ScriptFunction", 1779 "id": { 1780 "type": "Identifier", 1781 "name": "getValueOf", 1782 "decorators": [], 1783 "loc": { 1784 "start": { 1785 "line": 1, 1786 "column": 1 1787 }, 1788 "end": { 1789 "line": 1, 1790 "column": 1 1791 } 1792 } 1793 }, 1794 "generator": false, 1795 "async": false, 1796 "expression": false, 1797 "params": [ 1798 { 1799 "type": "ETSParameterExpression", 1800 "name": { 1801 "type": "Identifier", 1802 "name": "name", 1803 "typeAnnotation": { 1804 "type": "ETSTypeReference", 1805 "part": { 1806 "type": "ETSTypeReferencePart", 1807 "name": { 1808 "type": "Identifier", 1809 "name": "String", 1810 "decorators": [], 1811 "loc": { 1812 "start": { 1813 "line": 1, 1814 "column": 1 1815 }, 1816 "end": { 1817 "line": 1, 1818 "column": 1 1819 } 1820 } 1821 }, 1822 "loc": { 1823 "start": { 1824 "line": 1, 1825 "column": 1 1826 }, 1827 "end": { 1828 "line": 1, 1829 "column": 1 1830 } 1831 } 1832 }, 1833 "loc": { 1834 "start": { 1835 "line": 1, 1836 "column": 1 1837 }, 1838 "end": { 1839 "line": 1, 1840 "column": 1 1841 } 1842 } 1843 }, 1844 "decorators": [], 1845 "loc": { 1846 "start": { 1847 "line": 1, 1848 "column": 1 1849 }, 1850 "end": { 1851 "line": 1, 1852 "column": 1 1853 } 1854 } 1855 }, 1856 "loc": { 1857 "start": { 1858 "line": 1, 1859 "column": 1 1860 }, 1861 "end": { 1862 "line": 1, 1863 "column": 1 1864 } 1865 } 1866 } 1867 ], 1868 "returnType": { 1869 "type": "ETSTypeReference", 1870 "part": { 1871 "type": "ETSTypeReferencePart", 1872 "name": { 1873 "type": "Identifier", 1874 "name": "ArkColor", 1875 "decorators": [], 1876 "loc": { 1877 "start": { 1878 "line": 1, 1879 "column": 1 1880 }, 1881 "end": { 1882 "line": 1, 1883 "column": 1 1884 } 1885 } 1886 }, 1887 "loc": { 1888 "start": { 1889 "line": 1, 1890 "column": 1 1891 }, 1892 "end": { 1893 "line": 1, 1894 "column": 1 1895 } 1896 } 1897 }, 1898 "loc": { 1899 "start": { 1900 "line": 1, 1901 "column": 1 1902 }, 1903 "end": { 1904 "line": 1, 1905 "column": 1 1906 } 1907 } 1908 }, 1909 "body": { 1910 "type": "BlockStatement", 1911 "statements": [ 1912 { 1913 "type": "ForUpdateStatement", 1914 "init": { 1915 "type": "VariableDeclaration", 1916 "declarations": [ 1917 { 1918 "type": "VariableDeclarator", 1919 "id": { 1920 "type": "Identifier", 1921 "name": "i", 1922 "decorators": [], 1923 "loc": { 1924 "start": { 1925 "line": 1, 1926 "column": 1 1927 }, 1928 "end": { 1929 "line": 1, 1930 "column": 1 1931 } 1932 } 1933 }, 1934 "init": { 1935 "type": "NumberLiteral", 1936 "value": 0, 1937 "loc": { 1938 "start": { 1939 "line": 1, 1940 "column": 1 1941 }, 1942 "end": { 1943 "line": 1, 1944 "column": 1 1945 } 1946 } 1947 }, 1948 "loc": { 1949 "start": { 1950 "line": 1, 1951 "column": 1 1952 }, 1953 "end": { 1954 "line": 1, 1955 "column": 1 1956 } 1957 } 1958 } 1959 ], 1960 "kind": "let", 1961 "loc": { 1962 "start": { 1963 "line": 1, 1964 "column": 1 1965 }, 1966 "end": { 1967 "line": 1, 1968 "column": 1 1969 } 1970 } 1971 }, 1972 "test": { 1973 "type": "BinaryExpression", 1974 "operator": "<", 1975 "left": { 1976 "type": "Identifier", 1977 "name": "i", 1978 "decorators": [], 1979 "loc": { 1980 "start": { 1981 "line": 1, 1982 "column": 1 1983 }, 1984 "end": { 1985 "line": 1, 1986 "column": 1 1987 } 1988 } 1989 }, 1990 "right": { 1991 "type": "MemberExpression", 1992 "object": { 1993 "type": "Identifier", 1994 "name": "NamesArray", 1995 "decorators": [], 1996 "loc": { 1997 "start": { 1998 "line": 1, 1999 "column": 1 2000 }, 2001 "end": { 2002 "line": 1, 2003 "column": 1 2004 } 2005 } 2006 }, 2007 "property": { 2008 "type": "Identifier", 2009 "name": "length", 2010 "decorators": [], 2011 "loc": { 2012 "start": { 2013 "line": 1, 2014 "column": 1 2015 }, 2016 "end": { 2017 "line": 1, 2018 "column": 1 2019 } 2020 } 2021 }, 2022 "computed": false, 2023 "optional": false, 2024 "loc": { 2025 "start": { 2026 "line": 1, 2027 "column": 1 2028 }, 2029 "end": { 2030 "line": 1, 2031 "column": 1 2032 } 2033 } 2034 }, 2035 "loc": { 2036 "start": { 2037 "line": 1, 2038 "column": 1 2039 }, 2040 "end": { 2041 "line": 1, 2042 "column": 1 2043 } 2044 } 2045 }, 2046 "update": { 2047 "type": "UpdateExpression", 2048 "operator": "++", 2049 "prefix": true, 2050 "argument": { 2051 "type": "Identifier", 2052 "name": "i", 2053 "decorators": [], 2054 "loc": { 2055 "start": { 2056 "line": 1, 2057 "column": 1 2058 }, 2059 "end": { 2060 "line": 1, 2061 "column": 1 2062 } 2063 } 2064 }, 2065 "loc": { 2066 "start": { 2067 "line": 1, 2068 "column": 1 2069 }, 2070 "end": { 2071 "line": 1, 2072 "column": 1 2073 } 2074 } 2075 }, 2076 "body": { 2077 "type": "IfStatement", 2078 "test": { 2079 "type": "BinaryExpression", 2080 "operator": "==", 2081 "left": { 2082 "type": "Identifier", 2083 "name": "name", 2084 "decorators": [], 2085 "loc": { 2086 "start": { 2087 "line": 1, 2088 "column": 1 2089 }, 2090 "end": { 2091 "line": 1, 2092 "column": 1 2093 } 2094 } 2095 }, 2096 "right": { 2097 "type": "MemberExpression", 2098 "object": { 2099 "type": "Identifier", 2100 "name": "NamesArray", 2101 "decorators": [], 2102 "loc": { 2103 "start": { 2104 "line": 1, 2105 "column": 1 2106 }, 2107 "end": { 2108 "line": 1, 2109 "column": 1 2110 } 2111 } 2112 }, 2113 "property": { 2114 "type": "Identifier", 2115 "name": "i", 2116 "decorators": [], 2117 "loc": { 2118 "start": { 2119 "line": 1, 2120 "column": 1 2121 }, 2122 "end": { 2123 "line": 1, 2124 "column": 1 2125 } 2126 } 2127 }, 2128 "computed": true, 2129 "optional": false, 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 "consequent": { 2153 "type": "ReturnStatement", 2154 "argument": { 2155 "type": "TSAsExpression", 2156 "expression": { 2157 "type": "Identifier", 2158 "name": "i", 2159 "decorators": [], 2160 "loc": { 2161 "start": { 2162 "line": 1, 2163 "column": 1 2164 }, 2165 "end": { 2166 "line": 1, 2167 "column": 1 2168 } 2169 } 2170 }, 2171 "typeAnnotation": { 2172 "type": "ETSTypeReference", 2173 "part": { 2174 "type": "ETSTypeReferencePart", 2175 "name": { 2176 "type": "Identifier", 2177 "name": "ArkColor", 2178 "decorators": [], 2179 "loc": { 2180 "start": { 2181 "line": 1, 2182 "column": 1 2183 }, 2184 "end": { 2185 "line": 1, 2186 "column": 1 2187 } 2188 } 2189 }, 2190 "loc": { 2191 "start": { 2192 "line": 1, 2193 "column": 1 2194 }, 2195 "end": { 2196 "line": 1, 2197 "column": 1 2198 } 2199 } 2200 }, 2201 "loc": { 2202 "start": { 2203 "line": 1, 2204 "column": 1 2205 }, 2206 "end": { 2207 "line": 1, 2208 "column": 1 2209 } 2210 } 2211 }, 2212 "loc": { 2213 "start": { 2214 "line": 1, 2215 "column": 1 2216 }, 2217 "end": { 2218 "line": 1, 2219 "column": 1 2220 } 2221 } 2222 }, 2223 "loc": { 2224 "start": { 2225 "line": 1, 2226 "column": 1 2227 }, 2228 "end": { 2229 "line": 1, 2230 "column": 1 2231 } 2232 } 2233 }, 2234 "alternate": null, 2235 "loc": { 2236 "start": { 2237 "line": 1, 2238 "column": 1 2239 }, 2240 "end": { 2241 "line": 1, 2242 "column": 1 2243 } 2244 } 2245 }, 2246 "loc": { 2247 "start": { 2248 "line": 1, 2249 "column": 1 2250 }, 2251 "end": { 2252 "line": 1, 2253 "column": 1 2254 } 2255 } 2256 }, 2257 { 2258 "type": "ThrowStatement", 2259 "argument": { 2260 "type": "ETSNewClassInstanceExpression", 2261 "typeReference": { 2262 "type": "ETSTypeReference", 2263 "part": { 2264 "type": "ETSTypeReferencePart", 2265 "name": { 2266 "type": "Identifier", 2267 "name": "Exception", 2268 "decorators": [], 2269 "loc": { 2270 "start": { 2271 "line": 1, 2272 "column": 1 2273 }, 2274 "end": { 2275 "line": 1, 2276 "column": 1 2277 } 2278 } 2279 }, 2280 "loc": { 2281 "start": { 2282 "line": 1, 2283 "column": 1 2284 }, 2285 "end": { 2286 "line": 1, 2287 "column": 1 2288 } 2289 } 2290 }, 2291 "loc": { 2292 "start": { 2293 "line": 1, 2294 "column": 1 2295 }, 2296 "end": { 2297 "line": 1, 2298 "column": 1 2299 } 2300 } 2301 }, 2302 "arguments": [ 2303 { 2304 "type": "BinaryExpression", 2305 "operator": "+", 2306 "left": { 2307 "type": "StringLiteral", 2308 "value": "No enum constant ArkColor.", 2309 "loc": { 2310 "start": { 2311 "line": 1, 2312 "column": 1 2313 }, 2314 "end": { 2315 "line": 1, 2316 "column": 1 2317 } 2318 } 2319 }, 2320 "right": { 2321 "type": "Identifier", 2322 "name": "name", 2323 "decorators": [], 2324 "loc": { 2325 "start": { 2326 "line": 1, 2327 "column": 1 2328 }, 2329 "end": { 2330 "line": 1, 2331 "column": 1 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 ], 2347 "loc": { 2348 "start": { 2349 "line": 1, 2350 "column": 1 2351 }, 2352 "end": { 2353 "line": 1, 2354 "column": 1 2355 } 2356 } 2357 }, 2358 "loc": { 2359 "start": { 2360 "line": 1, 2361 "column": 1 2362 }, 2363 "end": { 2364 "line": 1, 2365 "column": 1 2366 } 2367 } 2368 } 2369 ], 2370 "loc": { 2371 "start": { 2372 "line": 1, 2373 "column": 1 2374 }, 2375 "end": { 2376 "line": 1, 2377 "column": 1 2378 } 2379 } 2380 } 2381 "throwMarker": "throws", 2382 "loc": { 2383 "start": { 2384 "line": 1, 2385 "column": 1 2386 }, 2387 "end": { 2388 "line": 1, 2389 "column": 1 2390 } 2391 } 2392 }, 2393 "loc": { 2394 "start": { 2395 "line": 1, 2396 "column": 1 2397 }, 2398 "end": { 2399 "line": 1, 2400 "column": 1 2401 } 2402 } 2403 }, 2404 "overloads": [], 2405 "decorators": [], 2406 "loc": { 2407 "start": { 2408 "line": 1, 2409 "column": 1 2410 }, 2411 "end": { 2412 "line": 1, 2413 "column": 1 2414 } 2415 } 2416 }, 2417 { 2418 "type": "MethodDefinition", 2419 "key": { 2420 "type": "Identifier", 2421 "name": "toString", 2422 "decorators": [], 2423 "loc": { 2424 "start": { 2425 "line": 1, 2426 "column": 1 2427 }, 2428 "end": { 2429 "line": 1, 2430 "column": 1 2431 } 2432 } 2433 }, 2434 "kind": "method", 2435 "accessibility": "public", 2436 "static": true, 2437 "optional": false, 2438 "computed": false, 2439 "value": { 2440 "type": "FunctionExpression", 2441 "function": { 2442 "type": "ScriptFunction", 2443 "id": { 2444 "type": "Identifier", 2445 "name": "toString", 2446 "decorators": [], 2447 "loc": { 2448 "start": { 2449 "line": 1, 2450 "column": 1 2451 }, 2452 "end": { 2453 "line": 1, 2454 "column": 1 2455 } 2456 } 2457 }, 2458 "generator": false, 2459 "async": false, 2460 "expression": false, 2461 "params": [ 2462 { 2463 "type": "ETSParameterExpression", 2464 "name": { 2465 "type": "Identifier", 2466 "name": "ordinal", 2467 "typeAnnotation": { 2468 "type": "ETSTypeReference", 2469 "part": { 2470 "type": "ETSTypeReferencePart", 2471 "name": { 2472 "type": "Identifier", 2473 "name": "ArkColor", 2474 "decorators": [], 2475 "loc": { 2476 "start": { 2477 "line": 1, 2478 "column": 1 2479 }, 2480 "end": { 2481 "line": 1, 2482 "column": 1 2483 } 2484 } 2485 }, 2486 "loc": { 2487 "start": { 2488 "line": 1, 2489 "column": 1 2490 }, 2491 "end": { 2492 "line": 1, 2493 "column": 1 2494 } 2495 } 2496 }, 2497 "loc": { 2498 "start": { 2499 "line": 1, 2500 "column": 1 2501 }, 2502 "end": { 2503 "line": 1, 2504 "column": 1 2505 } 2506 } 2507 }, 2508 "decorators": [], 2509 "loc": { 2510 "start": { 2511 "line": 1, 2512 "column": 1 2513 }, 2514 "end": { 2515 "line": 1, 2516 "column": 1 2517 } 2518 } 2519 }, 2520 "loc": { 2521 "start": { 2522 "line": 1, 2523 "column": 1 2524 }, 2525 "end": { 2526 "line": 1, 2527 "column": 1 2528 } 2529 } 2530 } 2531 ], 2532 "returnType": { 2533 "type": "ETSTypeReference", 2534 "part": { 2535 "type": "ETSTypeReferencePart", 2536 "name": { 2537 "type": "Identifier", 2538 "name": "String", 2539 "decorators": [], 2540 "loc": { 2541 "start": { 2542 "line": 1, 2543 "column": 1 2544 }, 2545 "end": { 2546 "line": 1, 2547 "column": 1 2548 } 2549 } 2550 }, 2551 "loc": { 2552 "start": { 2553 "line": 1, 2554 "column": 1 2555 }, 2556 "end": { 2557 "line": 1, 2558 "column": 1 2559 } 2560 } 2561 }, 2562 "loc": { 2563 "start": { 2564 "line": 1, 2565 "column": 1 2566 }, 2567 "end": { 2568 "line": 1, 2569 "column": 1 2570 } 2571 } 2572 }, 2573 "body": { 2574 "type": "BlockStatement", 2575 "statements": [ 2576 { 2577 "type": "ReturnStatement", 2578 "argument": { 2579 "type": "MemberExpression", 2580 "object": { 2581 "type": "Identifier", 2582 "name": "StringValuesArray", 2583 "decorators": [], 2584 "loc": { 2585 "start": { 2586 "line": 1, 2587 "column": 1 2588 }, 2589 "end": { 2590 "line": 1, 2591 "column": 1 2592 } 2593 } 2594 }, 2595 "property": { 2596 "type": "TSAsExpression", 2597 "expression": { 2598 "type": "Identifier", 2599 "name": "ordinal", 2600 "decorators": [], 2601 "loc": { 2602 "start": { 2603 "line": 1, 2604 "column": 1 2605 }, 2606 "end": { 2607 "line": 1, 2608 "column": 1 2609 } 2610 } 2611 }, 2612 "typeAnnotation": { 2613 "type": "ETSPrimitiveType", 2614 "loc": { 2615 "start": { 2616 "line": 1, 2617 "column": 1 2618 }, 2619 "end": { 2620 "line": 1, 2621 "column": 1 2622 } 2623 } 2624 }, 2625 "loc": { 2626 "start": { 2627 "line": 1, 2628 "column": 1 2629 }, 2630 "end": { 2631 "line": 1, 2632 "column": 1 2633 } 2634 } 2635 }, 2636 "computed": true, 2637 "optional": false, 2638 "loc": { 2639 "start": { 2640 "line": 1, 2641 "column": 1 2642 }, 2643 "end": { 2644 "line": 1, 2645 "column": 1 2646 } 2647 } 2648 }, 2649 "loc": { 2650 "start": { 2651 "line": 1, 2652 "column": 1 2653 }, 2654 "end": { 2655 "line": 1, 2656 "column": 1 2657 } 2658 } 2659 } 2660 ], 2661 "loc": { 2662 "start": { 2663 "line": 1, 2664 "column": 1 2665 }, 2666 "end": { 2667 "line": 1, 2668 "column": 1 2669 } 2670 } 2671 }, 2672 "loc": { 2673 "start": { 2674 "line": 1, 2675 "column": 1 2676 }, 2677 "end": { 2678 "line": 1, 2679 "column": 1 2680 } 2681 } 2682 }, 2683 "loc": { 2684 "start": { 2685 "line": 1, 2686 "column": 1 2687 }, 2688 "end": { 2689 "line": 1, 2690 "column": 1 2691 } 2692 } 2693 }, 2694 "overloads": [], 2695 "decorators": [], 2696 "loc": { 2697 "start": { 2698 "line": 1, 2699 "column": 1 2700 }, 2701 "end": { 2702 "line": 1, 2703 "column": 1 2704 } 2705 } 2706 }, 2707 { 2708 "type": "MethodDefinition", 2709 "key": { 2710 "type": "Identifier", 2711 "name": "values", 2712 "decorators": [], 2713 "loc": { 2714 "start": { 2715 "line": 1, 2716 "column": 1 2717 }, 2718 "end": { 2719 "line": 1, 2720 "column": 1 2721 } 2722 } 2723 }, 2724 "kind": "method", 2725 "accessibility": "public", 2726 "static": true, 2727 "optional": false, 2728 "computed": false, 2729 "value": { 2730 "type": "FunctionExpression", 2731 "function": { 2732 "type": "ScriptFunction", 2733 "id": { 2734 "type": "Identifier", 2735 "name": "values", 2736 "decorators": [], 2737 "loc": { 2738 "start": { 2739 "line": 1, 2740 "column": 1 2741 }, 2742 "end": { 2743 "line": 1, 2744 "column": 1 2745 } 2746 } 2747 }, 2748 "generator": false, 2749 "async": false, 2750 "expression": false, 2751 "params": [], 2752 "returnType": { 2753 "type": "TSArrayType", 2754 "elementType": { 2755 "type": "ETSTypeReference", 2756 "part": { 2757 "type": "ETSTypeReferencePart", 2758 "name": { 2759 "type": "Identifier", 2760 "name": "ArkColor", 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 "loc": { 2774 "start": { 2775 "line": 1, 2776 "column": 1 2777 }, 2778 "end": { 2779 "line": 1, 2780 "column": 1 2781 } 2782 } 2783 }, 2784 "loc": { 2785 "start": { 2786 "line": 1, 2787 "column": 1 2788 }, 2789 "end": { 2790 "line": 1, 2791 "column": 1 2792 } 2793 } 2794 }, 2795 "loc": { 2796 "start": { 2797 "line": 1, 2798 "column": 1 2799 }, 2800 "end": { 2801 "line": 1, 2802 "column": 1 2803 } 2804 } 2805 }, 2806 "body": { 2807 "type": "BlockStatement", 2808 "statements": [ 2809 { 2810 "type": "ReturnStatement", 2811 "argument": { 2812 "type": "Identifier", 2813 "name": "ItemsArray", 2814 "decorators": [], 2815 "loc": { 2816 "start": { 2817 "line": 1, 2818 "column": 1 2819 }, 2820 "end": { 2821 "line": 1, 2822 "column": 1 2823 } 2824 } 2825 }, 2826 "loc": { 2827 "start": { 2828 "line": 1, 2829 "column": 1 2830 }, 2831 "end": { 2832 "line": 1, 2833 "column": 1 2834 } 2835 } 2836 } 2837 ], 2838 "loc": { 2839 "start": { 2840 "line": 1, 2841 "column": 1 2842 }, 2843 "end": { 2844 "line": 1, 2845 "column": 1 2846 } 2847 } 2848 }, 2849 "loc": { 2850 "start": { 2851 "line": 1, 2852 "column": 1 2853 }, 2854 "end": { 2855 "line": 1, 2856 "column": 1 2857 } 2858 } 2859 }, 2860 "loc": { 2861 "start": { 2862 "line": 1, 2863 "column": 1 2864 }, 2865 "end": { 2866 "line": 1, 2867 "column": 1 2868 } 2869 } 2870 }, 2871 "overloads": [], 2872 "decorators": [], 2873 "loc": { 2874 "start": { 2875 "line": 1, 2876 "column": 1 2877 }, 2878 "end": { 2879 "line": 1, 2880 "column": 1 2881 } 2882 } 2883 }, 2884 { 2885 "type": "MethodDefinition", 2886 "key": { 2887 "type": "Identifier", 2888 "name": "fromInt", 2889 "decorators": [], 2890 "loc": { 2891 "start": { 2892 "line": 1, 2893 "column": 1 2894 }, 2895 "end": { 2896 "line": 1, 2897 "column": 1 2898 } 2899 } 2900 }, 2901 "kind": "method", 2902 "accessibility": "public", 2903 "static": true, 2904 "optional": false, 2905 "computed": false, 2906 "value": { 2907 "type": "FunctionExpression", 2908 "function": { 2909 "type": "ScriptFunction", 2910 "id": { 2911 "type": "Identifier", 2912 "name": "fromInt", 2913 "decorators": [], 2914 "loc": { 2915 "start": { 2916 "line": 1, 2917 "column": 1 2918 }, 2919 "end": { 2920 "line": 1, 2921 "column": 1 2922 } 2923 } 2924 }, 2925 "generator": false, 2926 "async": false, 2927 "expression": false, 2928 "params": [ 2929 { 2930 "type": "ETSParameterExpression", 2931 "name": { 2932 "type": "Identifier", 2933 "name": "ordinal", 2934 "typeAnnotation": { 2935 "type": "ETSPrimitiveType", 2936 "loc": { 2937 "start": { 2938 "line": 1, 2939 "column": 1 2940 }, 2941 "end": { 2942 "line": 1, 2943 "column": 1 2944 } 2945 } 2946 }, 2947 "decorators": [], 2948 "loc": { 2949 "start": { 2950 "line": 1, 2951 "column": 1 2952 }, 2953 "end": { 2954 "line": 1, 2955 "column": 1 2956 } 2957 } 2958 }, 2959 "loc": { 2960 "start": { 2961 "line": 1, 2962 "column": 1 2963 }, 2964 "end": { 2965 "line": 1, 2966 "column": 1 2967 } 2968 } 2969 } 2970 ], 2971 "returnType": { 2972 "type": "ETSTypeReference", 2973 "part": { 2974 "type": "ETSTypeReferencePart", 2975 "name": { 2976 "type": "Identifier", 2977 "name": "ArkColor", 2978 "decorators": [], 2979 "loc": { 2980 "start": { 2981 "line": 1, 2982 "column": 1 2983 }, 2984 "end": { 2985 "line": 1, 2986 "column": 1 2987 } 2988 } 2989 }, 2990 "loc": { 2991 "start": { 2992 "line": 1, 2993 "column": 1 2994 }, 2995 "end": { 2996 "line": 1, 2997 "column": 1 2998 } 2999 } 3000 }, 3001 "loc": { 3002 "start": { 3003 "line": 1, 3004 "column": 1 3005 }, 3006 "end": { 3007 "line": 1, 3008 "column": 1 3009 } 3010 } 3011 }, 3012 "body": { 3013 "type": "BlockStatement", 3014 "statements": [ 3015 { 3016 "type": "IfStatement", 3017 "test": { 3018 "type": "BinaryExpression", 3019 "operator": "<", 3020 "left": { 3021 "type": "Identifier", 3022 "name": "ordinal", 3023 "decorators": [], 3024 "loc": { 3025 "start": { 3026 "line": 1, 3027 "column": 1 3028 }, 3029 "end": { 3030 "line": 1, 3031 "column": 1 3032 } 3033 } 3034 }, 3035 "right": { 3036 "type": "MemberExpression", 3037 "object": { 3038 "type": "Identifier", 3039 "name": "ItemsArray", 3040 "decorators": [], 3041 "loc": { 3042 "start": { 3043 "line": 1, 3044 "column": 1 3045 }, 3046 "end": { 3047 "line": 1, 3048 "column": 1 3049 } 3050 } 3051 }, 3052 "property": { 3053 "type": "Identifier", 3054 "name": "length", 3055 "decorators": [], 3056 "loc": { 3057 "start": { 3058 "line": 1, 3059 "column": 1 3060 }, 3061 "end": { 3062 "line": 1, 3063 "column": 1 3064 } 3065 } 3066 }, 3067 "computed": false, 3068 "optional": false, 3069 "loc": { 3070 "start": { 3071 "line": 1, 3072 "column": 1 3073 }, 3074 "end": { 3075 "line": 1, 3076 "column": 1 3077 } 3078 } 3079 }, 3080 "loc": { 3081 "start": { 3082 "line": 1, 3083 "column": 1 3084 }, 3085 "end": { 3086 "line": 1, 3087 "column": 1 3088 } 3089 } 3090 }, 3091 "consequent": { 3092 "type": "ReturnStatement", 3093 "argument": { 3094 "type": "MemberExpression", 3095 "object": { 3096 "type": "Identifier", 3097 "name": "ItemsArray", 3098 "decorators": [], 3099 "loc": { 3100 "start": { 3101 "line": 1, 3102 "column": 1 3103 }, 3104 "end": { 3105 "line": 1, 3106 "column": 1 3107 } 3108 } 3109 }, 3110 "property": { 3111 "type": "Identifier", 3112 "name": "ordinal", 3113 "decorators": [], 3114 "loc": { 3115 "start": { 3116 "line": 1, 3117 "column": 1 3118 }, 3119 "end": { 3120 "line": 1, 3121 "column": 1 3122 } 3123 } 3124 }, 3125 "computed": true, 3126 "optional": false, 3127 "loc": { 3128 "start": { 3129 "line": 1, 3130 "column": 1 3131 }, 3132 "end": { 3133 "line": 1, 3134 "column": 1 3135 } 3136 } 3137 }, 3138 "loc": { 3139 "start": { 3140 "line": 1, 3141 "column": 1 3142 }, 3143 "end": { 3144 "line": 1, 3145 "column": 1 3146 } 3147 } 3148 }, 3149 "alternate": null, 3150 "loc": { 3151 "start": { 3152 "line": 1, 3153 "column": 1 3154 }, 3155 "end": { 3156 "line": 1, 3157 "column": 1 3158 } 3159 } 3160 }, 3161 { 3162 "type": "ThrowStatement", 3163 "argument": { 3164 "type": "ETSNewClassInstanceExpression", 3165 "typeReference": { 3166 "type": "ETSTypeReference", 3167 "part": { 3168 "type": "ETSTypeReferencePart", 3169 "name": { 3170 "type": "Identifier", 3171 "name": "Exception", 3172 "decorators": [], 3173 "loc": { 3174 "start": { 3175 "line": 1, 3176 "column": 1 3177 }, 3178 "end": { 3179 "line": 1, 3180 "column": 1 3181 } 3182 } 3183 }, 3184 "loc": { 3185 "start": { 3186 "line": 1, 3187 "column": 1 3188 }, 3189 "end": { 3190 "line": 1, 3191 "column": 1 3192 } 3193 } 3194 }, 3195 "loc": { 3196 "start": { 3197 "line": 1, 3198 "column": 1 3199 }, 3200 "end": { 3201 "line": 1, 3202 "column": 1 3203 } 3204 } 3205 }, 3206 "arguments": [ 3207 { 3208 "type": "BinaryExpression", 3209 "operator": "+", 3210 "left": { 3211 "type": "StringLiteral", 3212 "value": "No enum constant in ArkColor with ordinal value ", 3213 "loc": { 3214 "start": { 3215 "line": 1, 3216 "column": 1 3217 }, 3218 "end": { 3219 "line": 1, 3220 "column": 1 3221 } 3222 } 3223 }, 3224 "right": { 3225 "type": "Identifier", 3226 "name": "ordinal", 3227 "decorators": [], 3228 "loc": { 3229 "start": { 3230 "line": 1, 3231 "column": 1 3232 }, 3233 "end": { 3234 "line": 1, 3235 "column": 1 3236 } 3237 } 3238 }, 3239 "loc": { 3240 "start": { 3241 "line": 1, 3242 "column": 1 3243 }, 3244 "end": { 3245 "line": 1, 3246 "column": 1 3247 } 3248 } 3249 } 3250 ], 3251 "loc": { 3252 "start": { 3253 "line": 1, 3254 "column": 1 3255 }, 3256 "end": { 3257 "line": 1, 3258 "column": 1 3259 } 3260 } 3261 }, 3262 "loc": { 3263 "start": { 3264 "line": 1, 3265 "column": 1 3266 }, 3267 "end": { 3268 "line": 1, 3269 "column": 1 3270 } 3271 } 3272 } 3273 ], 3274 "loc": { 3275 "start": { 3276 "line": 1, 3277 "column": 1 3278 }, 3279 "end": { 3280 "line": 1, 3281 "column": 1 3282 } 3283 } 3284 } 3285 "throwMarker": "throws", 3286 "loc": { 3287 "start": { 3288 "line": 1, 3289 "column": 1 3290 }, 3291 "end": { 3292 "line": 1, 3293 "column": 1 3294 } 3295 } 3296 }, 3297 "loc": { 3298 "start": { 3299 "line": 1, 3300 "column": 1 3301 }, 3302 "end": { 3303 "line": 1, 3304 "column": 1 3305 } 3306 } 3307 }, 3308 "overloads": [], 3309 "decorators": [], 3310 "loc": { 3311 "start": { 3312 "line": 1, 3313 "column": 1 3314 }, 3315 "end": { 3316 "line": 1, 3317 "column": 1 3318 } 3319 } 3320 }, 3321 { 3322 "type": "MethodDefinition", 3323 "key": { 3324 "type": "Identifier", 3325 "name": "unbox", 3326 "decorators": [], 3327 "loc": { 3328 "start": { 3329 "line": 1, 3330 "column": 1 3331 }, 3332 "end": { 3333 "line": 1, 3334 "column": 1 3335 } 3336 } 3337 }, 3338 "kind": "method", 3339 "accessibility": "public", 3340 "static": false, 3341 "optional": false, 3342 "computed": false, 3343 "value": { 3344 "type": "FunctionExpression", 3345 "function": { 3346 "type": "ScriptFunction", 3347 "id": { 3348 "type": "Identifier", 3349 "name": "unbox", 3350 "decorators": [], 3351 "loc": { 3352 "start": { 3353 "line": 1, 3354 "column": 1 3355 }, 3356 "end": { 3357 "line": 1, 3358 "column": 1 3359 } 3360 } 3361 }, 3362 "generator": false, 3363 "async": false, 3364 "expression": false, 3365 "params": [], 3366 "returnType": { 3367 "type": "ETSTypeReference", 3368 "part": { 3369 "type": "ETSTypeReferencePart", 3370 "name": { 3371 "type": "Identifier", 3372 "name": "ArkColor", 3373 "decorators": [], 3374 "loc": { 3375 "start": { 3376 "line": 1, 3377 "column": 1 3378 }, 3379 "end": { 3380 "line": 1, 3381 "column": 1 3382 } 3383 } 3384 }, 3385 "loc": { 3386 "start": { 3387 "line": 1, 3388 "column": 1 3389 }, 3390 "end": { 3391 "line": 1, 3392 "column": 1 3393 } 3394 } 3395 }, 3396 "loc": { 3397 "start": { 3398 "line": 1, 3399 "column": 1 3400 }, 3401 "end": { 3402 "line": 1, 3403 "column": 1 3404 } 3405 } 3406 }, 3407 "body": { 3408 "type": "BlockStatement", 3409 "statements": [ 3410 { 3411 "type": "ReturnStatement", 3412 "argument": { 3413 "type": "MemberExpression", 3414 "object": { 3415 "type": "Identifier", 3416 "name": "ItemsArray", 3417 "decorators": [], 3418 "loc": { 3419 "start": { 3420 "line": 1, 3421 "column": 1 3422 }, 3423 "end": { 3424 "line": 1, 3425 "column": 1 3426 } 3427 } 3428 }, 3429 "property": { 3430 "type": "MemberExpression", 3431 "object": { 3432 "type": "ThisExpression", 3433 "loc": { 3434 "start": { 3435 "line": 1, 3436 "column": 1 3437 }, 3438 "end": { 3439 "line": 1, 3440 "column": 1 3441 } 3442 } 3443 }, 3444 "property": { 3445 "type": "Identifier", 3446 "name": "ordinal", 3447 "decorators": [], 3448 "loc": { 3449 "start": { 3450 "line": 1, 3451 "column": 1 3452 }, 3453 "end": { 3454 "line": 1, 3455 "column": 1 3456 } 3457 } 3458 }, 3459 "computed": false, 3460 "optional": false, 3461 "loc": { 3462 "start": { 3463 "line": 1, 3464 "column": 1 3465 }, 3466 "end": { 3467 "line": 1, 3468 "column": 1 3469 } 3470 } 3471 }, 3472 "computed": true, 3473 "optional": false, 3474 "loc": { 3475 "start": { 3476 "line": 1, 3477 "column": 1 3478 }, 3479 "end": { 3480 "line": 1, 3481 "column": 1 3482 } 3483 } 3484 }, 3485 "loc": { 3486 "start": { 3487 "line": 1, 3488 "column": 1 3489 }, 3490 "end": { 3491 "line": 1, 3492 "column": 1 3493 } 3494 } 3495 } 3496 ], 3497 "loc": { 3498 "start": { 3499 "line": 1, 3500 "column": 1 3501 }, 3502 "end": { 3503 "line": 1, 3504 "column": 1 3505 } 3506 } 3507 }, 3508 "loc": { 3509 "start": { 3510 "line": 1, 3511 "column": 1 3512 }, 3513 "end": { 3514 "line": 1, 3515 "column": 1 3516 } 3517 } 3518 }, 3519 "loc": { 3520 "start": { 3521 "line": 1, 3522 "column": 1 3523 }, 3524 "end": { 3525 "line": 1, 3526 "column": 1 3527 } 3528 } 3529 }, 3530 "overloads": [], 3531 "decorators": [], 3532 "loc": { 3533 "start": { 3534 "line": 1, 3535 "column": 1 3536 }, 3537 "end": { 3538 "line": 1, 3539 "column": 1 3540 } 3541 } 3542 }, 3543 { 3544 "type": "MethodDefinition", 3545 "key": { 3546 "type": "Identifier", 3547 "name": "boxedfromInt", 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 "kind": "method", 3561 "accessibility": "public", 3562 "static": true, 3563 "optional": false, 3564 "computed": false, 3565 "value": { 3566 "type": "FunctionExpression", 3567 "function": { 3568 "type": "ScriptFunction", 3569 "id": { 3570 "type": "Identifier", 3571 "name": "boxedfromInt", 3572 "decorators": [], 3573 "loc": { 3574 "start": { 3575 "line": 1, 3576 "column": 1 3577 }, 3578 "end": { 3579 "line": 1, 3580 "column": 1 3581 } 3582 } 3583 }, 3584 "generator": false, 3585 "async": false, 3586 "expression": false, 3587 "params": [ 3588 { 3589 "type": "ETSParameterExpression", 3590 "name": { 3591 "type": "Identifier", 3592 "name": "ordinal", 3593 "typeAnnotation": { 3594 "type": "ETSPrimitiveType", 3595 "loc": { 3596 "start": { 3597 "line": 1, 3598 "column": 1 3599 }, 3600 "end": { 3601 "line": 1, 3602 "column": 1 3603 } 3604 } 3605 }, 3606 "decorators": [], 3607 "loc": { 3608 "start": { 3609 "line": 1, 3610 "column": 1 3611 }, 3612 "end": { 3613 "line": 1, 3614 "column": 1 3615 } 3616 } 3617 }, 3618 "loc": { 3619 "start": { 3620 "line": 1, 3621 "column": 1 3622 }, 3623 "end": { 3624 "line": 1, 3625 "column": 1 3626 } 3627 } 3628 } 3629 ], 3630 "returnType": { 3631 "type": "ETSTypeReference", 3632 "part": { 3633 "type": "ETSTypeReferencePart", 3634 "name": { 3635 "type": "Identifier", 3636 "name": "#ArkColor", 3637 "decorators": [], 3638 "loc": { 3639 "start": { 3640 "line": 1, 3641 "column": 1 3642 }, 3643 "end": { 3644 "line": 1, 3645 "column": 1 3646 } 3647 } 3648 }, 3649 "loc": { 3650 "start": { 3651 "line": 1, 3652 "column": 1 3653 }, 3654 "end": { 3655 "line": 1, 3656 "column": 1 3657 } 3658 } 3659 }, 3660 "loc": { 3661 "start": { 3662 "line": 1, 3663 "column": 1 3664 }, 3665 "end": { 3666 "line": 1, 3667 "column": 1 3668 } 3669 } 3670 }, 3671 "body": { 3672 "type": "BlockStatement", 3673 "statements": [ 3674 { 3675 "type": "IfStatement", 3676 "test": { 3677 "type": "BinaryExpression", 3678 "operator": "<", 3679 "left": { 3680 "type": "Identifier", 3681 "name": "ordinal", 3682 "decorators": [], 3683 "loc": { 3684 "start": { 3685 "line": 1, 3686 "column": 1 3687 }, 3688 "end": { 3689 "line": 1, 3690 "column": 1 3691 } 3692 } 3693 }, 3694 "right": { 3695 "type": "MemberExpression", 3696 "object": { 3697 "type": "Identifier", 3698 "name": "BoxedItemsArray", 3699 "decorators": [], 3700 "loc": { 3701 "start": { 3702 "line": 1, 3703 "column": 1 3704 }, 3705 "end": { 3706 "line": 1, 3707 "column": 1 3708 } 3709 } 3710 }, 3711 "property": { 3712 "type": "Identifier", 3713 "name": "length", 3714 "decorators": [], 3715 "loc": { 3716 "start": { 3717 "line": 1, 3718 "column": 1 3719 }, 3720 "end": { 3721 "line": 1, 3722 "column": 1 3723 } 3724 } 3725 }, 3726 "computed": false, 3727 "optional": false, 3728 "loc": { 3729 "start": { 3730 "line": 1, 3731 "column": 1 3732 }, 3733 "end": { 3734 "line": 1, 3735 "column": 1 3736 } 3737 } 3738 }, 3739 "loc": { 3740 "start": { 3741 "line": 1, 3742 "column": 1 3743 }, 3744 "end": { 3745 "line": 1, 3746 "column": 1 3747 } 3748 } 3749 }, 3750 "consequent": { 3751 "type": "ReturnStatement", 3752 "argument": { 3753 "type": "MemberExpression", 3754 "object": { 3755 "type": "Identifier", 3756 "name": "BoxedItemsArray", 3757 "decorators": [], 3758 "loc": { 3759 "start": { 3760 "line": 1, 3761 "column": 1 3762 }, 3763 "end": { 3764 "line": 1, 3765 "column": 1 3766 } 3767 } 3768 }, 3769 "property": { 3770 "type": "Identifier", 3771 "name": "ordinal", 3772 "decorators": [], 3773 "loc": { 3774 "start": { 3775 "line": 1, 3776 "column": 1 3777 }, 3778 "end": { 3779 "line": 1, 3780 "column": 1 3781 } 3782 } 3783 }, 3784 "computed": true, 3785 "optional": false, 3786 "loc": { 3787 "start": { 3788 "line": 1, 3789 "column": 1 3790 }, 3791 "end": { 3792 "line": 1, 3793 "column": 1 3794 } 3795 } 3796 }, 3797 "loc": { 3798 "start": { 3799 "line": 1, 3800 "column": 1 3801 }, 3802 "end": { 3803 "line": 1, 3804 "column": 1 3805 } 3806 } 3807 }, 3808 "alternate": null, 3809 "loc": { 3810 "start": { 3811 "line": 1, 3812 "column": 1 3813 }, 3814 "end": { 3815 "line": 1, 3816 "column": 1 3817 } 3818 } 3819 }, 3820 { 3821 "type": "ThrowStatement", 3822 "argument": { 3823 "type": "ETSNewClassInstanceExpression", 3824 "typeReference": { 3825 "type": "ETSTypeReference", 3826 "part": { 3827 "type": "ETSTypeReferencePart", 3828 "name": { 3829 "type": "Identifier", 3830 "name": "Exception", 3831 "decorators": [], 3832 "loc": { 3833 "start": { 3834 "line": 1, 3835 "column": 1 3836 }, 3837 "end": { 3838 "line": 1, 3839 "column": 1 3840 } 3841 } 3842 }, 3843 "loc": { 3844 "start": { 3845 "line": 1, 3846 "column": 1 3847 }, 3848 "end": { 3849 "line": 1, 3850 "column": 1 3851 } 3852 } 3853 }, 3854 "loc": { 3855 "start": { 3856 "line": 1, 3857 "column": 1 3858 }, 3859 "end": { 3860 "line": 1, 3861 "column": 1 3862 } 3863 } 3864 }, 3865 "arguments": [ 3866 { 3867 "type": "BinaryExpression", 3868 "operator": "+", 3869 "left": { 3870 "type": "StringLiteral", 3871 "value": "No enum constant in ArkColor with ordinal value ", 3872 "loc": { 3873 "start": { 3874 "line": 1, 3875 "column": 1 3876 }, 3877 "end": { 3878 "line": 1, 3879 "column": 1 3880 } 3881 } 3882 }, 3883 "right": { 3884 "type": "Identifier", 3885 "name": "ordinal", 3886 "decorators": [], 3887 "loc": { 3888 "start": { 3889 "line": 1, 3890 "column": 1 3891 }, 3892 "end": { 3893 "line": 1, 3894 "column": 1 3895 } 3896 } 3897 }, 3898 "loc": { 3899 "start": { 3900 "line": 1, 3901 "column": 1 3902 }, 3903 "end": { 3904 "line": 1, 3905 "column": 1 3906 } 3907 } 3908 } 3909 ], 3910 "loc": { 3911 "start": { 3912 "line": 1, 3913 "column": 1 3914 }, 3915 "end": { 3916 "line": 1, 3917 "column": 1 3918 } 3919 } 3920 }, 3921 "loc": { 3922 "start": { 3923 "line": 1, 3924 "column": 1 3925 }, 3926 "end": { 3927 "line": 1, 3928 "column": 1 3929 } 3930 } 3931 } 3932 ], 3933 "loc": { 3934 "start": { 3935 "line": 1, 3936 "column": 1 3937 }, 3938 "end": { 3939 "line": 1, 3940 "column": 1 3941 } 3942 } 3943 } 3944 "throwMarker": "throws", 3945 "loc": { 3946 "start": { 3947 "line": 1, 3948 "column": 1 3949 }, 3950 "end": { 3951 "line": 1, 3952 "column": 1 3953 } 3954 } 3955 }, 3956 "loc": { 3957 "start": { 3958 "line": 1, 3959 "column": 1 3960 }, 3961 "end": { 3962 "line": 1, 3963 "column": 1 3964 } 3965 } 3966 }, 3967 "overloads": [], 3968 "decorators": [], 3969 "loc": { 3970 "start": { 3971 "line": 1, 3972 "column": 1 3973 }, 3974 "end": { 3975 "line": 1, 3976 "column": 1 3977 } 3978 } 3979 } 3980 ], 3981 "loc": { 3982 "start": { 3983 "line": 1, 3984 "column": 1 3985 }, 3986 "end": { 3987 "line": 1, 3988 "column": 1 3989 } 3990 } 3991 }, 3992 "loc": { 3993 "start": { 3994 "line": 1, 3995 "column": 1 3996 }, 3997 "end": { 3998 "line": 1, 3999 "column": 1 4000 } 4001 } 4002 } 4003 ], 4004 "loc": { 4005 "start": { 4006 "line": 1, 4007 "column": 1 4008 }, 4009 "end": { 4010 "line": 20, 4011 "column": 1 4012 } 4013 } 4014} 4015