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