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": 10 614 }, 615 "end": { 616 "line": 19, 617 "column": 2 618 } 619 } 620 }, 621 "loc": { 622 "start": { 623 "line": 17, 624 "column": 10 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": 10 876 }, 877 "end": { 878 "line": 23, 879 "column": 2 880 } 881 } 882 }, 883 "loc": { 884 "start": { 885 "line": 21, 886 "column": 10 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": "NumberLiteral", 1042 "value": -1, 1043 "loc": { 1044 "start": { 1045 "line": 26, 1046 "column": 10 1047 }, 1048 "end": { 1049 "line": 26, 1050 "column": 12 1051 } 1052 } 1053 }, 1054 "loc": { 1055 "start": { 1056 "line": 26, 1057 "column": 3 1058 }, 1059 "end": { 1060 "line": 26, 1061 "column": 13 1062 } 1063 } 1064 } 1065 ], 1066 "loc": { 1067 "start": { 1068 "line": 25, 1069 "column": 33 1070 }, 1071 "end": { 1072 "line": 27, 1073 "column": 2 1074 } 1075 } 1076 }, 1077 "loc": { 1078 "start": { 1079 "line": 25, 1080 "column": 10 1081 }, 1082 "end": { 1083 "line": 27, 1084 "column": 2 1085 } 1086 } 1087 }, 1088 "loc": { 1089 "start": { 1090 "line": 25, 1091 "column": 10 1092 }, 1093 "end": { 1094 "line": 27, 1095 "column": 2 1096 } 1097 } 1098 }, 1099 "overloads": [], 1100 "decorators": [], 1101 "loc": { 1102 "start": { 1103 "line": 25, 1104 "column": 1 1105 }, 1106 "end": { 1107 "line": 27, 1108 "column": 2 1109 } 1110 } 1111 }, 1112 { 1113 "type": "MethodDefinition", 1114 "key": { 1115 "type": "Identifier", 1116 "name": "attr", 1117 "decorators": [], 1118 "loc": { 1119 "start": { 1120 "line": 29, 1121 "column": 10 1122 }, 1123 "end": { 1124 "line": 29, 1125 "column": 14 1126 } 1127 } 1128 }, 1129 "kind": "method", 1130 "accessibility": "public", 1131 "static": true, 1132 "optional": false, 1133 "computed": false, 1134 "value": { 1135 "type": "FunctionExpression", 1136 "function": { 1137 "type": "ScriptFunction", 1138 "id": { 1139 "type": "Identifier", 1140 "name": "attr", 1141 "decorators": [], 1142 "loc": { 1143 "start": { 1144 "line": 29, 1145 "column": 10 1146 }, 1147 "end": { 1148 "line": 29, 1149 "column": 14 1150 } 1151 } 1152 }, 1153 "generator": false, 1154 "async": false, 1155 "expression": false, 1156 "params": [ 1157 { 1158 "type": "ETSParameterExpression", 1159 "name": { 1160 "type": "Identifier", 1161 "name": "nameOrMap", 1162 "typeAnnotation": { 1163 "type": "ETSTypeReference", 1164 "part": { 1165 "type": "ETSTypeReferencePart", 1166 "name": { 1167 "type": "Identifier", 1168 "name": "Object", 1169 "decorators": [], 1170 "loc": { 1171 "start": { 1172 "line": 29, 1173 "column": 26 1174 }, 1175 "end": { 1176 "line": 29, 1177 "column": 32 1178 } 1179 } 1180 }, 1181 "loc": { 1182 "start": { 1183 "line": 29, 1184 "column": 26 1185 }, 1186 "end": { 1187 "line": 29, 1188 "column": 33 1189 } 1190 } 1191 }, 1192 "loc": { 1193 "start": { 1194 "line": 29, 1195 "column": 26 1196 }, 1197 "end": { 1198 "line": 29, 1199 "column": 33 1200 } 1201 } 1202 }, 1203 "decorators": [], 1204 "loc": { 1205 "start": { 1206 "line": 29, 1207 "column": 15 1208 }, 1209 "end": { 1210 "line": 29, 1211 "column": 33 1212 } 1213 } 1214 }, 1215 "loc": { 1216 "start": { 1217 "line": 29, 1218 "column": 15 1219 }, 1220 "end": { 1221 "line": 29, 1222 "column": 33 1223 } 1224 } 1225 }, 1226 { 1227 "type": "ETSParameterExpression", 1228 "name": { 1229 "type": "Identifier", 1230 "name": "value", 1231 "typeAnnotation": { 1232 "type": "ETSTypeReference", 1233 "part": { 1234 "type": "ETSTypeReferencePart", 1235 "name": { 1236 "type": "Identifier", 1237 "name": "String", 1238 "decorators": [], 1239 "loc": { 1240 "start": { 1241 "line": 29, 1242 "column": 41 1243 }, 1244 "end": { 1245 "line": 29, 1246 "column": 47 1247 } 1248 } 1249 }, 1250 "loc": { 1251 "start": { 1252 "line": 29, 1253 "column": 41 1254 }, 1255 "end": { 1256 "line": 29, 1257 "column": 48 1258 } 1259 } 1260 }, 1261 "loc": { 1262 "start": { 1263 "line": 29, 1264 "column": 41 1265 }, 1266 "end": { 1267 "line": 29, 1268 "column": 48 1269 } 1270 } 1271 }, 1272 "decorators": [], 1273 "loc": { 1274 "start": { 1275 "line": 29, 1276 "column": 34 1277 }, 1278 "end": { 1279 "line": 29, 1280 "column": 48 1281 } 1282 } 1283 }, 1284 "loc": { 1285 "start": { 1286 "line": 29, 1287 "column": 34 1288 }, 1289 "end": { 1290 "line": 29, 1291 "column": 48 1292 } 1293 } 1294 } 1295 ], 1296 "returnType": { 1297 "type": "ETSTypeReference", 1298 "part": { 1299 "type": "ETSTypeReferencePart", 1300 "name": { 1301 "type": "Identifier", 1302 "name": "Object", 1303 "decorators": [], 1304 "loc": { 1305 "start": { 1306 "line": 29, 1307 "column": 50 1308 }, 1309 "end": { 1310 "line": 29, 1311 "column": 56 1312 } 1313 } 1314 }, 1315 "loc": { 1316 "start": { 1317 "line": 29, 1318 "column": 50 1319 }, 1320 "end": { 1321 "line": 29, 1322 "column": 58 1323 } 1324 } 1325 }, 1326 "loc": { 1327 "start": { 1328 "line": 29, 1329 "column": 50 1330 }, 1331 "end": { 1332 "line": 29, 1333 "column": 58 1334 } 1335 } 1336 }, 1337 "body": { 1338 "type": "BlockStatement", 1339 "statements": [ 1340 { 1341 "type": "ReturnStatement", 1342 "argument": { 1343 "type": "ETSNewClassInstanceExpression", 1344 "typeReference": { 1345 "type": "ETSTypeReference", 1346 "part": { 1347 "type": "ETSTypeReferencePart", 1348 "name": { 1349 "type": "Identifier", 1350 "name": "Object", 1351 "decorators": [], 1352 "loc": { 1353 "start": { 1354 "line": 30, 1355 "column": 14 1356 }, 1357 "end": { 1358 "line": 30, 1359 "column": 20 1360 } 1361 } 1362 }, 1363 "loc": { 1364 "start": { 1365 "line": 30, 1366 "column": 14 1367 }, 1368 "end": { 1369 "line": 30, 1370 "column": 21 1371 } 1372 } 1373 }, 1374 "loc": { 1375 "start": { 1376 "line": 30, 1377 "column": 14 1378 }, 1379 "end": { 1380 "line": 30, 1381 "column": 21 1382 } 1383 } 1384 }, 1385 "arguments": [], 1386 "loc": { 1387 "start": { 1388 "line": 30, 1389 "column": 10 1390 }, 1391 "end": { 1392 "line": 30, 1393 "column": 23 1394 } 1395 } 1396 }, 1397 "loc": { 1398 "start": { 1399 "line": 30, 1400 "column": 3 1401 }, 1402 "end": { 1403 "line": 30, 1404 "column": 23 1405 } 1406 } 1407 } 1408 ], 1409 "loc": { 1410 "start": { 1411 "line": 29, 1412 "column": 57 1413 }, 1414 "end": { 1415 "line": 31, 1416 "column": 2 1417 } 1418 } 1419 }, 1420 "loc": { 1421 "start": { 1422 "line": 29, 1423 "column": 10 1424 }, 1425 "end": { 1426 "line": 31, 1427 "column": 2 1428 } 1429 } 1430 }, 1431 "loc": { 1432 "start": { 1433 "line": 29, 1434 "column": 10 1435 }, 1436 "end": { 1437 "line": 31, 1438 "column": 2 1439 } 1440 } 1441 }, 1442 "overloads": [], 1443 "decorators": [], 1444 "loc": { 1445 "start": { 1446 "line": 29, 1447 "column": 1 1448 }, 1449 "end": { 1450 "line": 31, 1451 "column": 2 1452 } 1453 } 1454 } 1455 ], 1456 "decorators": [], 1457 "loc": { 1458 "start": { 1459 "line": 17, 1460 "column": 1 1461 }, 1462 "end": { 1463 "line": 19, 1464 "column": 2 1465 } 1466 } 1467 }, 1468 { 1469 "type": "ClassProperty", 1470 "key": { 1471 "type": "Identifier", 1472 "name": "int2str", 1473 "decorators": [], 1474 "loc": { 1475 "start": { 1476 "line": 34, 1477 "column": 5 1478 }, 1479 "end": { 1480 "line": 34, 1481 "column": 12 1482 } 1483 } 1484 }, 1485 "accessibility": "public", 1486 "static": true, 1487 "readonly": false, 1488 "declare": false, 1489 "optional": false, 1490 "computed": false, 1491 "typeAnnotation": { 1492 "type": "ETSFunctionType", 1493 "params": [ 1494 { 1495 "type": "ETSParameterExpression", 1496 "name": { 1497 "type": "Identifier", 1498 "name": "i", 1499 "typeAnnotation": { 1500 "type": "ETSPrimitiveType", 1501 "loc": { 1502 "start": { 1503 "line": 34, 1504 "column": 18 1505 }, 1506 "end": { 1507 "line": 34, 1508 "column": 21 1509 } 1510 } 1511 }, 1512 "decorators": [], 1513 "loc": { 1514 "start": { 1515 "line": 34, 1516 "column": 15 1517 }, 1518 "end": { 1519 "line": 34, 1520 "column": 21 1521 } 1522 } 1523 }, 1524 "loc": { 1525 "start": { 1526 "line": 34, 1527 "column": 15 1528 }, 1529 "end": { 1530 "line": 34, 1531 "column": 21 1532 } 1533 } 1534 } 1535 ], 1536 "returnType": { 1537 "type": "ETSTypeReference", 1538 "part": { 1539 "type": "ETSTypeReferencePart", 1540 "name": { 1541 "type": "Identifier", 1542 "name": "String", 1543 "decorators": [], 1544 "loc": { 1545 "start": { 1546 "line": 34, 1547 "column": 26 1548 }, 1549 "end": { 1550 "line": 34, 1551 "column": 32 1552 } 1553 } 1554 }, 1555 "loc": { 1556 "start": { 1557 "line": 34, 1558 "column": 26 1559 }, 1560 "end": { 1561 "line": 34, 1562 "column": 34 1563 } 1564 } 1565 }, 1566 "loc": { 1567 "start": { 1568 "line": 34, 1569 "column": 26 1570 }, 1571 "end": { 1572 "line": 34, 1573 "column": 34 1574 } 1575 } 1576 }, 1577 "loc": { 1578 "start": { 1579 "line": 34, 1580 "column": 14 1581 }, 1582 "end": { 1583 "line": 34, 1584 "column": 34 1585 } 1586 } 1587 }, 1588 "definite": false, 1589 "decorators": [], 1590 "loc": { 1591 "start": { 1592 "line": 34, 1593 "column": 5 1594 }, 1595 "end": { 1596 "line": 36, 1597 "column": 2 1598 } 1599 } 1600 } 1601 ], 1602 "loc": { 1603 "start": { 1604 "line": 1, 1605 "column": 1 1606 }, 1607 "end": { 1608 "line": 1, 1609 "column": 1 1610 } 1611 } 1612 }, 1613 "loc": { 1614 "start": { 1615 "line": 1, 1616 "column": 1 1617 }, 1618 "end": { 1619 "line": 1, 1620 "column": 1 1621 } 1622 } 1623 } 1624 ], 1625 "loc": { 1626 "start": { 1627 "line": 1, 1628 "column": 1 1629 }, 1630 "end": { 1631 "line": 37, 1632 "column": 1 1633 } 1634 } 1635} 1636