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