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