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 "declare": true, 240 "loc": { 241 "start": { 242 "line": 20, 243 "column": 5 244 }, 245 "end": { 246 "line": 20, 247 "column": 19 248 } 249 } 250 }, 251 "loc": { 252 "start": { 253 "line": 20, 254 "column": 5 255 }, 256 "end": { 257 "line": 20, 258 "column": 19 259 } 260 } 261 }, 262 "overloads": [ 263 { 264 "type": "MethodDefinition", 265 "key": { 266 "type": "Identifier", 267 "name": "name", 268 "decorators": [], 269 "loc": { 270 "start": { 271 "line": 1, 272 "column": 1 273 }, 274 "end": { 275 "line": 1, 276 "column": 1 277 } 278 } 279 }, 280 "kind": "method", 281 "accessibility": "public", 282 "static": false, 283 "optional": false, 284 "computed": false, 285 "value": { 286 "type": "FunctionExpression", 287 "function": { 288 "type": "ScriptFunction", 289 "id": { 290 "type": "Identifier", 291 "name": "name", 292 "decorators": [], 293 "loc": { 294 "start": { 295 "line": 1, 296 "column": 1 297 }, 298 "end": { 299 "line": 1, 300 "column": 1 301 } 302 } 303 }, 304 "generator": false, 305 "async": false, 306 "expression": false, 307 "params": [ 308 { 309 "type": "ETSParameterExpression", 310 "name": { 311 "type": "Identifier", 312 "name": "name", 313 "typeAnnotation": { 314 "type": "ETSTypeReference", 315 "part": { 316 "type": "ETSTypeReferencePart", 317 "name": { 318 "type": "Identifier", 319 "name": "string", 320 "decorators": [], 321 "loc": { 322 "start": { 323 "line": 20, 324 "column": 12 325 }, 326 "end": { 327 "line": 20, 328 "column": 18 329 } 330 } 331 }, 332 "loc": { 333 "start": { 334 "line": 20, 335 "column": 12 336 }, 337 "end": { 338 "line": 20, 339 "column": 19 340 } 341 } 342 }, 343 "loc": { 344 "start": { 345 "line": 20, 346 "column": 12 347 }, 348 "end": { 349 "line": 20, 350 "column": 19 351 } 352 } 353 }, 354 "decorators": [], 355 "loc": { 356 "start": { 357 "line": 20, 358 "column": 5 359 }, 360 "end": { 361 "line": 20, 362 "column": 9 363 } 364 } 365 }, 366 "loc": { 367 "start": { 368 "line": 20, 369 "column": 5 370 }, 371 "end": { 372 "line": 20, 373 "column": 9 374 } 375 } 376 } 377 ], 378 "declare": true, 379 "loc": { 380 "start": { 381 "line": 20, 382 "column": 5 383 }, 384 "end": { 385 "line": 20, 386 "column": 19 387 } 388 } 389 }, 390 "loc": { 391 "start": { 392 "line": 20, 393 "column": 5 394 }, 395 "end": { 396 "line": 20, 397 "column": 19 398 } 399 } 400 }, 401 "overloads": [], 402 "decorators": [], 403 "loc": { 404 "start": { 405 "line": 20, 406 "column": 5 407 }, 408 "end": { 409 "line": 20, 410 "column": 19 411 } 412 } 413 } 414 ], 415 "decorators": [], 416 "loc": { 417 "start": { 418 "line": 20, 419 "column": 5 420 }, 421 "end": { 422 "line": 20, 423 "column": 19 424 } 425 } 426 }, 427 { 428 "type": "MethodDefinition", 429 "key": { 430 "type": "Identifier", 431 "name": "name", 432 "decorators": [], 433 "loc": { 434 "start": { 435 "line": 1, 436 "column": 1 437 }, 438 "end": { 439 "line": 1, 440 "column": 1 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": "name", 456 "decorators": [], 457 "loc": { 458 "start": { 459 "line": 1, 460 "column": 1 461 }, 462 "end": { 463 "line": 1, 464 "column": 1 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": "name", 477 "typeAnnotation": { 478 "type": "ETSTypeReference", 479 "part": { 480 "type": "ETSTypeReferencePart", 481 "name": { 482 "type": "Identifier", 483 "name": "string", 484 "decorators": [], 485 "loc": { 486 "start": { 487 "line": 20, 488 "column": 12 489 }, 490 "end": { 491 "line": 20, 492 "column": 18 493 } 494 } 495 }, 496 "loc": { 497 "start": { 498 "line": 20, 499 "column": 12 500 }, 501 "end": { 502 "line": 20, 503 "column": 19 504 } 505 } 506 }, 507 "loc": { 508 "start": { 509 "line": 20, 510 "column": 12 511 }, 512 "end": { 513 "line": 20, 514 "column": 19 515 } 516 } 517 }, 518 "decorators": [], 519 "loc": { 520 "start": { 521 "line": 20, 522 "column": 5 523 }, 524 "end": { 525 "line": 20, 526 "column": 9 527 } 528 } 529 }, 530 "loc": { 531 "start": { 532 "line": 20, 533 "column": 5 534 }, 535 "end": { 536 "line": 20, 537 "column": 9 538 } 539 } 540 } 541 ], 542 "declare": true, 543 "loc": { 544 "start": { 545 "line": 20, 546 "column": 5 547 }, 548 "end": { 549 "line": 20, 550 "column": 19 551 } 552 } 553 }, 554 "loc": { 555 "start": { 556 "line": 20, 557 "column": 5 558 }, 559 "end": { 560 "line": 20, 561 "column": 19 562 } 563 } 564 }, 565 "overloads": [], 566 "decorators": [], 567 "loc": { 568 "start": { 569 "line": 20, 570 "column": 5 571 }, 572 "end": { 573 "line": 20, 574 "column": 19 575 } 576 } 577 } 578 ], 579 "loc": { 580 "start": { 581 "line": 19, 582 "column": 16 583 }, 584 "end": { 585 "line": 21, 586 "column": 2 587 } 588 } 589 }, 590 "id": { 591 "type": "Identifier", 592 "name": "Test", 593 "decorators": [], 594 "loc": { 595 "start": { 596 "line": 19, 597 "column": 11 598 }, 599 "end": { 600 "line": 19, 601 "column": 15 602 } 603 } 604 }, 605 "extends": [], 606 "loc": { 607 "start": { 608 "line": 19, 609 "column": 1 610 }, 611 "end": { 612 "line": 22, 613 "column": 1 614 } 615 } 616 }, 617 { 618 "type": "ClassDeclaration", 619 "definition": { 620 "id": { 621 "type": "Identifier", 622 "name": "ETSGLOBAL", 623 "decorators": [], 624 "loc": { 625 "start": { 626 "line": 1, 627 "column": 1 628 }, 629 "end": { 630 "line": 1, 631 "column": 1 632 } 633 } 634 }, 635 "superClass": null, 636 "implements": [], 637 "body": [ 638 { 639 "type": "MethodDefinition", 640 "key": { 641 "type": "Identifier", 642 "name": "_$init$_", 643 "decorators": [], 644 "loc": { 645 "start": { 646 "line": 1, 647 "column": 1 648 }, 649 "end": { 650 "line": 1, 651 "column": 1 652 } 653 } 654 }, 655 "kind": "method", 656 "accessibility": "public", 657 "static": true, 658 "optional": false, 659 "computed": false, 660 "value": { 661 "type": "FunctionExpression", 662 "function": { 663 "type": "ScriptFunction", 664 "id": { 665 "type": "Identifier", 666 "name": "_$init$_", 667 "decorators": [], 668 "loc": { 669 "start": { 670 "line": 1, 671 "column": 1 672 }, 673 "end": { 674 "line": 1, 675 "column": 1 676 } 677 } 678 }, 679 "generator": false, 680 "async": false, 681 "expression": false, 682 "params": [], 683 "body": { 684 "type": "BlockStatement", 685 "statements": [], 686 "loc": { 687 "start": { 688 "line": 1, 689 "column": 1 690 }, 691 "end": { 692 "line": 1, 693 "column": 1 694 } 695 } 696 }, 697 "loc": { 698 "start": { 699 "line": 1, 700 "column": 1 701 }, 702 "end": { 703 "line": 1, 704 "column": 1 705 } 706 } 707 }, 708 "loc": { 709 "start": { 710 "line": 1, 711 "column": 1 712 }, 713 "end": { 714 "line": 1, 715 "column": 1 716 } 717 } 718 }, 719 "overloads": [], 720 "decorators": [], 721 "loc": { 722 "start": { 723 "line": 1, 724 "column": 1 725 }, 726 "end": { 727 "line": 1, 728 "column": 1 729 } 730 } 731 } 732 ], 733 "loc": { 734 "start": { 735 "line": 1, 736 "column": 1 737 }, 738 "end": { 739 "line": 1, 740 "column": 1 741 } 742 } 743 }, 744 "loc": { 745 "start": { 746 "line": 1, 747 "column": 1 748 }, 749 "end": { 750 "line": 1, 751 "column": 1 752 } 753 } 754 } 755 ], 756 "loc": { 757 "start": { 758 "line": 1, 759 "column": 1 760 }, 761 "end": { 762 "line": 22, 763 "column": 1 764 } 765 } 766} 767