1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ImportDeclaration", 6 "source": { 7 "type": "StringLiteral", 8 "value": "./internals", 9 "loc": { 10 "start": { 11 "line": 16, 12 "column": 37 13 }, 14 "end": { 15 "line": 16, 16 "column": 50 17 } 18 } 19 }, 20 "specifiers": [ 21 { 22 "type": "ImportSpecifier", 23 "local": { 24 "type": "Identifier", 25 "name": "__memo_context_type", 26 "decorators": [], 27 "loc": { 28 "start": { 29 "line": 16, 30 "column": 10 31 }, 32 "end": { 33 "line": 16, 34 "column": 29 35 } 36 } 37 }, 38 "imported": { 39 "type": "Identifier", 40 "name": "__memo_context_type", 41 "decorators": [], 42 "loc": { 43 "start": { 44 "line": 16, 45 "column": 10 46 }, 47 "end": { 48 "line": 16, 49 "column": 29 50 } 51 } 52 }, 53 "loc": { 54 "start": { 55 "line": 16, 56 "column": 10 57 }, 58 "end": { 59 "line": 16, 60 "column": 29 61 } 62 } 63 } 64 ], 65 "loc": { 66 "start": { 67 "line": 16, 68 "column": 1 69 }, 70 "end": { 71 "line": 16, 72 "column": 51 73 } 74 } 75 }, 76 { 77 "type": "ImportDeclaration", 78 "source": { 79 "type": "StringLiteral", 80 "value": "../import_tests/internals", 81 "loc": { 82 "start": { 83 "line": 17, 84 "column": 27 85 }, 86 "end": { 87 "line": 17, 88 "column": 54 89 } 90 } 91 }, 92 "specifiers": [ 93 { 94 "type": "ImportSpecifier", 95 "local": { 96 "type": "Identifier", 97 "name": "__context", 98 "decorators": [], 99 "loc": { 100 "start": { 101 "line": 17, 102 "column": 10 103 }, 104 "end": { 105 "line": 17, 106 "column": 19 107 } 108 } 109 }, 110 "imported": { 111 "type": "Identifier", 112 "name": "__context", 113 "decorators": [], 114 "loc": { 115 "start": { 116 "line": 17, 117 "column": 10 118 }, 119 "end": { 120 "line": 17, 121 "column": 19 122 } 123 } 124 }, 125 "loc": { 126 "start": { 127 "line": 17, 128 "column": 10 129 }, 130 "end": { 131 "line": 17, 132 "column": 19 133 } 134 } 135 } 136 ], 137 "loc": { 138 "start": { 139 "line": 17, 140 "column": 1 141 }, 142 "end": { 143 "line": 17, 144 "column": 55 145 } 146 } 147 }, 148 { 149 "type": "TSInterfaceDeclaration", 150 "body": { 151 "type": "TSInterfaceBody", 152 "body": [ 153 { 154 "type": "MethodDefinition", 155 "key": { 156 "type": "Identifier", 157 "name": "name", 158 "decorators": [], 159 "loc": { 160 "start": { 161 "line": 1, 162 "column": 1 163 }, 164 "end": { 165 "line": 1, 166 "column": 1 167 } 168 } 169 }, 170 "kind": "method", 171 "accessibility": "public", 172 "static": false, 173 "optional": false, 174 "computed": false, 175 "value": { 176 "type": "FunctionExpression", 177 "function": { 178 "type": "ScriptFunction", 179 "id": { 180 "type": "Identifier", 181 "name": "name", 182 "decorators": [], 183 "loc": { 184 "start": { 185 "line": 1, 186 "column": 1 187 }, 188 "end": { 189 "line": 1, 190 "column": 1 191 } 192 } 193 }, 194 "generator": false, 195 "async": false, 196 "expression": false, 197 "params": [], 198 "returnType": { 199 "type": "ETSTypeReference", 200 "part": { 201 "type": "ETSTypeReferencePart", 202 "name": { 203 "type": "Identifier", 204 "name": "string", 205 "decorators": [], 206 "loc": { 207 "start": { 208 "line": 20, 209 "column": 12 210 }, 211 "end": { 212 "line": 20, 213 "column": 18 214 } 215 } 216 }, 217 "loc": { 218 "start": { 219 "line": 20, 220 "column": 12 221 }, 222 "end": { 223 "line": 20, 224 "column": 19 225 } 226 } 227 }, 228 "loc": { 229 "start": { 230 "line": 20, 231 "column": 12 232 }, 233 "end": { 234 "line": 20, 235 "column": 19 236 } 237 } 238 }, 239 "loc": { 240 "start": { 241 "line": 20, 242 "column": 5 243 }, 244 "end": { 245 "line": 20, 246 "column": 19 247 } 248 } 249 }, 250 "loc": { 251 "start": { 252 "line": 20, 253 "column": 5 254 }, 255 "end": { 256 "line": 20, 257 "column": 19 258 } 259 } 260 }, 261 "overloads": [ 262 { 263 "type": "MethodDefinition", 264 "key": { 265 "type": "Identifier", 266 "name": "name", 267 "decorators": [], 268 "loc": { 269 "start": { 270 "line": 1, 271 "column": 1 272 }, 273 "end": { 274 "line": 1, 275 "column": 1 276 } 277 } 278 }, 279 "kind": "method", 280 "accessibility": "public", 281 "static": false, 282 "optional": false, 283 "computed": false, 284 "value": { 285 "type": "FunctionExpression", 286 "function": { 287 "type": "ScriptFunction", 288 "id": { 289 "type": "Identifier", 290 "name": "name", 291 "decorators": [], 292 "loc": { 293 "start": { 294 "line": 1, 295 "column": 1 296 }, 297 "end": { 298 "line": 1, 299 "column": 1 300 } 301 } 302 }, 303 "generator": false, 304 "async": false, 305 "expression": false, 306 "params": [ 307 { 308 "type": "ETSParameterExpression", 309 "name": { 310 "type": "Identifier", 311 "name": "name", 312 "typeAnnotation": { 313 "type": "ETSTypeReference", 314 "part": { 315 "type": "ETSTypeReferencePart", 316 "name": { 317 "type": "Identifier", 318 "name": "string", 319 "decorators": [], 320 "loc": { 321 "start": { 322 "line": 20, 323 "column": 12 324 }, 325 "end": { 326 "line": 20, 327 "column": 18 328 } 329 } 330 }, 331 "loc": { 332 "start": { 333 "line": 20, 334 "column": 12 335 }, 336 "end": { 337 "line": 20, 338 "column": 19 339 } 340 } 341 }, 342 "loc": { 343 "start": { 344 "line": 20, 345 "column": 12 346 }, 347 "end": { 348 "line": 20, 349 "column": 19 350 } 351 } 352 }, 353 "decorators": [], 354 "loc": { 355 "start": { 356 "line": 20, 357 "column": 5 358 }, 359 "end": { 360 "line": 20, 361 "column": 9 362 } 363 } 364 }, 365 "loc": { 366 "start": { 367 "line": 20, 368 "column": 5 369 }, 370 "end": { 371 "line": 20, 372 "column": 9 373 } 374 } 375 } 376 ], 377 "loc": { 378 "start": { 379 "line": 20, 380 "column": 5 381 }, 382 "end": { 383 "line": 20, 384 "column": 19 385 } 386 } 387 }, 388 "loc": { 389 "start": { 390 "line": 20, 391 "column": 5 392 }, 393 "end": { 394 "line": 20, 395 "column": 19 396 } 397 } 398 }, 399 "overloads": [], 400 "decorators": [], 401 "loc": { 402 "start": { 403 "line": 20, 404 "column": 5 405 }, 406 "end": { 407 "line": 20, 408 "column": 19 409 } 410 } 411 } 412 ], 413 "decorators": [], 414 "loc": { 415 "start": { 416 "line": 20, 417 "column": 5 418 }, 419 "end": { 420 "line": 20, 421 "column": 19 422 } 423 } 424 }, 425 { 426 "type": "MethodDefinition", 427 "key": { 428 "type": "Identifier", 429 "name": "name", 430 "decorators": [], 431 "loc": { 432 "start": { 433 "line": 1, 434 "column": 1 435 }, 436 "end": { 437 "line": 1, 438 "column": 1 439 } 440 } 441 }, 442 "kind": "method", 443 "accessibility": "public", 444 "static": false, 445 "optional": false, 446 "computed": false, 447 "value": { 448 "type": "FunctionExpression", 449 "function": { 450 "type": "ScriptFunction", 451 "id": { 452 "type": "Identifier", 453 "name": "name", 454 "decorators": [], 455 "loc": { 456 "start": { 457 "line": 1, 458 "column": 1 459 }, 460 "end": { 461 "line": 1, 462 "column": 1 463 } 464 } 465 }, 466 "generator": false, 467 "async": false, 468 "expression": false, 469 "params": [ 470 { 471 "type": "ETSParameterExpression", 472 "name": { 473 "type": "Identifier", 474 "name": "name", 475 "typeAnnotation": { 476 "type": "ETSTypeReference", 477 "part": { 478 "type": "ETSTypeReferencePart", 479 "name": { 480 "type": "Identifier", 481 "name": "string", 482 "decorators": [], 483 "loc": { 484 "start": { 485 "line": 20, 486 "column": 12 487 }, 488 "end": { 489 "line": 20, 490 "column": 18 491 } 492 } 493 }, 494 "loc": { 495 "start": { 496 "line": 20, 497 "column": 12 498 }, 499 "end": { 500 "line": 20, 501 "column": 19 502 } 503 } 504 }, 505 "loc": { 506 "start": { 507 "line": 20, 508 "column": 12 509 }, 510 "end": { 511 "line": 20, 512 "column": 19 513 } 514 } 515 }, 516 "decorators": [], 517 "loc": { 518 "start": { 519 "line": 20, 520 "column": 5 521 }, 522 "end": { 523 "line": 20, 524 "column": 9 525 } 526 } 527 }, 528 "loc": { 529 "start": { 530 "line": 20, 531 "column": 5 532 }, 533 "end": { 534 "line": 20, 535 "column": 9 536 } 537 } 538 } 539 ], 540 "loc": { 541 "start": { 542 "line": 20, 543 "column": 5 544 }, 545 "end": { 546 "line": 20, 547 "column": 19 548 } 549 } 550 }, 551 "loc": { 552 "start": { 553 "line": 20, 554 "column": 5 555 }, 556 "end": { 557 "line": 20, 558 "column": 19 559 } 560 } 561 }, 562 "overloads": [], 563 "decorators": [], 564 "loc": { 565 "start": { 566 "line": 20, 567 "column": 5 568 }, 569 "end": { 570 "line": 20, 571 "column": 19 572 } 573 } 574 } 575 ], 576 "loc": { 577 "start": { 578 "line": 19, 579 "column": 16 580 }, 581 "end": { 582 "line": 21, 583 "column": 2 584 } 585 } 586 }, 587 "id": { 588 "type": "Identifier", 589 "name": "Test", 590 "decorators": [], 591 "loc": { 592 "start": { 593 "line": 19, 594 "column": 11 595 }, 596 "end": { 597 "line": 19, 598 "column": 15 599 } 600 } 601 }, 602 "extends": [], 603 "loc": { 604 "start": { 605 "line": 19, 606 "column": 1 607 }, 608 "end": { 609 "line": 22, 610 "column": 1 611 } 612 } 613 }, 614 { 615 "type": "ClassDeclaration", 616 "definition": { 617 "id": { 618 "type": "Identifier", 619 "name": "ETSGLOBAL", 620 "decorators": [], 621 "loc": { 622 "start": { 623 "line": 1, 624 "column": 1 625 }, 626 "end": { 627 "line": 1, 628 "column": 1 629 } 630 } 631 }, 632 "superClass": null, 633 "implements": [], 634 "body": [ 635 { 636 "type": "MethodDefinition", 637 "key": { 638 "type": "Identifier", 639 "name": "_$init$_", 640 "decorators": [], 641 "loc": { 642 "start": { 643 "line": 1, 644 "column": 1 645 }, 646 "end": { 647 "line": 1, 648 "column": 1 649 } 650 } 651 }, 652 "kind": "method", 653 "accessibility": "public", 654 "static": true, 655 "optional": false, 656 "computed": false, 657 "value": { 658 "type": "FunctionExpression", 659 "function": { 660 "type": "ScriptFunction", 661 "id": { 662 "type": "Identifier", 663 "name": "_$init$_", 664 "decorators": [], 665 "loc": { 666 "start": { 667 "line": 1, 668 "column": 1 669 }, 670 "end": { 671 "line": 1, 672 "column": 1 673 } 674 } 675 }, 676 "generator": false, 677 "async": false, 678 "expression": false, 679 "params": [], 680 "body": { 681 "type": "BlockStatement", 682 "statements": [ 683 { 684 "type": "VariableDeclaration", 685 "declarations": [ 686 { 687 "type": "VariableDeclarator", 688 "id": { 689 "type": "Identifier", 690 "name": "__linker", 691 "decorators": [], 692 "loc": { 693 "start": { 694 "line": 1, 695 "column": 3 696 }, 697 "end": { 698 "line": 1, 699 "column": 3 700 } 701 } 702 }, 703 "init": { 704 "type": "CallExpression", 705 "callee": { 706 "type": "MemberExpression", 707 "object": { 708 "type": "CallExpression", 709 "callee": { 710 "type": "MemberExpression", 711 "object": { 712 "type": "Identifier", 713 "name": "Class", 714 "decorators": [], 715 "loc": { 716 "start": { 717 "line": 1, 718 "column": 3 719 }, 720 "end": { 721 "line": 1, 722 "column": 3 723 } 724 } 725 }, 726 "property": { 727 "type": "Identifier", 728 "name": "ofCaller", 729 "decorators": [], 730 "loc": { 731 "start": { 732 "line": 1, 733 "column": 3 734 }, 735 "end": { 736 "line": 1, 737 "column": 3 738 } 739 } 740 }, 741 "computed": false, 742 "optional": false, 743 "loc": { 744 "start": { 745 "line": 1, 746 "column": 3 747 }, 748 "end": { 749 "line": 1, 750 "column": 3 751 } 752 } 753 }, 754 "arguments": [], 755 "optional": false, 756 "loc": { 757 "start": { 758 "line": 1, 759 "column": 3 760 }, 761 "end": { 762 "line": 1, 763 "column": 3 764 } 765 } 766 }, 767 "property": { 768 "type": "Identifier", 769 "name": "getLinker", 770 "decorators": [], 771 "loc": { 772 "start": { 773 "line": 1, 774 "column": 3 775 }, 776 "end": { 777 "line": 1, 778 "column": 3 779 } 780 } 781 }, 782 "computed": false, 783 "optional": false, 784 "loc": { 785 "start": { 786 "line": 1, 787 "column": 3 788 }, 789 "end": { 790 "line": 1, 791 "column": 3 792 } 793 } 794 }, 795 "arguments": [], 796 "optional": false, 797 "loc": { 798 "start": { 799 "line": 1, 800 "column": 3 801 }, 802 "end": { 803 "line": 1, 804 "column": 3 805 } 806 } 807 }, 808 "loc": { 809 "start": { 810 "line": 1, 811 "column": 3 812 }, 813 "end": { 814 "line": 1, 815 "column": 3 816 } 817 } 818 } 819 ], 820 "kind": "const", 821 "loc": { 822 "start": { 823 "line": 1, 824 "column": 1 825 }, 826 "end": { 827 "line": 1, 828 "column": 3 829 } 830 } 831 }, 832 { 833 "type": "ExpressionStatement", 834 "expression": { 835 "type": "CallExpression", 836 "callee": { 837 "type": "MemberExpression", 838 "object": { 839 "type": "Identifier", 840 "name": "__linker", 841 "decorators": [], 842 "loc": { 843 "start": { 844 "line": 1, 845 "column": 1 846 }, 847 "end": { 848 "line": 1, 849 "column": 3 850 } 851 } 852 }, 853 "property": { 854 "type": "Identifier", 855 "name": "loadClass", 856 "decorators": [], 857 "loc": { 858 "start": { 859 "line": 1, 860 "column": 3 861 }, 862 "end": { 863 "line": 1, 864 "column": 3 865 } 866 } 867 }, 868 "computed": false, 869 "optional": false, 870 "loc": { 871 "start": { 872 "line": 1, 873 "column": 1 874 }, 875 "end": { 876 "line": 1, 877 "column": 3 878 } 879 } 880 }, 881 "arguments": [ 882 { 883 "type": "StringLiteral", 884 "value": "internals.ETSGLOBAL", 885 "loc": { 886 "start": { 887 "line": 1, 888 "column": 3 889 }, 890 "end": { 891 "line": 1, 892 "column": 3 893 } 894 } 895 }, 896 { 897 "type": "BooleanLiteral", 898 "value": true, 899 "loc": { 900 "start": { 901 "line": 1, 902 "column": 3 903 }, 904 "end": { 905 "line": 1, 906 "column": 3 907 } 908 } 909 } 910 ], 911 "optional": false, 912 "loc": { 913 "start": { 914 "line": 1, 915 "column": 1 916 }, 917 "end": { 918 "line": 1, 919 "column": 3 920 } 921 } 922 }, 923 "loc": { 924 "start": { 925 "line": 1, 926 "column": 1 927 }, 928 "end": { 929 "line": 1, 930 "column": 3 931 } 932 } 933 } 934 ], 935 "loc": { 936 "start": { 937 "line": 1, 938 "column": 1 939 }, 940 "end": { 941 "line": 1, 942 "column": 1 943 } 944 } 945 }, 946 "loc": { 947 "start": { 948 "line": 1, 949 "column": 1 950 }, 951 "end": { 952 "line": 1, 953 "column": 1 954 } 955 } 956 }, 957 "loc": { 958 "start": { 959 "line": 1, 960 "column": 1 961 }, 962 "end": { 963 "line": 1, 964 "column": 1 965 } 966 } 967 }, 968 "overloads": [], 969 "decorators": [], 970 "loc": { 971 "start": { 972 "line": 1, 973 "column": 1 974 }, 975 "end": { 976 "line": 1, 977 "column": 1 978 } 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 "loc": { 994 "start": { 995 "line": 1, 996 "column": 1 997 }, 998 "end": { 999 "line": 1, 1000 "column": 1 1001 } 1002 } 1003 } 1004 ], 1005 "loc": { 1006 "start": { 1007 "line": 1, 1008 "column": 1 1009 }, 1010 "end": { 1011 "line": 22, 1012 "column": 1 1013 } 1014 } 1015} 1016