1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ImportDeclaration", 6 "source": { 7 "type": "StringLiteral", 8 "value": "dynamic_js_import_tests", 9 "loc": { 10 "start": { 11 "line": 20, 12 "column": 19 13 }, 14 "end": { 15 "line": 20, 16 "column": 44 17 } 18 } 19 }, 20 "specifiers": [ 21 { 22 "type": "ImportSpecifier", 23 "local": { 24 "type": "Identifier", 25 "name": "A", 26 "decorators": [], 27 "loc": { 28 "start": { 29 "line": 20, 30 "column": 10 31 }, 32 "end": { 33 "line": 20, 34 "column": 11 35 } 36 } 37 }, 38 "imported": { 39 "type": "Identifier", 40 "name": "A", 41 "decorators": [], 42 "loc": { 43 "start": { 44 "line": 20, 45 "column": 10 46 }, 47 "end": { 48 "line": 20, 49 "column": 11 50 } 51 } 52 }, 53 "loc": { 54 "start": { 55 "line": 20, 56 "column": 10 57 }, 58 "end": { 59 "line": 20, 60 "column": 11 61 } 62 } 63 } 64 ], 65 "loc": { 66 "start": { 67 "line": 20, 68 "column": 1 69 }, 70 "end": { 71 "line": 20, 72 "column": 44 73 } 74 } 75 }, 76 { 77 "type": "ClassDeclaration", 78 "definition": { 79 "id": { 80 "type": "Identifier", 81 "name": "ETSGLOBAL", 82 "decorators": [], 83 "loc": { 84 "start": { 85 "line": 1, 86 "column": 1 87 }, 88 "end": { 89 "line": 1, 90 "column": 1 91 } 92 } 93 }, 94 "superClass": null, 95 "implements": [], 96 "body": [ 97 { 98 "type": "MethodDefinition", 99 "key": { 100 "type": "Identifier", 101 "name": "_$init$_", 102 "decorators": [], 103 "loc": { 104 "start": { 105 "line": 1, 106 "column": 1 107 }, 108 "end": { 109 "line": 1, 110 "column": 1 111 } 112 } 113 }, 114 "kind": "method", 115 "accessibility": "public", 116 "static": true, 117 "optional": false, 118 "computed": false, 119 "value": { 120 "type": "FunctionExpression", 121 "function": { 122 "type": "ScriptFunction", 123 "id": { 124 "type": "Identifier", 125 "name": "_$init$_", 126 "decorators": [], 127 "loc": { 128 "start": { 129 "line": 1, 130 "column": 1 131 }, 132 "end": { 133 "line": 1, 134 "column": 1 135 } 136 } 137 }, 138 "generator": false, 139 "async": false, 140 "expression": false, 141 "params": [], 142 "body": { 143 "type": "BlockStatement", 144 "statements": [], 145 "loc": { 146 "start": { 147 "line": 1, 148 "column": 1 149 }, 150 "end": { 151 "line": 1, 152 "column": 1 153 } 154 } 155 }, 156 "loc": { 157 "start": { 158 "line": 1, 159 "column": 1 160 }, 161 "end": { 162 "line": 1, 163 "column": 1 164 } 165 } 166 }, 167 "loc": { 168 "start": { 169 "line": 1, 170 "column": 1 171 }, 172 "end": { 173 "line": 1, 174 "column": 1 175 } 176 } 177 }, 178 "overloads": [], 179 "decorators": [], 180 "loc": { 181 "start": { 182 "line": 1, 183 "column": 1 184 }, 185 "end": { 186 "line": 1, 187 "column": 1 188 } 189 } 190 }, 191 { 192 "type": "MethodDefinition", 193 "key": { 194 "type": "Identifier", 195 "name": "foo", 196 "decorators": [], 197 "loc": { 198 "start": { 199 "line": 22, 200 "column": 10 201 }, 202 "end": { 203 "line": 22, 204 "column": 13 205 } 206 } 207 }, 208 "kind": "method", 209 "accessibility": "public", 210 "static": true, 211 "optional": false, 212 "computed": false, 213 "value": { 214 "type": "FunctionExpression", 215 "function": { 216 "type": "ScriptFunction", 217 "id": { 218 "type": "Identifier", 219 "name": "foo", 220 "decorators": [], 221 "loc": { 222 "start": { 223 "line": 22, 224 "column": 10 225 }, 226 "end": { 227 "line": 22, 228 "column": 13 229 } 230 } 231 }, 232 "generator": false, 233 "async": false, 234 "expression": false, 235 "params": [], 236 "returnType": { 237 "type": "ETSPrimitiveType", 238 "loc": { 239 "start": { 240 "line": 22, 241 "column": 17 242 }, 243 "end": { 244 "line": 22, 245 "column": 20 246 } 247 } 248 }, 249 "body": { 250 "type": "BlockStatement", 251 "statements": [ 252 { 253 "type": "VariableDeclaration", 254 "declarations": [ 255 { 256 "type": "VariableDeclarator", 257 "id": { 258 "type": "Identifier", 259 "name": "a", 260 "decorators": [], 261 "loc": { 262 "start": { 263 "line": 23, 264 "column": 9 265 }, 266 "end": { 267 "line": 23, 268 "column": 10 269 } 270 } 271 }, 272 "init": { 273 "type": "ETSNewClassInstanceExpression", 274 "typeReference": { 275 "type": "ETSTypeReference", 276 "part": { 277 "type": "ETSTypeReferencePart", 278 "name": { 279 "type": "Identifier", 280 "name": "A", 281 "decorators": [], 282 "loc": { 283 "start": { 284 "line": 23, 285 "column": 17 286 }, 287 "end": { 288 "line": 23, 289 "column": 18 290 } 291 } 292 }, 293 "loc": { 294 "start": { 295 "line": 23, 296 "column": 17 297 }, 298 "end": { 299 "line": 23, 300 "column": 19 301 } 302 } 303 }, 304 "loc": { 305 "start": { 306 "line": 23, 307 "column": 17 308 }, 309 "end": { 310 "line": 23, 311 "column": 19 312 } 313 } 314 }, 315 "arguments": [], 316 "loc": { 317 "start": { 318 "line": 23, 319 "column": 13 320 }, 321 "end": { 322 "line": 23, 323 "column": 21 324 } 325 } 326 }, 327 "loc": { 328 "start": { 329 "line": 23, 330 "column": 9 331 }, 332 "end": { 333 "line": 23, 334 "column": 21 335 } 336 } 337 } 338 ], 339 "kind": "let", 340 "loc": { 341 "start": { 342 "line": 23, 343 "column": 5 344 }, 345 "end": { 346 "line": 23, 347 "column": 21 348 } 349 } 350 }, 351 { 352 "type": "VariableDeclaration", 353 "declarations": [ 354 { 355 "type": "VariableDeclarator", 356 "id": { 357 "type": "Identifier", 358 "name": "f", 359 "typeAnnotation": { 360 "type": "ETSTypeReference", 361 "part": { 362 "type": "ETSTypeReferencePart", 363 "name": { 364 "type": "Identifier", 365 "name": "JSValue", 366 "decorators": [], 367 "loc": { 368 "start": { 369 "line": 24, 370 "column": 12 371 }, 372 "end": { 373 "line": 24, 374 "column": 19 375 } 376 } 377 }, 378 "loc": { 379 "start": { 380 "line": 24, 381 "column": 12 382 }, 383 "end": { 384 "line": 24, 385 "column": 21 386 } 387 } 388 }, 389 "loc": { 390 "start": { 391 "line": 24, 392 "column": 12 393 }, 394 "end": { 395 "line": 24, 396 "column": 21 397 } 398 } 399 }, 400 "decorators": [], 401 "loc": { 402 "start": { 403 "line": 24, 404 "column": 9 405 }, 406 "end": { 407 "line": 24, 408 "column": 10 409 } 410 } 411 }, 412 "init": { 413 "type": "ArrowFunctionExpression", 414 "function": { 415 "type": "ScriptFunction", 416 "id": null, 417 "generator": false, 418 "async": false, 419 "expression": false, 420 "params": [ 421 { 422 "type": "ETSParameterExpression", 423 "name": { 424 "type": "Identifier", 425 "name": "x", 426 "typeAnnotation": { 427 "type": "ETSPrimitiveType", 428 "loc": { 429 "start": { 430 "line": 24, 431 "column": 26 432 }, 433 "end": { 434 "line": 24, 435 "column": 29 436 } 437 } 438 }, 439 "decorators": [], 440 "loc": { 441 "start": { 442 "line": 24, 443 "column": 23 444 }, 445 "end": { 446 "line": 24, 447 "column": 29 448 } 449 } 450 }, 451 "loc": { 452 "start": { 453 "line": 24, 454 "column": 23 455 }, 456 "end": { 457 "line": 24, 458 "column": 29 459 } 460 } 461 }, 462 { 463 "type": "ETSParameterExpression", 464 "name": { 465 "type": "Identifier", 466 "name": "y", 467 "typeAnnotation": { 468 "type": "ETSPrimitiveType", 469 "loc": { 470 "start": { 471 "line": 24, 472 "column": 34 473 }, 474 "end": { 475 "line": 24, 476 "column": 37 477 } 478 } 479 }, 480 "decorators": [], 481 "loc": { 482 "start": { 483 "line": 24, 484 "column": 31 485 }, 486 "end": { 487 "line": 24, 488 "column": 37 489 } 490 } 491 }, 492 "loc": { 493 "start": { 494 "line": 24, 495 "column": 31 496 }, 497 "end": { 498 "line": 24, 499 "column": 37 500 } 501 } 502 } 503 ], 504 "returnType": { 505 "type": "ETSPrimitiveType", 506 "loc": { 507 "start": { 508 "line": 24, 509 "column": 40 510 }, 511 "end": { 512 "line": 24, 513 "column": 43 514 } 515 } 516 }, 517 "body": { 518 "type": "BlockStatement", 519 "statements": [ 520 { 521 "type": "ReturnStatement", 522 "argument": { 523 "type": "BinaryExpression", 524 "operator": "+", 525 "left": { 526 "type": "BinaryExpression", 527 "operator": "*", 528 "left": { 529 "type": "Identifier", 530 "name": "x", 531 "decorators": [], 532 "loc": { 533 "start": { 534 "line": 24, 535 "column": 56 536 }, 537 "end": { 538 "line": 24, 539 "column": 57 540 } 541 } 542 }, 543 "right": { 544 "type": "Identifier", 545 "name": "x", 546 "decorators": [], 547 "loc": { 548 "start": { 549 "line": 24, 550 "column": 60 551 }, 552 "end": { 553 "line": 24, 554 "column": 61 555 } 556 } 557 }, 558 "loc": { 559 "start": { 560 "line": 24, 561 "column": 56 562 }, 563 "end": { 564 "line": 24, 565 "column": 61 566 } 567 } 568 }, 569 "right": { 570 "type": "BinaryExpression", 571 "operator": "*", 572 "left": { 573 "type": "Identifier", 574 "name": "y", 575 "decorators": [], 576 "loc": { 577 "start": { 578 "line": 24, 579 "column": 64 580 }, 581 "end": { 582 "line": 24, 583 "column": 65 584 } 585 } 586 }, 587 "right": { 588 "type": "Identifier", 589 "name": "y", 590 "decorators": [], 591 "loc": { 592 "start": { 593 "line": 24, 594 "column": 68 595 }, 596 "end": { 597 "line": 24, 598 "column": 69 599 } 600 } 601 }, 602 "loc": { 603 "start": { 604 "line": 24, 605 "column": 64 606 }, 607 "end": { 608 "line": 24, 609 "column": 69 610 } 611 } 612 }, 613 "loc": { 614 "start": { 615 "line": 24, 616 "column": 56 617 }, 618 "end": { 619 "line": 24, 620 "column": 69 621 } 622 } 623 }, 624 "loc": { 625 "start": { 626 "line": 24, 627 "column": 49 628 }, 629 "end": { 630 "line": 24, 631 "column": 70 632 } 633 } 634 } 635 ], 636 "loc": { 637 "start": { 638 "line": 24, 639 "column": 47 640 }, 641 "end": { 642 "line": 24, 643 "column": 72 644 } 645 } 646 }, 647 "loc": { 648 "start": { 649 "line": 24, 650 "column": 22 651 }, 652 "end": { 653 "line": 24, 654 "column": 72 655 } 656 } 657 }, 658 "loc": { 659 "start": { 660 "line": 24, 661 "column": 22 662 }, 663 "end": { 664 "line": 24, 665 "column": 72 666 } 667 } 668 }, 669 "loc": { 670 "start": { 671 "line": 24, 672 "column": 9 673 }, 674 "end": { 675 "line": 24, 676 "column": 72 677 } 678 } 679 } 680 ], 681 "kind": "let", 682 "loc": { 683 "start": { 684 "line": 24, 685 "column": 5 686 }, 687 "end": { 688 "line": 24, 689 "column": 72 690 } 691 } 692 }, 693 { 694 "type": "VariableDeclaration", 695 "declarations": [ 696 { 697 "type": "VariableDeclarator", 698 "id": { 699 "type": "Identifier", 700 "name": "res", 701 "decorators": [], 702 "loc": { 703 "start": { 704 "line": 25, 705 "column": 9 706 }, 707 "end": { 708 "line": 25, 709 "column": 12 710 } 711 } 712 }, 713 "init": { 714 "type": "TSAsExpression", 715 "expression": { 716 "type": "CallExpression", 717 "callee": { 718 "type": "MemberExpression", 719 "object": { 720 "type": "Identifier", 721 "name": "a", 722 "decorators": [], 723 "loc": { 724 "start": { 725 "line": 25, 726 "column": 15 727 }, 728 "end": { 729 "line": 25, 730 "column": 16 731 } 732 } 733 }, 734 "property": { 735 "type": "Identifier", 736 "name": "bar", 737 "decorators": [], 738 "loc": { 739 "start": { 740 "line": 25, 741 "column": 17 742 }, 743 "end": { 744 "line": 25, 745 "column": 20 746 } 747 } 748 }, 749 "computed": false, 750 "optional": false, 751 "loc": { 752 "start": { 753 "line": 25, 754 "column": 15 755 }, 756 "end": { 757 "line": 25, 758 "column": 20 759 } 760 } 761 }, 762 "arguments": [ 763 { 764 "type": "Identifier", 765 "name": "f", 766 "decorators": [], 767 "loc": { 768 "start": { 769 "line": 25, 770 "column": 21 771 }, 772 "end": { 773 "line": 25, 774 "column": 22 775 } 776 } 777 }, 778 { 779 "type": "NumberLiteral", 780 "value": 3, 781 "loc": { 782 "start": { 783 "line": 25, 784 "column": 24 785 }, 786 "end": { 787 "line": 25, 788 "column": 25 789 } 790 } 791 }, 792 { 793 "type": "NumberLiteral", 794 "value": 4, 795 "loc": { 796 "start": { 797 "line": 25, 798 "column": 27 799 }, 800 "end": { 801 "line": 25, 802 "column": 28 803 } 804 } 805 } 806 ], 807 "optional": false, 808 "loc": { 809 "start": { 810 "line": 25, 811 "column": 15 812 }, 813 "end": { 814 "line": 25, 815 "column": 29 816 } 817 } 818 }, 819 "typeAnnotation": { 820 "type": "ETSPrimitiveType", 821 "loc": { 822 "start": { 823 "line": 25, 824 "column": 33 825 }, 826 "end": { 827 "line": 25, 828 "column": 36 829 } 830 } 831 }, 832 "loc": { 833 "start": { 834 "line": 25, 835 "column": 15 836 }, 837 "end": { 838 "line": 25, 839 "column": 29 840 } 841 } 842 }, 843 "loc": { 844 "start": { 845 "line": 25, 846 "column": 9 847 }, 848 "end": { 849 "line": 25, 850 "column": 29 851 } 852 } 853 } 854 ], 855 "kind": "let", 856 "loc": { 857 "start": { 858 "line": 25, 859 "column": 5 860 }, 861 "end": { 862 "line": 25, 863 "column": 37 864 } 865 } 866 }, 867 { 868 "type": "ReturnStatement", 869 "argument": { 870 "type": "Identifier", 871 "name": "res", 872 "decorators": [], 873 "loc": { 874 "start": { 875 "line": 26, 876 "column": 12 877 }, 878 "end": { 879 "line": 26, 880 "column": 15 881 } 882 } 883 }, 884 "loc": { 885 "start": { 886 "line": 26, 887 "column": 5 888 }, 889 "end": { 890 "line": 26, 891 "column": 16 892 } 893 } 894 } 895 ], 896 "loc": { 897 "start": { 898 "line": 22, 899 "column": 21 900 }, 901 "end": { 902 "line": 27, 903 "column": 2 904 } 905 } 906 }, 907 "loc": { 908 "start": { 909 "line": 22, 910 "column": 13 911 }, 912 "end": { 913 "line": 27, 914 "column": 2 915 } 916 } 917 }, 918 "loc": { 919 "start": { 920 "line": 22, 921 "column": 13 922 }, 923 "end": { 924 "line": 27, 925 "column": 2 926 } 927 } 928 }, 929 "overloads": [], 930 "decorators": [], 931 "loc": { 932 "start": { 933 "line": 22, 934 "column": 1 935 }, 936 "end": { 937 "line": 27, 938 "column": 2 939 } 940 } 941 } 942 ], 943 "loc": { 944 "start": { 945 "line": 1, 946 "column": 1 947 }, 948 "end": { 949 "line": 1, 950 "column": 1 951 } 952 } 953 }, 954 "loc": { 955 "start": { 956 "line": 1, 957 "column": 1 958 }, 959 "end": { 960 "line": 1, 961 "column": 1 962 } 963 } 964 }, 965 { 966 "type": "ClassDeclaration", 967 "definition": { 968 "id": { 969 "type": "Identifier", 970 "name": "$jsnew", 971 "decorators": [], 972 "loc": { 973 "start": { 974 "line": 1, 975 "column": 1 976 }, 977 "end": { 978 "line": 1, 979 "column": 1 980 } 981 } 982 }, 983 "superClass": null, 984 "implements": [], 985 "body": [ 986 { 987 "type": "ClassProperty", 988 "key": { 989 "type": "Identifier", 990 "name": "qname_start_from", 991 "decorators": [], 992 "loc": { 993 "start": { 994 "line": 1, 995 "column": 1 996 }, 997 "end": { 998 "line": 1, 999 "column": 1 1000 } 1001 } 1002 }, 1003 "accessibility": "private", 1004 "static": true, 1005 "readonly": true, 1006 "declare": false, 1007 "optional": false, 1008 "computed": false, 1009 "typeAnnotation": { 1010 "type": "ETSPrimitiveType", 1011 "loc": { 1012 "start": { 1013 "line": 1, 1014 "column": 1 1015 }, 1016 "end": { 1017 "line": 1, 1018 "column": 1 1019 } 1020 } 1021 }, 1022 "definite": false, 1023 "decorators": [], 1024 "loc": { 1025 "start": { 1026 "line": 1, 1027 "column": 1 1028 }, 1029 "end": { 1030 "line": 1, 1031 "column": 1 1032 } 1033 } 1034 }, 1035 { 1036 "type": "ClassStaticBlock", 1037 "value": { 1038 "type": "FunctionExpression", 1039 "function": { 1040 "type": "ScriptFunction", 1041 "id": { 1042 "type": "Identifier", 1043 "name": "<cctor>", 1044 "decorators": [], 1045 "loc": { 1046 "start": { 1047 "line": 1, 1048 "column": 1 1049 }, 1050 "end": { 1051 "line": 1, 1052 "column": 1 1053 } 1054 } 1055 }, 1056 "generator": false, 1057 "async": false, 1058 "expression": true, 1059 "params": [], 1060 "body": { 1061 "type": "BlockStatement", 1062 "statements": [ 1063 { 1064 "type": "ExpressionStatement", 1065 "expression": { 1066 "type": "CallExpression", 1067 "callee": { 1068 "type": "MemberExpression", 1069 "object": { 1070 "type": "Identifier", 1071 "name": "JSRuntime", 1072 "decorators": [], 1073 "loc": { 1074 "start": { 1075 "line": 1, 1076 "column": 1 1077 }, 1078 "end": { 1079 "line": 1, 1080 "column": 1 1081 } 1082 } 1083 }, 1084 "property": { 1085 "type": "Identifier", 1086 "name": "__initJSNewClass", 1087 "decorators": [], 1088 "loc": { 1089 "start": { 1090 "line": 1, 1091 "column": 1 1092 }, 1093 "end": { 1094 "line": 1, 1095 "column": 1 1096 } 1097 } 1098 }, 1099 "computed": false, 1100 "optional": false, 1101 "loc": { 1102 "start": { 1103 "line": 1, 1104 "column": 1 1105 }, 1106 "end": { 1107 "line": 1, 1108 "column": 1 1109 } 1110 } 1111 }, 1112 "arguments": [ 1113 { 1114 "type": "StringLiteral", 1115 "value": "L$jsnew;", 1116 "loc": { 1117 "start": { 1118 "line": 1, 1119 "column": 1 1120 }, 1121 "end": { 1122 "line": 1, 1123 "column": 1 1124 } 1125 } 1126 } 1127 ], 1128 "optional": false, 1129 "loc": { 1130 "start": { 1131 "line": 1, 1132 "column": 1 1133 }, 1134 "end": { 1135 "line": 1, 1136 "column": 1 1137 } 1138 } 1139 }, 1140 "loc": { 1141 "start": { 1142 "line": 1, 1143 "column": 1 1144 }, 1145 "end": { 1146 "line": 1, 1147 "column": 1 1148 } 1149 } 1150 } 1151 ], 1152 "loc": { 1153 "start": { 1154 "line": 1, 1155 "column": 1 1156 }, 1157 "end": { 1158 "line": 1, 1159 "column": 1 1160 } 1161 } 1162 }, 1163 "loc": { 1164 "start": { 1165 "line": 1, 1166 "column": 1 1167 }, 1168 "end": { 1169 "line": 1, 1170 "column": 1 1171 } 1172 } 1173 }, 1174 "loc": { 1175 "start": { 1176 "line": 1, 1177 "column": 1 1178 }, 1179 "end": { 1180 "line": 1, 1181 "column": 1 1182 } 1183 } 1184 }, 1185 "loc": { 1186 "start": { 1187 "line": 1, 1188 "column": 1 1189 }, 1190 "end": { 1191 "line": 1, 1192 "column": 1 1193 } 1194 } 1195 }, 1196 { 1197 "type": "MethodDefinition", 1198 "key": { 1199 "type": "Identifier", 1200 "name": "invoke", 1201 "decorators": [], 1202 "loc": { 1203 "start": { 1204 "line": 1, 1205 "column": 1 1206 }, 1207 "end": { 1208 "line": 1, 1209 "column": 1 1210 } 1211 } 1212 }, 1213 "kind": "method", 1214 "accessibility": "public", 1215 "static": true, 1216 "optional": false, 1217 "computed": false, 1218 "value": { 1219 "type": "FunctionExpression", 1220 "function": { 1221 "type": "ScriptFunction", 1222 "id": { 1223 "type": "Identifier", 1224 "name": "invoke", 1225 "decorators": [], 1226 "loc": { 1227 "start": { 1228 "line": 1, 1229 "column": 1 1230 }, 1231 "end": { 1232 "line": 1, 1233 "column": 1 1234 } 1235 } 1236 }, 1237 "generator": false, 1238 "async": false, 1239 "expression": false, 1240 "params": [ 1241 { 1242 "type": "ETSParameterExpression", 1243 "name": { 1244 "type": "Identifier", 1245 "name": "obj", 1246 "typeAnnotation": { 1247 "type": "OpaqueType", 1248 "loc": { 1249 "start": { 1250 "line": 1, 1251 "column": 1 1252 }, 1253 "end": { 1254 "line": 1, 1255 "column": 1 1256 } 1257 } 1258 }, 1259 "decorators": [], 1260 "loc": { 1261 "start": { 1262 "line": 1, 1263 "column": 1 1264 }, 1265 "end": { 1266 "line": 1, 1267 "column": 1 1268 } 1269 } 1270 }, 1271 "loc": { 1272 "start": { 1273 "line": 1, 1274 "column": 1 1275 }, 1276 "end": { 1277 "line": 1, 1278 "column": 1 1279 } 1280 } 1281 }, 1282 { 1283 "type": "ETSParameterExpression", 1284 "name": { 1285 "type": "Identifier", 1286 "name": "qname_start", 1287 "typeAnnotation": { 1288 "type": "ETSPrimitiveType", 1289 "loc": { 1290 "start": { 1291 "line": 1, 1292 "column": 1 1293 }, 1294 "end": { 1295 "line": 1, 1296 "column": 1 1297 } 1298 } 1299 }, 1300 "decorators": [], 1301 "loc": { 1302 "start": { 1303 "line": 1, 1304 "column": 1 1305 }, 1306 "end": { 1307 "line": 1, 1308 "column": 1 1309 } 1310 } 1311 }, 1312 "loc": { 1313 "start": { 1314 "line": 1, 1315 "column": 1 1316 }, 1317 "end": { 1318 "line": 1, 1319 "column": 1 1320 } 1321 } 1322 }, 1323 { 1324 "type": "ETSParameterExpression", 1325 "name": { 1326 "type": "Identifier", 1327 "name": "qname_len", 1328 "typeAnnotation": { 1329 "type": "ETSPrimitiveType", 1330 "loc": { 1331 "start": { 1332 "line": 1, 1333 "column": 1 1334 }, 1335 "end": { 1336 "line": 1, 1337 "column": 1 1338 } 1339 } 1340 }, 1341 "decorators": [], 1342 "loc": { 1343 "start": { 1344 "line": 1, 1345 "column": 1 1346 }, 1347 "end": { 1348 "line": 1, 1349 "column": 1 1350 } 1351 } 1352 }, 1353 "loc": { 1354 "start": { 1355 "line": 1, 1356 "column": 1 1357 }, 1358 "end": { 1359 "line": 1, 1360 "column": 1 1361 } 1362 } 1363 } 1364 ], 1365 "returnType": { 1366 "type": "OpaqueType", 1367 "loc": { 1368 "start": { 1369 "line": 1, 1370 "column": 1 1371 }, 1372 "end": { 1373 "line": 1, 1374 "column": 1 1375 } 1376 } 1377 }, 1378 "loc": { 1379 "start": { 1380 "line": 1, 1381 "column": 1 1382 }, 1383 "end": { 1384 "line": 1, 1385 "column": 1 1386 } 1387 } 1388 }, 1389 "loc": { 1390 "start": { 1391 "line": 1, 1392 "column": 1 1393 }, 1394 "end": { 1395 "line": 1, 1396 "column": 1 1397 } 1398 } 1399 }, 1400 "overloads": [], 1401 "decorators": [], 1402 "loc": { 1403 "start": { 1404 "line": 1, 1405 "column": 1 1406 }, 1407 "end": { 1408 "line": 1, 1409 "column": 1 1410 } 1411 } 1412 } 1413 ], 1414 "loc": { 1415 "start": { 1416 "line": 1, 1417 "column": 1 1418 }, 1419 "end": { 1420 "line": 1, 1421 "column": 1 1422 } 1423 } 1424 }, 1425 "loc": { 1426 "start": { 1427 "line": 1, 1428 "column": 1 1429 }, 1430 "end": { 1431 "line": 1, 1432 "column": 1 1433 } 1434 } 1435 }, 1436 { 1437 "type": "ClassDeclaration", 1438 "definition": { 1439 "id": { 1440 "type": "Identifier", 1441 "name": "$jscall", 1442 "decorators": [], 1443 "loc": { 1444 "start": { 1445 "line": 1, 1446 "column": 1 1447 }, 1448 "end": { 1449 "line": 1, 1450 "column": 1 1451 } 1452 } 1453 }, 1454 "superClass": null, 1455 "implements": [], 1456 "body": [ 1457 { 1458 "type": "ClassProperty", 1459 "key": { 1460 "type": "Identifier", 1461 "name": "qname_start_from", 1462 "decorators": [], 1463 "loc": { 1464 "start": { 1465 "line": 1, 1466 "column": 1 1467 }, 1468 "end": { 1469 "line": 1, 1470 "column": 1 1471 } 1472 } 1473 }, 1474 "accessibility": "private", 1475 "static": true, 1476 "readonly": true, 1477 "declare": false, 1478 "optional": false, 1479 "computed": false, 1480 "typeAnnotation": { 1481 "type": "ETSPrimitiveType", 1482 "loc": { 1483 "start": { 1484 "line": 1, 1485 "column": 1 1486 }, 1487 "end": { 1488 "line": 1, 1489 "column": 1 1490 } 1491 } 1492 }, 1493 "definite": false, 1494 "decorators": [], 1495 "loc": { 1496 "start": { 1497 "line": 1, 1498 "column": 1 1499 }, 1500 "end": { 1501 "line": 1, 1502 "column": 1 1503 } 1504 } 1505 }, 1506 { 1507 "type": "ClassStaticBlock", 1508 "value": { 1509 "type": "FunctionExpression", 1510 "function": { 1511 "type": "ScriptFunction", 1512 "id": { 1513 "type": "Identifier", 1514 "name": "<cctor>", 1515 "decorators": [], 1516 "loc": { 1517 "start": { 1518 "line": 1, 1519 "column": 1 1520 }, 1521 "end": { 1522 "line": 1, 1523 "column": 1 1524 } 1525 } 1526 }, 1527 "generator": false, 1528 "async": false, 1529 "expression": true, 1530 "params": [], 1531 "body": { 1532 "type": "BlockStatement", 1533 "statements": [ 1534 { 1535 "type": "ExpressionStatement", 1536 "expression": { 1537 "type": "CallExpression", 1538 "callee": { 1539 "type": "MemberExpression", 1540 "object": { 1541 "type": "Identifier", 1542 "name": "JSRuntime", 1543 "decorators": [], 1544 "loc": { 1545 "start": { 1546 "line": 1, 1547 "column": 1 1548 }, 1549 "end": { 1550 "line": 1, 1551 "column": 1 1552 } 1553 } 1554 }, 1555 "property": { 1556 "type": "Identifier", 1557 "name": "__initJSCallClass", 1558 "decorators": [], 1559 "loc": { 1560 "start": { 1561 "line": 1, 1562 "column": 1 1563 }, 1564 "end": { 1565 "line": 1, 1566 "column": 1 1567 } 1568 } 1569 }, 1570 "computed": false, 1571 "optional": false, 1572 "loc": { 1573 "start": { 1574 "line": 1, 1575 "column": 1 1576 }, 1577 "end": { 1578 "line": 1, 1579 "column": 1 1580 } 1581 } 1582 }, 1583 "arguments": [ 1584 { 1585 "type": "StringLiteral", 1586 "value": "L$jscall;", 1587 "loc": { 1588 "start": { 1589 "line": 1, 1590 "column": 1 1591 }, 1592 "end": { 1593 "line": 1, 1594 "column": 1 1595 } 1596 } 1597 } 1598 ], 1599 "optional": false, 1600 "loc": { 1601 "start": { 1602 "line": 1, 1603 "column": 1 1604 }, 1605 "end": { 1606 "line": 1, 1607 "column": 1 1608 } 1609 } 1610 }, 1611 "loc": { 1612 "start": { 1613 "line": 1, 1614 "column": 1 1615 }, 1616 "end": { 1617 "line": 1, 1618 "column": 1 1619 } 1620 } 1621 } 1622 ], 1623 "loc": { 1624 "start": { 1625 "line": 1, 1626 "column": 1 1627 }, 1628 "end": { 1629 "line": 1, 1630 "column": 1 1631 } 1632 } 1633 }, 1634 "loc": { 1635 "start": { 1636 "line": 1, 1637 "column": 1 1638 }, 1639 "end": { 1640 "line": 1, 1641 "column": 1 1642 } 1643 } 1644 }, 1645 "loc": { 1646 "start": { 1647 "line": 1, 1648 "column": 1 1649 }, 1650 "end": { 1651 "line": 1, 1652 "column": 1 1653 } 1654 } 1655 }, 1656 "loc": { 1657 "start": { 1658 "line": 1, 1659 "column": 1 1660 }, 1661 "end": { 1662 "line": 1, 1663 "column": 1 1664 } 1665 } 1666 }, 1667 { 1668 "type": "MethodDefinition", 1669 "key": { 1670 "type": "Identifier", 1671 "name": "invoke", 1672 "decorators": [], 1673 "loc": { 1674 "start": { 1675 "line": 1, 1676 "column": 1 1677 }, 1678 "end": { 1679 "line": 1, 1680 "column": 1 1681 } 1682 } 1683 }, 1684 "kind": "method", 1685 "accessibility": "public", 1686 "static": true, 1687 "optional": false, 1688 "computed": false, 1689 "value": { 1690 "type": "FunctionExpression", 1691 "function": { 1692 "type": "ScriptFunction", 1693 "id": { 1694 "type": "Identifier", 1695 "name": "invoke", 1696 "decorators": [], 1697 "loc": { 1698 "start": { 1699 "line": 1, 1700 "column": 1 1701 }, 1702 "end": { 1703 "line": 1, 1704 "column": 1 1705 } 1706 } 1707 }, 1708 "generator": false, 1709 "async": false, 1710 "expression": false, 1711 "params": [ 1712 { 1713 "type": "ETSParameterExpression", 1714 "name": { 1715 "type": "Identifier", 1716 "name": "obj", 1717 "typeAnnotation": { 1718 "type": "OpaqueType", 1719 "loc": { 1720 "start": { 1721 "line": 1, 1722 "column": 1 1723 }, 1724 "end": { 1725 "line": 1, 1726 "column": 1 1727 } 1728 } 1729 }, 1730 "decorators": [], 1731 "loc": { 1732 "start": { 1733 "line": 1, 1734 "column": 1 1735 }, 1736 "end": { 1737 "line": 1, 1738 "column": 1 1739 } 1740 } 1741 }, 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": "ETSParameterExpression", 1755 "name": { 1756 "type": "Identifier", 1757 "name": "qname_start", 1758 "typeAnnotation": { 1759 "type": "ETSPrimitiveType", 1760 "loc": { 1761 "start": { 1762 "line": 1, 1763 "column": 1 1764 }, 1765 "end": { 1766 "line": 1, 1767 "column": 1 1768 } 1769 } 1770 }, 1771 "decorators": [], 1772 "loc": { 1773 "start": { 1774 "line": 1, 1775 "column": 1 1776 }, 1777 "end": { 1778 "line": 1, 1779 "column": 1 1780 } 1781 } 1782 }, 1783 "loc": { 1784 "start": { 1785 "line": 1, 1786 "column": 1 1787 }, 1788 "end": { 1789 "line": 1, 1790 "column": 1 1791 } 1792 } 1793 }, 1794 { 1795 "type": "ETSParameterExpression", 1796 "name": { 1797 "type": "Identifier", 1798 "name": "qname_len", 1799 "typeAnnotation": { 1800 "type": "ETSPrimitiveType", 1801 "loc": { 1802 "start": { 1803 "line": 1, 1804 "column": 1 1805 }, 1806 "end": { 1807 "line": 1, 1808 "column": 1 1809 } 1810 } 1811 }, 1812 "decorators": [], 1813 "loc": { 1814 "start": { 1815 "line": 1, 1816 "column": 1 1817 }, 1818 "end": { 1819 "line": 1, 1820 "column": 1 1821 } 1822 } 1823 }, 1824 "loc": { 1825 "start": { 1826 "line": 1, 1827 "column": 1 1828 }, 1829 "end": { 1830 "line": 1, 1831 "column": 1 1832 } 1833 } 1834 }, 1835 { 1836 "type": "ETSParameterExpression", 1837 "name": { 1838 "type": "Identifier", 1839 "name": "p0", 1840 "typeAnnotation": { 1841 "type": "OpaqueType", 1842 "loc": { 1843 "start": { 1844 "line": 1, 1845 "column": 1 1846 }, 1847 "end": { 1848 "line": 1, 1849 "column": 1 1850 } 1851 } 1852 }, 1853 "decorators": [], 1854 "loc": { 1855 "start": { 1856 "line": 1, 1857 "column": 1 1858 }, 1859 "end": { 1860 "line": 1, 1861 "column": 1 1862 } 1863 } 1864 }, 1865 "loc": { 1866 "start": { 1867 "line": 1, 1868 "column": 1 1869 }, 1870 "end": { 1871 "line": 1, 1872 "column": 1 1873 } 1874 } 1875 }, 1876 { 1877 "type": "ETSParameterExpression", 1878 "name": { 1879 "type": "Identifier", 1880 "name": "p1", 1881 "typeAnnotation": { 1882 "type": "OpaqueType", 1883 "loc": { 1884 "start": { 1885 "line": 1, 1886 "column": 1 1887 }, 1888 "end": { 1889 "line": 1, 1890 "column": 1 1891 } 1892 } 1893 }, 1894 "decorators": [], 1895 "loc": { 1896 "start": { 1897 "line": 1, 1898 "column": 1 1899 }, 1900 "end": { 1901 "line": 1, 1902 "column": 1 1903 } 1904 } 1905 }, 1906 "loc": { 1907 "start": { 1908 "line": 1, 1909 "column": 1 1910 }, 1911 "end": { 1912 "line": 1, 1913 "column": 1 1914 } 1915 } 1916 }, 1917 { 1918 "type": "ETSParameterExpression", 1919 "name": { 1920 "type": "Identifier", 1921 "name": "p2", 1922 "typeAnnotation": { 1923 "type": "OpaqueType", 1924 "loc": { 1925 "start": { 1926 "line": 1, 1927 "column": 1 1928 }, 1929 "end": { 1930 "line": 1, 1931 "column": 1 1932 } 1933 } 1934 }, 1935 "decorators": [], 1936 "loc": { 1937 "start": { 1938 "line": 1, 1939 "column": 1 1940 }, 1941 "end": { 1942 "line": 1, 1943 "column": 1 1944 } 1945 } 1946 }, 1947 "loc": { 1948 "start": { 1949 "line": 1, 1950 "column": 1 1951 }, 1952 "end": { 1953 "line": 1, 1954 "column": 1 1955 } 1956 } 1957 } 1958 ], 1959 "returnType": { 1960 "type": "OpaqueType", 1961 "loc": { 1962 "start": { 1963 "line": 1, 1964 "column": 1 1965 }, 1966 "end": { 1967 "line": 1, 1968 "column": 1 1969 } 1970 } 1971 }, 1972 "loc": { 1973 "start": { 1974 "line": 1, 1975 "column": 1 1976 }, 1977 "end": { 1978 "line": 1, 1979 "column": 1 1980 } 1981 } 1982 }, 1983 "loc": { 1984 "start": { 1985 "line": 1, 1986 "column": 1 1987 }, 1988 "end": { 1989 "line": 1, 1990 "column": 1 1991 } 1992 } 1993 }, 1994 "overloads": [], 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 ], 2008 "loc": { 2009 "start": { 2010 "line": 1, 2011 "column": 1 2012 }, 2013 "end": { 2014 "line": 1, 2015 "column": 1 2016 } 2017 } 2018 }, 2019 "loc": { 2020 "start": { 2021 "line": 1, 2022 "column": 1 2023 }, 2024 "end": { 2025 "line": 1, 2026 "column": 1 2027 } 2028 } 2029 }, 2030 { 2031 "type": "ClassDeclaration", 2032 "definition": { 2033 "id": { 2034 "type": "Identifier", 2035 "name": "$dynmodule", 2036 "decorators": [], 2037 "loc": { 2038 "start": { 2039 "line": 1, 2040 "column": 1 2041 }, 2042 "end": { 2043 "line": 1, 2044 "column": 1 2045 } 2046 } 2047 }, 2048 "superClass": null, 2049 "implements": [], 2050 "body": [ 2051 { 2052 "type": "ClassProperty", 2053 "key": { 2054 "type": "Identifier", 2055 "name": "dynamic_js_import_tests0", 2056 "decorators": [], 2057 "loc": { 2058 "start": { 2059 "line": 1, 2060 "column": 1 2061 }, 2062 "end": { 2063 "line": 1, 2064 "column": 1 2065 } 2066 } 2067 }, 2068 "accessibility": "public", 2069 "static": true, 2070 "readonly": true, 2071 "declare": false, 2072 "optional": false, 2073 "computed": false, 2074 "typeAnnotation": { 2075 "type": "OpaqueType", 2076 "loc": { 2077 "start": { 2078 "line": 1, 2079 "column": 1 2080 }, 2081 "end": { 2082 "line": 1, 2083 "column": 1 2084 } 2085 } 2086 }, 2087 "definite": false, 2088 "decorators": [], 2089 "loc": { 2090 "start": { 2091 "line": 1, 2092 "column": 1 2093 }, 2094 "end": { 2095 "line": 1, 2096 "column": 1 2097 } 2098 } 2099 }, 2100 { 2101 "type": "ClassStaticBlock", 2102 "value": { 2103 "type": "FunctionExpression", 2104 "function": { 2105 "type": "ScriptFunction", 2106 "id": { 2107 "type": "Identifier", 2108 "name": "<cctor>", 2109 "decorators": [], 2110 "loc": { 2111 "start": { 2112 "line": 1, 2113 "column": 1 2114 }, 2115 "end": { 2116 "line": 1, 2117 "column": 1 2118 } 2119 } 2120 }, 2121 "generator": false, 2122 "async": false, 2123 "expression": true, 2124 "params": [], 2125 "body": { 2126 "type": "BlockStatement", 2127 "statements": [ 2128 { 2129 "type": "ExpressionStatement", 2130 "expression": { 2131 "type": "AssignmentExpression", 2132 "operator": "=", 2133 "left": { 2134 "type": "MemberExpression", 2135 "object": { 2136 "type": "Identifier", 2137 "name": "$dynmodule", 2138 "decorators": [], 2139 "loc": { 2140 "start": { 2141 "line": 1, 2142 "column": 1 2143 }, 2144 "end": { 2145 "line": 1, 2146 "column": 1 2147 } 2148 } 2149 }, 2150 "property": { 2151 "type": "Identifier", 2152 "name": "dynamic_js_import_tests0", 2153 "decorators": [], 2154 "loc": { 2155 "start": { 2156 "line": 1, 2157 "column": 1 2158 }, 2159 "end": { 2160 "line": 1, 2161 "column": 1 2162 } 2163 } 2164 }, 2165 "computed": false, 2166 "optional": false, 2167 "loc": { 2168 "start": { 2169 "line": 1, 2170 "column": 1 2171 }, 2172 "end": { 2173 "line": 1, 2174 "column": 1 2175 } 2176 } 2177 }, 2178 "right": { 2179 "type": "CallExpression", 2180 "callee": { 2181 "type": "MemberExpression", 2182 "object": { 2183 "type": "Identifier", 2184 "name": "JSRuntime", 2185 "decorators": [], 2186 "loc": { 2187 "start": { 2188 "line": 1, 2189 "column": 1 2190 }, 2191 "end": { 2192 "line": 1, 2193 "column": 1 2194 } 2195 } 2196 }, 2197 "property": { 2198 "type": "Identifier", 2199 "name": "loadModule", 2200 "decorators": [], 2201 "loc": { 2202 "start": { 2203 "line": 1, 2204 "column": 1 2205 }, 2206 "end": { 2207 "line": 1, 2208 "column": 1 2209 } 2210 } 2211 }, 2212 "computed": false, 2213 "optional": false, 2214 "loc": { 2215 "start": { 2216 "line": 1, 2217 "column": 1 2218 }, 2219 "end": { 2220 "line": 1, 2221 "column": 1 2222 } 2223 } 2224 }, 2225 "arguments": [ 2226 { 2227 "type": "StringLiteral", 2228 "value": "dynamic_js_import_tests", 2229 "loc": { 2230 "start": { 2231 "line": 1, 2232 "column": 1 2233 }, 2234 "end": { 2235 "line": 1, 2236 "column": 1 2237 } 2238 } 2239 } 2240 ], 2241 "optional": false, 2242 "loc": { 2243 "start": { 2244 "line": 1, 2245 "column": 1 2246 }, 2247 "end": { 2248 "line": 1, 2249 "column": 1 2250 } 2251 } 2252 }, 2253 "loc": { 2254 "start": { 2255 "line": 1, 2256 "column": 1 2257 }, 2258 "end": { 2259 "line": 1, 2260 "column": 1 2261 } 2262 } 2263 }, 2264 "loc": { 2265 "start": { 2266 "line": 1, 2267 "column": 1 2268 }, 2269 "end": { 2270 "line": 1, 2271 "column": 1 2272 } 2273 } 2274 } 2275 ], 2276 "loc": { 2277 "start": { 2278 "line": 1, 2279 "column": 1 2280 }, 2281 "end": { 2282 "line": 1, 2283 "column": 1 2284 } 2285 } 2286 }, 2287 "loc": { 2288 "start": { 2289 "line": 1, 2290 "column": 1 2291 }, 2292 "end": { 2293 "line": 1, 2294 "column": 1 2295 } 2296 } 2297 }, 2298 "loc": { 2299 "start": { 2300 "line": 1, 2301 "column": 1 2302 }, 2303 "end": { 2304 "line": 1, 2305 "column": 1 2306 } 2307 } 2308 }, 2309 "loc": { 2310 "start": { 2311 "line": 1, 2312 "column": 1 2313 }, 2314 "end": { 2315 "line": 1, 2316 "column": 1 2317 } 2318 } 2319 }, 2320 { 2321 "type": "MethodDefinition", 2322 "key": { 2323 "type": "Identifier", 2324 "name": "init", 2325 "decorators": [], 2326 "loc": { 2327 "start": { 2328 "line": 1, 2329 "column": 1 2330 }, 2331 "end": { 2332 "line": 1, 2333 "column": 1 2334 } 2335 } 2336 }, 2337 "kind": "method", 2338 "accessibility": "public", 2339 "static": true, 2340 "optional": false, 2341 "computed": false, 2342 "value": { 2343 "type": "FunctionExpression", 2344 "function": { 2345 "type": "ScriptFunction", 2346 "id": { 2347 "type": "Identifier", 2348 "name": "init", 2349 "decorators": [], 2350 "loc": { 2351 "start": { 2352 "line": 1, 2353 "column": 1 2354 }, 2355 "end": { 2356 "line": 1, 2357 "column": 1 2358 } 2359 } 2360 }, 2361 "generator": false, 2362 "async": false, 2363 "expression": false, 2364 "params": [], 2365 "returnType": { 2366 "type": "OpaqueType", 2367 "loc": { 2368 "start": { 2369 "line": 1, 2370 "column": 1 2371 }, 2372 "end": { 2373 "line": 1, 2374 "column": 1 2375 } 2376 } 2377 }, 2378 "body": { 2379 "type": "BlockStatement", 2380 "statements": [], 2381 "loc": { 2382 "start": { 2383 "line": 1, 2384 "column": 1 2385 }, 2386 "end": { 2387 "line": 1, 2388 "column": 1 2389 } 2390 } 2391 }, 2392 "loc": { 2393 "start": { 2394 "line": 1, 2395 "column": 1 2396 }, 2397 "end": { 2398 "line": 1, 2399 "column": 1 2400 } 2401 } 2402 }, 2403 "loc": { 2404 "start": { 2405 "line": 1, 2406 "column": 1 2407 }, 2408 "end": { 2409 "line": 1, 2410 "column": 1 2411 } 2412 } 2413 }, 2414 "overloads": [], 2415 "decorators": [], 2416 "loc": { 2417 "start": { 2418 "line": 1, 2419 "column": 1 2420 }, 2421 "end": { 2422 "line": 1, 2423 "column": 1 2424 } 2425 } 2426 } 2427 ], 2428 "loc": { 2429 "start": { 2430 "line": 1, 2431 "column": 1 2432 }, 2433 "end": { 2434 "line": 1, 2435 "column": 1 2436 } 2437 } 2438 }, 2439 "loc": { 2440 "start": { 2441 "line": 1, 2442 "column": 1 2443 }, 2444 "end": { 2445 "line": 1, 2446 "column": 1 2447 } 2448 } 2449 } 2450 ], 2451 "loc": { 2452 "start": { 2453 "line": 1, 2454 "column": 1 2455 }, 2456 "end": { 2457 "line": 28, 2458 "column": 1 2459 } 2460 } 2461} 2462