1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "A", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 16, 14 "column": 7 15 }, 16 "end": { 17 "line": 16, 18 "column": 8 19 } 20 } 21 }, 22 "superClass": null, 23 "implements": [], 24 "body": [ 25 { 26 "type": "MethodDefinition", 27 "key": { 28 "type": "Identifier", 29 "name": "split", 30 "decorators": [], 31 "loc": { 32 "start": { 33 "line": 17, 34 "column": 12 35 }, 36 "end": { 37 "line": 17, 38 "column": 17 39 } 40 } 41 }, 42 "kind": "method", 43 "accessibility": "public", 44 "static": false, 45 "optional": false, 46 "computed": false, 47 "value": { 48 "type": "FunctionExpression", 49 "function": { 50 "type": "ScriptFunction", 51 "id": { 52 "type": "Identifier", 53 "name": "split", 54 "decorators": [], 55 "loc": { 56 "start": { 57 "line": 17, 58 "column": 12 59 }, 60 "end": { 61 "line": 17, 62 "column": 17 63 } 64 } 65 }, 66 "generator": false, 67 "async": false, 68 "expression": false, 69 "params": [ 70 { 71 "type": "ETSParameterExpression", 72 "name": { 73 "type": "Identifier", 74 "name": "separator", 75 "typeAnnotation": { 76 "type": "ETSUnionType", 77 "types": [ 78 { 79 "type": "ETSTypeReference", 80 "part": { 81 "type": "ETSTypeReferencePart", 82 "name": { 83 "type": "Identifier", 84 "name": "String", 85 "decorators": [], 86 "loc": { 87 "start": { 88 "line": 17, 89 "column": 30 90 }, 91 "end": { 92 "line": 17, 93 "column": 36 94 } 95 } 96 }, 97 "loc": { 98 "start": { 99 "line": 17, 100 "column": 30 101 }, 102 "end": { 103 "line": 17, 104 "column": 38 105 } 106 } 107 }, 108 "loc": { 109 "start": { 110 "line": 17, 111 "column": 30 112 }, 113 "end": { 114 "line": 17, 115 "column": 38 116 } 117 } 118 }, 119 { 120 "type": "ETSTypeReference", 121 "part": { 122 "type": "ETSTypeReferencePart", 123 "name": { 124 "type": "Identifier", 125 "name": "Int", 126 "decorators": [], 127 "loc": { 128 "start": { 129 "line": 17, 130 "column": 39 131 }, 132 "end": { 133 "line": 17, 134 "column": 42 135 } 136 } 137 }, 138 "loc": { 139 "start": { 140 "line": 17, 141 "column": 39 142 }, 143 "end": { 144 "line": 17, 145 "column": 43 146 } 147 } 148 }, 149 "loc": { 150 "start": { 151 "line": 17, 152 "column": 39 153 }, 154 "end": { 155 "line": 17, 156 "column": 43 157 } 158 } 159 } 160 ], 161 "loc": { 162 "start": { 163 "line": 17, 164 "column": 30 165 }, 166 "end": { 167 "line": 17, 168 "column": 43 169 } 170 } 171 }, 172 "decorators": [], 173 "loc": { 174 "start": { 175 "line": 17, 176 "column": 19 177 }, 178 "end": { 179 "line": 17, 180 "column": 43 181 } 182 } 183 }, 184 "loc": { 185 "start": { 186 "line": 17, 187 "column": 19 188 }, 189 "end": { 190 "line": 17, 191 "column": 43 192 } 193 } 194 }, 195 { 196 "type": "ETSParameterExpression", 197 "name": { 198 "type": "Identifier", 199 "name": "limit", 200 "typeAnnotation": { 201 "type": "ETSUnionType", 202 "types": [ 203 { 204 "type": "ETSTypeReference", 205 "part": { 206 "type": "ETSTypeReferencePart", 207 "name": { 208 "type": "Identifier", 209 "name": "Number", 210 "decorators": [], 211 "loc": { 212 "start": { 213 "line": 17, 214 "column": 52 215 }, 216 "end": { 217 "line": 17, 218 "column": 58 219 } 220 } 221 }, 222 "loc": { 223 "start": { 224 "line": 17, 225 "column": 52 226 }, 227 "end": { 228 "line": 17, 229 "column": 59 230 } 231 } 232 }, 233 "loc": { 234 "start": { 235 "line": 17, 236 "column": 52 237 }, 238 "end": { 239 "line": 17, 240 "column": 59 241 } 242 } 243 }, 244 { 245 "type": "ETSUndefinedType", 246 "loc": { 247 "start": { 248 "line": 17, 249 "column": 49 250 }, 251 "end": { 252 "line": 17, 253 "column": 50 254 } 255 } 256 } 257 ], 258 "loc": { 259 "start": { 260 "line": 17, 261 "column": 52 262 }, 263 "end": { 264 "line": 17, 265 "column": 59 266 } 267 } 268 }, 269 "decorators": [], 270 "loc": { 271 "start": { 272 "line": 17, 273 "column": 44 274 }, 275 "end": { 276 "line": 17, 277 "column": 59 278 } 279 } 280 }, 281 "loc": { 282 "start": { 283 "line": 17, 284 "column": 44 285 }, 286 "end": { 287 "line": 17, 288 "column": 59 289 } 290 } 291 } 292 ], 293 "returnType": { 294 "type": "TSArrayType", 295 "elementType": { 296 "type": "ETSTypeReference", 297 "part": { 298 "type": "ETSTypeReferencePart", 299 "name": { 300 "type": "Identifier", 301 "name": "String", 302 "decorators": [], 303 "loc": { 304 "start": { 305 "line": 17, 306 "column": 61 307 }, 308 "end": { 309 "line": 17, 310 "column": 67 311 } 312 } 313 }, 314 "loc": { 315 "start": { 316 "line": 17, 317 "column": 61 318 }, 319 "end": { 320 "line": 17, 321 "column": 68 322 } 323 } 324 }, 325 "loc": { 326 "start": { 327 "line": 17, 328 "column": 61 329 }, 330 "end": { 331 "line": 17, 332 "column": 68 333 } 334 } 335 }, 336 "loc": { 337 "start": { 338 "line": 17, 339 "column": 70 340 }, 341 "end": { 342 "line": 17, 343 "column": 71 344 } 345 } 346 }, 347 "body": { 348 "type": "BlockStatement", 349 "statements": [ 350 { 351 "type": "ReturnStatement", 352 "argument": { 353 "type": "ArrayExpression", 354 "elements": [ 355 { 356 "type": "StringLiteral", 357 "value": "", 358 "loc": { 359 "start": { 360 "line": 18, 361 "column": 17 362 }, 363 "end": { 364 "line": 18, 365 "column": 19 366 } 367 } 368 } 369 ], 370 "loc": { 371 "start": { 372 "line": 18, 373 "column": 16 374 }, 375 "end": { 376 "line": 18, 377 "column": 20 378 } 379 } 380 }, 381 "loc": { 382 "start": { 383 "line": 18, 384 "column": 9 385 }, 386 "end": { 387 "line": 18, 388 "column": 20 389 } 390 } 391 } 392 ], 393 "loc": { 394 "start": { 395 "line": 17, 396 "column": 70 397 }, 398 "end": { 399 "line": 19, 400 "column": 6 401 } 402 } 403 }, 404 "loc": { 405 "start": { 406 "line": 17, 407 "column": 18 408 }, 409 "end": { 410 "line": 19, 411 "column": 6 412 } 413 } 414 }, 415 "loc": { 416 "start": { 417 "line": 17, 418 "column": 18 419 }, 420 "end": { 421 "line": 19, 422 "column": 6 423 } 424 } 425 }, 426 "overloads": [ 427 { 428 "type": "MethodDefinition", 429 "key": { 430 "type": "Identifier", 431 "name": "split", 432 "decorators": [], 433 "loc": { 434 "start": { 435 "line": 17, 436 "column": 12 437 }, 438 "end": { 439 "line": 17, 440 "column": 17 441 } 442 } 443 }, 444 "kind": "method", 445 "accessibility": "public", 446 "static": false, 447 "optional": false, 448 "computed": false, 449 "value": { 450 "type": "FunctionExpression", 451 "function": { 452 "type": "ScriptFunction", 453 "id": { 454 "type": "Identifier", 455 "name": "split", 456 "decorators": [], 457 "loc": { 458 "start": { 459 "line": 17, 460 "column": 12 461 }, 462 "end": { 463 "line": 17, 464 "column": 17 465 } 466 } 467 }, 468 "generator": false, 469 "async": false, 470 "expression": false, 471 "params": [ 472 { 473 "type": "ETSParameterExpression", 474 "name": { 475 "type": "Identifier", 476 "name": "separator", 477 "typeAnnotation": { 478 "type": "ETSUnionType", 479 "types": [ 480 { 481 "type": "ETSTypeReference", 482 "part": { 483 "type": "ETSTypeReferencePart", 484 "name": { 485 "type": "Identifier", 486 "name": "String", 487 "decorators": [], 488 "loc": { 489 "start": { 490 "line": 17, 491 "column": 30 492 }, 493 "end": { 494 "line": 17, 495 "column": 36 496 } 497 } 498 }, 499 "loc": { 500 "start": { 501 "line": 17, 502 "column": 30 503 }, 504 "end": { 505 "line": 17, 506 "column": 38 507 } 508 } 509 }, 510 "loc": { 511 "start": { 512 "line": 17, 513 "column": 30 514 }, 515 "end": { 516 "line": 17, 517 "column": 38 518 } 519 } 520 }, 521 { 522 "type": "ETSTypeReference", 523 "part": { 524 "type": "ETSTypeReferencePart", 525 "name": { 526 "type": "Identifier", 527 "name": "Int", 528 "decorators": [], 529 "loc": { 530 "start": { 531 "line": 17, 532 "column": 39 533 }, 534 "end": { 535 "line": 17, 536 "column": 42 537 } 538 } 539 }, 540 "loc": { 541 "start": { 542 "line": 17, 543 "column": 39 544 }, 545 "end": { 546 "line": 17, 547 "column": 43 548 } 549 } 550 }, 551 "loc": { 552 "start": { 553 "line": 17, 554 "column": 39 555 }, 556 "end": { 557 "line": 17, 558 "column": 43 559 } 560 } 561 } 562 ], 563 "loc": { 564 "start": { 565 "line": 1, 566 "column": 1 567 }, 568 "end": { 569 "line": 1, 570 "column": 1 571 } 572 } 573 }, 574 "decorators": [], 575 "loc": { 576 "start": { 577 "line": 17, 578 "column": 19 579 }, 580 "end": { 581 "line": 17, 582 "column": 43 583 } 584 } 585 }, 586 "loc": { 587 "start": { 588 "line": 1, 589 "column": 1 590 }, 591 "end": { 592 "line": 1, 593 "column": 1 594 } 595 } 596 } 597 ], 598 "returnType": { 599 "type": "TSArrayType", 600 "elementType": { 601 "type": "ETSTypeReference", 602 "part": { 603 "type": "ETSTypeReferencePart", 604 "name": { 605 "type": "Identifier", 606 "name": "String", 607 "decorators": [], 608 "loc": { 609 "start": { 610 "line": 17, 611 "column": 61 612 }, 613 "end": { 614 "line": 17, 615 "column": 67 616 } 617 } 618 }, 619 "loc": { 620 "start": { 621 "line": 17, 622 "column": 61 623 }, 624 "end": { 625 "line": 17, 626 "column": 68 627 } 628 } 629 }, 630 "loc": { 631 "start": { 632 "line": 17, 633 "column": 61 634 }, 635 "end": { 636 "line": 17, 637 "column": 68 638 } 639 } 640 }, 641 "loc": { 642 "start": { 643 "line": 1, 644 "column": 1 645 }, 646 "end": { 647 "line": 1, 648 "column": 1 649 } 650 } 651 }, 652 "body": { 653 "type": "BlockStatement", 654 "statements": [ 655 { 656 "type": "ReturnStatement", 657 "argument": { 658 "type": "CallExpression", 659 "callee": { 660 "type": "MemberExpression", 661 "object": { 662 "type": "ThisExpression", 663 "loc": { 664 "start": { 665 "line": 1, 666 "column": 1 667 }, 668 "end": { 669 "line": 1, 670 "column": 1 671 } 672 } 673 }, 674 "property": { 675 "type": "Identifier", 676 "name": "split", 677 "decorators": [], 678 "loc": { 679 "start": { 680 "line": 1, 681 "column": 1 682 }, 683 "end": { 684 "line": 1, 685 "column": 1 686 } 687 } 688 }, 689 "computed": false, 690 "optional": false, 691 "loc": { 692 "start": { 693 "line": 1, 694 "column": 1 695 }, 696 "end": { 697 "line": 1, 698 "column": 1 699 } 700 } 701 }, 702 "arguments": [ 703 { 704 "type": "Identifier", 705 "name": "separator", 706 "typeAnnotation": { 707 "type": "ETSUnionType", 708 "types": [ 709 { 710 "type": "ETSTypeReference", 711 "part": { 712 "type": "ETSTypeReferencePart", 713 "name": { 714 "type": "Identifier", 715 "name": "String", 716 "decorators": [], 717 "loc": { 718 "start": { 719 "line": 17, 720 "column": 30 721 }, 722 "end": { 723 "line": 17, 724 "column": 36 725 } 726 } 727 }, 728 "loc": { 729 "start": { 730 "line": 17, 731 "column": 30 732 }, 733 "end": { 734 "line": 17, 735 "column": 38 736 } 737 } 738 }, 739 "loc": { 740 "start": { 741 "line": 17, 742 "column": 30 743 }, 744 "end": { 745 "line": 17, 746 "column": 38 747 } 748 } 749 }, 750 { 751 "type": "ETSTypeReference", 752 "part": { 753 "type": "ETSTypeReferencePart", 754 "name": { 755 "type": "Identifier", 756 "name": "Int", 757 "decorators": [], 758 "loc": { 759 "start": { 760 "line": 17, 761 "column": 39 762 }, 763 "end": { 764 "line": 17, 765 "column": 42 766 } 767 } 768 }, 769 "loc": { 770 "start": { 771 "line": 17, 772 "column": 39 773 }, 774 "end": { 775 "line": 17, 776 "column": 43 777 } 778 } 779 }, 780 "loc": { 781 "start": { 782 "line": 17, 783 "column": 39 784 }, 785 "end": { 786 "line": 17, 787 "column": 43 788 } 789 } 790 } 791 ], 792 "loc": { 793 "start": { 794 "line": 1, 795 "column": 1 796 }, 797 "end": { 798 "line": 1, 799 "column": 1 800 } 801 } 802 }, 803 "decorators": [], 804 "loc": { 805 "start": { 806 "line": 17, 807 "column": 19 808 }, 809 "end": { 810 "line": 17, 811 "column": 43 812 } 813 } 814 }, 815 { 816 "type": "UndefinedLiteral", 817 "value": undefined, 818 "loc": { 819 "start": { 820 "line": 1, 821 "column": 1 822 }, 823 "end": { 824 "line": 1, 825 "column": 1 826 } 827 } 828 } 829 ], 830 "optional": false, 831 "loc": { 832 "start": { 833 "line": 17, 834 "column": 5 835 }, 836 "end": { 837 "line": 19, 838 "column": 6 839 } 840 } 841 }, 842 "loc": { 843 "start": { 844 "line": 1, 845 "column": 1 846 }, 847 "end": { 848 "line": 1, 849 "column": 1 850 } 851 } 852 } 853 ], 854 "loc": { 855 "start": { 856 "line": 1, 857 "column": 1 858 }, 859 "end": { 860 "line": 1, 861 "column": 1 862 } 863 } 864 }, 865 "loc": { 866 "start": { 867 "line": 620, 868 "column": 1 869 }, 870 "end": { 871 "line": 620, 872 "column": 1 873 } 874 } 875 }, 876 "loc": { 877 "start": { 878 "line": 1, 879 "column": 1 880 }, 881 "end": { 882 "line": 1, 883 "column": 1 884 } 885 } 886 }, 887 "overloads": [], 888 "decorators": [], 889 "loc": { 890 "start": { 891 "line": 17, 892 "column": 5 893 }, 894 "end": { 895 "line": 1, 896 "column": 1 897 } 898 } 899 } 900 ], 901 "decorators": [], 902 "loc": { 903 "start": { 904 "line": 17, 905 "column": 5 906 }, 907 "end": { 908 "line": 19, 909 "column": 6 910 } 911 } 912 }, 913 { 914 "type": "MethodDefinition", 915 "key": { 916 "type": "Identifier", 917 "name": "constructor", 918 "decorators": [], 919 "loc": { 920 "start": { 921 "line": 1, 922 "column": 1 923 }, 924 "end": { 925 "line": 1, 926 "column": 1 927 } 928 } 929 }, 930 "kind": "constructor", 931 "static": false, 932 "optional": false, 933 "computed": false, 934 "value": { 935 "type": "FunctionExpression", 936 "function": { 937 "type": "ScriptFunction", 938 "id": { 939 "type": "Identifier", 940 "name": "constructor", 941 "decorators": [], 942 "loc": { 943 "start": { 944 "line": 1, 945 "column": 1 946 }, 947 "end": { 948 "line": 1, 949 "column": 1 950 } 951 } 952 }, 953 "generator": false, 954 "async": false, 955 "expression": false, 956 "params": [], 957 "body": { 958 "type": "BlockStatement", 959 "statements": [], 960 "loc": { 961 "start": { 962 "line": 1, 963 "column": 1 964 }, 965 "end": { 966 "line": 1, 967 "column": 1 968 } 969 } 970 }, 971 "loc": { 972 "start": { 973 "line": 1, 974 "column": 1 975 }, 976 "end": { 977 "line": 1, 978 "column": 1 979 } 980 } 981 }, 982 "loc": { 983 "start": { 984 "line": 1, 985 "column": 1 986 }, 987 "end": { 988 "line": 1, 989 "column": 1 990 } 991 } 992 }, 993 "overloads": [], 994 "decorators": [], 995 "loc": { 996 "start": { 997 "line": 20, 998 "column": 2 999 }, 1000 "end": { 1001 "line": 20, 1002 "column": 2 1003 } 1004 } 1005 } 1006 ], 1007 "loc": { 1008 "start": { 1009 "line": 16, 1010 "column": 9 1011 }, 1012 "end": { 1013 "line": 20, 1014 "column": 2 1015 } 1016 } 1017 }, 1018 "loc": { 1019 "start": { 1020 "line": 16, 1021 "column": 1 1022 }, 1023 "end": { 1024 "line": 20, 1025 "column": 2 1026 } 1027 } 1028 }, 1029 { 1030 "type": "ClassDeclaration", 1031 "definition": { 1032 "id": { 1033 "type": "Identifier", 1034 "name": "ETSGLOBAL", 1035 "decorators": [], 1036 "loc": { 1037 "start": { 1038 "line": 1, 1039 "column": 1 1040 }, 1041 "end": { 1042 "line": 1, 1043 "column": 1 1044 } 1045 } 1046 }, 1047 "superClass": null, 1048 "implements": [], 1049 "body": [ 1050 { 1051 "type": "MethodDefinition", 1052 "key": { 1053 "type": "Identifier", 1054 "name": "_$init$_", 1055 "decorators": [], 1056 "loc": { 1057 "start": { 1058 "line": 1, 1059 "column": 1 1060 }, 1061 "end": { 1062 "line": 1, 1063 "column": 1 1064 } 1065 } 1066 }, 1067 "kind": "method", 1068 "accessibility": "public", 1069 "static": true, 1070 "optional": false, 1071 "computed": false, 1072 "value": { 1073 "type": "FunctionExpression", 1074 "function": { 1075 "type": "ScriptFunction", 1076 "id": { 1077 "type": "Identifier", 1078 "name": "_$init$_", 1079 "decorators": [], 1080 "loc": { 1081 "start": { 1082 "line": 1, 1083 "column": 1 1084 }, 1085 "end": { 1086 "line": 1, 1087 "column": 1 1088 } 1089 } 1090 }, 1091 "generator": false, 1092 "async": false, 1093 "expression": false, 1094 "params": [], 1095 "body": { 1096 "type": "BlockStatement", 1097 "statements": [], 1098 "loc": { 1099 "start": { 1100 "line": 1, 1101 "column": 1 1102 }, 1103 "end": { 1104 "line": 1, 1105 "column": 1 1106 } 1107 } 1108 }, 1109 "loc": { 1110 "start": { 1111 "line": 1, 1112 "column": 1 1113 }, 1114 "end": { 1115 "line": 1, 1116 "column": 1 1117 } 1118 } 1119 }, 1120 "loc": { 1121 "start": { 1122 "line": 1, 1123 "column": 1 1124 }, 1125 "end": { 1126 "line": 1, 1127 "column": 1 1128 } 1129 } 1130 }, 1131 "overloads": [], 1132 "decorators": [], 1133 "loc": { 1134 "start": { 1135 "line": 1, 1136 "column": 1 1137 }, 1138 "end": { 1139 "line": 1, 1140 "column": 1 1141 } 1142 } 1143 }, 1144 { 1145 "type": "MethodDefinition", 1146 "key": { 1147 "type": "Identifier", 1148 "name": "main", 1149 "decorators": [], 1150 "loc": { 1151 "start": { 1152 "line": 21, 1153 "column": 10 1154 }, 1155 "end": { 1156 "line": 21, 1157 "column": 14 1158 } 1159 } 1160 }, 1161 "kind": "method", 1162 "accessibility": "public", 1163 "static": true, 1164 "optional": false, 1165 "computed": false, 1166 "value": { 1167 "type": "FunctionExpression", 1168 "function": { 1169 "type": "ScriptFunction", 1170 "id": { 1171 "type": "Identifier", 1172 "name": "main", 1173 "decorators": [], 1174 "loc": { 1175 "start": { 1176 "line": 21, 1177 "column": 10 1178 }, 1179 "end": { 1180 "line": 21, 1181 "column": 14 1182 } 1183 } 1184 }, 1185 "generator": false, 1186 "async": false, 1187 "expression": false, 1188 "params": [], 1189 "returnType": { 1190 "type": "ETSPrimitiveType", 1191 "loc": { 1192 "start": { 1193 "line": 21, 1194 "column": 20 1195 }, 1196 "end": { 1197 "line": 21, 1198 "column": 24 1199 } 1200 } 1201 }, 1202 "body": { 1203 "type": "BlockStatement", 1204 "statements": [], 1205 "loc": { 1206 "start": { 1207 "line": 21, 1208 "column": 25 1209 }, 1210 "end": { 1211 "line": 23, 1212 "column": 2 1213 } 1214 } 1215 }, 1216 "loc": { 1217 "start": { 1218 "line": 21, 1219 "column": 14 1220 }, 1221 "end": { 1222 "line": 23, 1223 "column": 2 1224 } 1225 } 1226 }, 1227 "loc": { 1228 "start": { 1229 "line": 21, 1230 "column": 14 1231 }, 1232 "end": { 1233 "line": 23, 1234 "column": 2 1235 } 1236 } 1237 }, 1238 "overloads": [], 1239 "decorators": [], 1240 "loc": { 1241 "start": { 1242 "line": 21, 1243 "column": 1 1244 }, 1245 "end": { 1246 "line": 23, 1247 "column": 2 1248 } 1249 } 1250 } 1251 ], 1252 "loc": { 1253 "start": { 1254 "line": 1, 1255 "column": 1 1256 }, 1257 "end": { 1258 "line": 1, 1259 "column": 1 1260 } 1261 } 1262 }, 1263 "loc": { 1264 "start": { 1265 "line": 1, 1266 "column": 1 1267 }, 1268 "end": { 1269 "line": 1, 1270 "column": 1 1271 } 1272 } 1273 } 1274 ], 1275 "loc": { 1276 "start": { 1277 "line": 1, 1278 "column": 1 1279 }, 1280 "end": { 1281 "line": 24, 1282 "column": 1 1283 } 1284 } 1285} 1286