1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "ETSGLOBAL", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 1, 14 "column": 1, 15 "program": "conversion_w_functions.ets" 16 }, 17 "end": { 18 "line": 1, 19 "column": 1, 20 "program": "conversion_w_functions.ets" 21 } 22 } 23 }, 24 "superClass": null, 25 "implements": [], 26 "body": [ 27 { 28 "type": "MethodDefinition", 29 "key": { 30 "type": "Identifier", 31 "name": "_$init$_", 32 "decorators": [], 33 "loc": { 34 "start": { 35 "line": 1, 36 "column": 1, 37 "program": null 38 }, 39 "end": { 40 "line": 1, 41 "column": 1, 42 "program": null 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": "_$init$_", 58 "decorators": [], 59 "loc": { 60 "start": { 61 "line": 1, 62 "column": 1, 63 "program": null 64 }, 65 "end": { 66 "line": 1, 67 "column": 1, 68 "program": null 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": 1, 82 "column": 1, 83 "program": null 84 }, 85 "end": { 86 "line": 1, 87 "column": 1, 88 "program": null 89 } 90 } 91 }, 92 "loc": { 93 "start": { 94 "line": 1, 95 "column": 1, 96 "program": null 97 }, 98 "end": { 99 "line": 1, 100 "column": 1, 101 "program": null 102 } 103 } 104 }, 105 "loc": { 106 "start": { 107 "line": 1, 108 "column": 1, 109 "program": null 110 }, 111 "end": { 112 "line": 1, 113 "column": 1, 114 "program": null 115 } 116 } 117 }, 118 "overloads": [], 119 "decorators": [], 120 "loc": { 121 "start": { 122 "line": 1, 123 "column": 1, 124 "program": "conversion_w_functions.ets" 125 }, 126 "end": { 127 "line": 1, 128 "column": 1, 129 "program": "conversion_w_functions.ets" 130 } 131 } 132 }, 133 { 134 "type": "MethodDefinition", 135 "key": { 136 "type": "Identifier", 137 "name": "getI", 138 "decorators": [], 139 "loc": { 140 "start": { 141 "line": 16, 142 "column": 10, 143 "program": "conversion_w_functions.ets" 144 }, 145 "end": { 146 "line": 16, 147 "column": 14, 148 "program": "conversion_w_functions.ets" 149 } 150 } 151 }, 152 "kind": "method", 153 "accessibility": "public", 154 "static": true, 155 "optional": false, 156 "computed": false, 157 "value": { 158 "type": "FunctionExpression", 159 "function": { 160 "type": "ScriptFunction", 161 "id": { 162 "type": "Identifier", 163 "name": "getI", 164 "decorators": [], 165 "loc": { 166 "start": { 167 "line": 16, 168 "column": 10, 169 "program": "conversion_w_functions.ets" 170 }, 171 "end": { 172 "line": 16, 173 "column": 14, 174 "program": "conversion_w_functions.ets" 175 } 176 } 177 }, 178 "generator": false, 179 "async": false, 180 "expression": false, 181 "params": [ 182 { 183 "type": "ETSParameterExpression", 184 "name": { 185 "type": "Identifier", 186 "name": "i", 187 "typeAnnotation": { 188 "type": "ETSPrimitiveType", 189 "loc": { 190 "start": { 191 "line": 16, 192 "column": 19, 193 "program": "conversion_w_functions.ets" 194 }, 195 "end": { 196 "line": 16, 197 "column": 22, 198 "program": "conversion_w_functions.ets" 199 } 200 } 201 }, 202 "decorators": [], 203 "loc": { 204 "start": { 205 "line": 16, 206 "column": 15, 207 "program": "conversion_w_functions.ets" 208 }, 209 "end": { 210 "line": 16, 211 "column": 22, 212 "program": "conversion_w_functions.ets" 213 } 214 } 215 }, 216 "loc": { 217 "start": { 218 "line": 16, 219 "column": 15, 220 "program": "conversion_w_functions.ets" 221 }, 222 "end": { 223 "line": 16, 224 "column": 22, 225 "program": "conversion_w_functions.ets" 226 } 227 } 228 } 229 ], 230 "returnType": { 231 "type": "ETSPrimitiveType", 232 "loc": { 233 "start": { 234 "line": 16, 235 "column": 25, 236 "program": "conversion_w_functions.ets" 237 }, 238 "end": { 239 "line": 16, 240 "column": 28, 241 "program": "conversion_w_functions.ets" 242 } 243 } 244 }, 245 "body": { 246 "type": "BlockStatement", 247 "statements": [ 248 { 249 "type": "ReturnStatement", 250 "argument": { 251 "type": "Identifier", 252 "name": "i", 253 "decorators": [], 254 "loc": { 255 "start": { 256 "line": 17, 257 "column": 12, 258 "program": "conversion_w_functions.ets" 259 }, 260 "end": { 261 "line": 17, 262 "column": 13, 263 "program": "conversion_w_functions.ets" 264 } 265 } 266 }, 267 "loc": { 268 "start": { 269 "line": 17, 270 "column": 5, 271 "program": "conversion_w_functions.ets" 272 }, 273 "end": { 274 "line": 17, 275 "column": 14, 276 "program": "conversion_w_functions.ets" 277 } 278 } 279 } 280 ], 281 "loc": { 282 "start": { 283 "line": 16, 284 "column": 29, 285 "program": "conversion_w_functions.ets" 286 }, 287 "end": { 288 "line": 18, 289 "column": 2, 290 "program": "conversion_w_functions.ets" 291 } 292 } 293 }, 294 "loc": { 295 "start": { 296 "line": 16, 297 "column": 10, 298 "program": "conversion_w_functions.ets" 299 }, 300 "end": { 301 "line": 18, 302 "column": 2, 303 "program": "conversion_w_functions.ets" 304 } 305 } 306 }, 307 "loc": { 308 "start": { 309 "line": 16, 310 "column": 10, 311 "program": "conversion_w_functions.ets" 312 }, 313 "end": { 314 "line": 18, 315 "column": 2, 316 "program": "conversion_w_functions.ets" 317 } 318 } 319 }, 320 "overloads": [], 321 "decorators": [], 322 "loc": { 323 "start": { 324 "line": 16, 325 "column": 1, 326 "program": "conversion_w_functions.ets" 327 }, 328 "end": { 329 "line": 18, 330 "column": 2, 331 "program": "conversion_w_functions.ets" 332 } 333 } 334 }, 335 { 336 "type": "MethodDefinition", 337 "key": { 338 "type": "Identifier", 339 "name": "getD", 340 "decorators": [], 341 "loc": { 342 "start": { 343 "line": 20, 344 "column": 10, 345 "program": "conversion_w_functions.ets" 346 }, 347 "end": { 348 "line": 20, 349 "column": 14, 350 "program": "conversion_w_functions.ets" 351 } 352 } 353 }, 354 "kind": "method", 355 "accessibility": "public", 356 "static": true, 357 "optional": false, 358 "computed": false, 359 "value": { 360 "type": "FunctionExpression", 361 "function": { 362 "type": "ScriptFunction", 363 "id": { 364 "type": "Identifier", 365 "name": "getD", 366 "decorators": [], 367 "loc": { 368 "start": { 369 "line": 20, 370 "column": 10, 371 "program": "conversion_w_functions.ets" 372 }, 373 "end": { 374 "line": 20, 375 "column": 14, 376 "program": "conversion_w_functions.ets" 377 } 378 } 379 }, 380 "generator": false, 381 "async": false, 382 "expression": false, 383 "params": [ 384 { 385 "type": "ETSParameterExpression", 386 "name": { 387 "type": "Identifier", 388 "name": "d", 389 "typeAnnotation": { 390 "type": "ETSPrimitiveType", 391 "loc": { 392 "start": { 393 "line": 20, 394 "column": 19, 395 "program": "conversion_w_functions.ets" 396 }, 397 "end": { 398 "line": 20, 399 "column": 25, 400 "program": "conversion_w_functions.ets" 401 } 402 } 403 }, 404 "decorators": [], 405 "loc": { 406 "start": { 407 "line": 20, 408 "column": 15, 409 "program": "conversion_w_functions.ets" 410 }, 411 "end": { 412 "line": 20, 413 "column": 25, 414 "program": "conversion_w_functions.ets" 415 } 416 } 417 }, 418 "loc": { 419 "start": { 420 "line": 20, 421 "column": 15, 422 "program": "conversion_w_functions.ets" 423 }, 424 "end": { 425 "line": 20, 426 "column": 25, 427 "program": "conversion_w_functions.ets" 428 } 429 } 430 } 431 ], 432 "returnType": { 433 "type": "ETSPrimitiveType", 434 "loc": { 435 "start": { 436 "line": 20, 437 "column": 28, 438 "program": "conversion_w_functions.ets" 439 }, 440 "end": { 441 "line": 20, 442 "column": 34, 443 "program": "conversion_w_functions.ets" 444 } 445 } 446 }, 447 "body": { 448 "type": "BlockStatement", 449 "statements": [ 450 { 451 "type": "ReturnStatement", 452 "argument": { 453 "type": "Identifier", 454 "name": "d", 455 "decorators": [], 456 "loc": { 457 "start": { 458 "line": 21, 459 "column": 12, 460 "program": "conversion_w_functions.ets" 461 }, 462 "end": { 463 "line": 21, 464 "column": 13, 465 "program": "conversion_w_functions.ets" 466 } 467 } 468 }, 469 "loc": { 470 "start": { 471 "line": 21, 472 "column": 5, 473 "program": "conversion_w_functions.ets" 474 }, 475 "end": { 476 "line": 21, 477 "column": 14, 478 "program": "conversion_w_functions.ets" 479 } 480 } 481 } 482 ], 483 "loc": { 484 "start": { 485 "line": 20, 486 "column": 35, 487 "program": "conversion_w_functions.ets" 488 }, 489 "end": { 490 "line": 22, 491 "column": 2, 492 "program": "conversion_w_functions.ets" 493 } 494 } 495 }, 496 "loc": { 497 "start": { 498 "line": 20, 499 "column": 10, 500 "program": "conversion_w_functions.ets" 501 }, 502 "end": { 503 "line": 22, 504 "column": 2, 505 "program": "conversion_w_functions.ets" 506 } 507 } 508 }, 509 "loc": { 510 "start": { 511 "line": 20, 512 "column": 10, 513 "program": "conversion_w_functions.ets" 514 }, 515 "end": { 516 "line": 22, 517 "column": 2, 518 "program": "conversion_w_functions.ets" 519 } 520 } 521 }, 522 "overloads": [], 523 "decorators": [], 524 "loc": { 525 "start": { 526 "line": 20, 527 "column": 1, 528 "program": "conversion_w_functions.ets" 529 }, 530 "end": { 531 "line": 22, 532 "column": 2, 533 "program": "conversion_w_functions.ets" 534 } 535 } 536 }, 537 { 538 "type": "MethodDefinition", 539 "key": { 540 "type": "Identifier", 541 "name": "apple", 542 "decorators": [], 543 "loc": { 544 "start": { 545 "line": 24, 546 "column": 10, 547 "program": "conversion_w_functions.ets" 548 }, 549 "end": { 550 "line": 24, 551 "column": 15, 552 "program": "conversion_w_functions.ets" 553 } 554 } 555 }, 556 "kind": "method", 557 "accessibility": "public", 558 "static": true, 559 "optional": false, 560 "computed": false, 561 "value": { 562 "type": "FunctionExpression", 563 "function": { 564 "type": "ScriptFunction", 565 "id": { 566 "type": "Identifier", 567 "name": "apple", 568 "decorators": [], 569 "loc": { 570 "start": { 571 "line": 24, 572 "column": 10, 573 "program": "conversion_w_functions.ets" 574 }, 575 "end": { 576 "line": 24, 577 "column": 15, 578 "program": "conversion_w_functions.ets" 579 } 580 } 581 }, 582 "generator": false, 583 "async": false, 584 "expression": false, 585 "params": [], 586 "returnType": { 587 "type": "ETSTypeReference", 588 "part": { 589 "type": "ETSTypeReferencePart", 590 "name": { 591 "type": "Identifier", 592 "name": "Byte", 593 "decorators": [], 594 "loc": { 595 "start": { 596 "line": 24, 597 "column": 19, 598 "program": "conversion_w_functions.ets" 599 }, 600 "end": { 601 "line": 24, 602 "column": 23, 603 "program": "conversion_w_functions.ets" 604 } 605 } 606 }, 607 "loc": { 608 "start": { 609 "line": 24, 610 "column": 19, 611 "program": "conversion_w_functions.ets" 612 }, 613 "end": { 614 "line": 24, 615 "column": 25, 616 "program": "conversion_w_functions.ets" 617 } 618 } 619 }, 620 "loc": { 621 "start": { 622 "line": 24, 623 "column": 19, 624 "program": "conversion_w_functions.ets" 625 }, 626 "end": { 627 "line": 24, 628 "column": 25, 629 "program": "conversion_w_functions.ets" 630 } 631 } 632 }, 633 "body": { 634 "type": "BlockStatement", 635 "statements": [ 636 { 637 "type": "ReturnStatement", 638 "argument": { 639 "type": "TSAsExpression", 640 "expression": { 641 "type": "CallExpression", 642 "callee": { 643 "type": "Identifier", 644 "name": "getI", 645 "decorators": [], 646 "loc": { 647 "start": { 648 "line": 25, 649 "column": 12, 650 "program": "conversion_w_functions.ets" 651 }, 652 "end": { 653 "line": 25, 654 "column": 16, 655 "program": "conversion_w_functions.ets" 656 } 657 } 658 }, 659 "arguments": [ 660 { 661 "type": "NumberLiteral", 662 "value": 0, 663 "loc": { 664 "start": { 665 "line": 25, 666 "column": 17, 667 "program": "conversion_w_functions.ets" 668 }, 669 "end": { 670 "line": 25, 671 "column": 18, 672 "program": "conversion_w_functions.ets" 673 } 674 } 675 } 676 ], 677 "optional": false, 678 "loc": { 679 "start": { 680 "line": 25, 681 "column": 12, 682 "program": "conversion_w_functions.ets" 683 }, 684 "end": { 685 "line": 25, 686 "column": 19, 687 "program": "conversion_w_functions.ets" 688 } 689 } 690 }, 691 "typeAnnotation": { 692 "type": "ETSPrimitiveType", 693 "loc": { 694 "start": { 695 "line": 25, 696 "column": 23, 697 "program": "conversion_w_functions.ets" 698 }, 699 "end": { 700 "line": 25, 701 "column": 27, 702 "program": "conversion_w_functions.ets" 703 } 704 } 705 }, 706 "loc": { 707 "start": { 708 "line": 25, 709 "column": 12, 710 "program": "conversion_w_functions.ets" 711 }, 712 "end": { 713 "line": 25, 714 "column": 19, 715 "program": "conversion_w_functions.ets" 716 } 717 } 718 }, 719 "loc": { 720 "start": { 721 "line": 25, 722 "column": 5, 723 "program": "conversion_w_functions.ets" 724 }, 725 "end": { 726 "line": 25, 727 "column": 28, 728 "program": "conversion_w_functions.ets" 729 } 730 } 731 } 732 ], 733 "loc": { 734 "start": { 735 "line": 24, 736 "column": 24, 737 "program": "conversion_w_functions.ets" 738 }, 739 "end": { 740 "line": 26, 741 "column": 2, 742 "program": "conversion_w_functions.ets" 743 } 744 } 745 }, 746 "loc": { 747 "start": { 748 "line": 24, 749 "column": 10, 750 "program": "conversion_w_functions.ets" 751 }, 752 "end": { 753 "line": 26, 754 "column": 2, 755 "program": "conversion_w_functions.ets" 756 } 757 } 758 }, 759 "loc": { 760 "start": { 761 "line": 24, 762 "column": 10, 763 "program": "conversion_w_functions.ets" 764 }, 765 "end": { 766 "line": 26, 767 "column": 2, 768 "program": "conversion_w_functions.ets" 769 } 770 } 771 }, 772 "overloads": [], 773 "decorators": [], 774 "loc": { 775 "start": { 776 "line": 24, 777 "column": 1, 778 "program": "conversion_w_functions.ets" 779 }, 780 "end": { 781 "line": 26, 782 "column": 2, 783 "program": "conversion_w_functions.ets" 784 } 785 } 786 }, 787 { 788 "type": "MethodDefinition", 789 "key": { 790 "type": "Identifier", 791 "name": "banana", 792 "decorators": [], 793 "loc": { 794 "start": { 795 "line": 28, 796 "column": 10, 797 "program": "conversion_w_functions.ets" 798 }, 799 "end": { 800 "line": 28, 801 "column": 16, 802 "program": "conversion_w_functions.ets" 803 } 804 } 805 }, 806 "kind": "method", 807 "accessibility": "public", 808 "static": true, 809 "optional": false, 810 "computed": false, 811 "value": { 812 "type": "FunctionExpression", 813 "function": { 814 "type": "ScriptFunction", 815 "id": { 816 "type": "Identifier", 817 "name": "banana", 818 "decorators": [], 819 "loc": { 820 "start": { 821 "line": 28, 822 "column": 10, 823 "program": "conversion_w_functions.ets" 824 }, 825 "end": { 826 "line": 28, 827 "column": 16, 828 "program": "conversion_w_functions.ets" 829 } 830 } 831 }, 832 "generator": false, 833 "async": false, 834 "expression": false, 835 "params": [], 836 "returnType": { 837 "type": "ETSTypeReference", 838 "part": { 839 "type": "ETSTypeReferencePart", 840 "name": { 841 "type": "Identifier", 842 "name": "Short", 843 "decorators": [], 844 "loc": { 845 "start": { 846 "line": 28, 847 "column": 20, 848 "program": "conversion_w_functions.ets" 849 }, 850 "end": { 851 "line": 28, 852 "column": 25, 853 "program": "conversion_w_functions.ets" 854 } 855 } 856 }, 857 "loc": { 858 "start": { 859 "line": 28, 860 "column": 20, 861 "program": "conversion_w_functions.ets" 862 }, 863 "end": { 864 "line": 28, 865 "column": 27, 866 "program": "conversion_w_functions.ets" 867 } 868 } 869 }, 870 "loc": { 871 "start": { 872 "line": 28, 873 "column": 20, 874 "program": "conversion_w_functions.ets" 875 }, 876 "end": { 877 "line": 28, 878 "column": 27, 879 "program": "conversion_w_functions.ets" 880 } 881 } 882 }, 883 "body": { 884 "type": "BlockStatement", 885 "statements": [ 886 { 887 "type": "ReturnStatement", 888 "argument": { 889 "type": "TSAsExpression", 890 "expression": { 891 "type": "CallExpression", 892 "callee": { 893 "type": "Identifier", 894 "name": "getI", 895 "decorators": [], 896 "loc": { 897 "start": { 898 "line": 29, 899 "column": 12, 900 "program": "conversion_w_functions.ets" 901 }, 902 "end": { 903 "line": 29, 904 "column": 16, 905 "program": "conversion_w_functions.ets" 906 } 907 } 908 }, 909 "arguments": [ 910 { 911 "type": "NumberLiteral", 912 "value": 1, 913 "loc": { 914 "start": { 915 "line": 29, 916 "column": 17, 917 "program": "conversion_w_functions.ets" 918 }, 919 "end": { 920 "line": 29, 921 "column": 18, 922 "program": "conversion_w_functions.ets" 923 } 924 } 925 } 926 ], 927 "optional": false, 928 "loc": { 929 "start": { 930 "line": 29, 931 "column": 12, 932 "program": "conversion_w_functions.ets" 933 }, 934 "end": { 935 "line": 29, 936 "column": 19, 937 "program": "conversion_w_functions.ets" 938 } 939 } 940 }, 941 "typeAnnotation": { 942 "type": "ETSPrimitiveType", 943 "loc": { 944 "start": { 945 "line": 29, 946 "column": 23, 947 "program": "conversion_w_functions.ets" 948 }, 949 "end": { 950 "line": 29, 951 "column": 28, 952 "program": "conversion_w_functions.ets" 953 } 954 } 955 }, 956 "loc": { 957 "start": { 958 "line": 29, 959 "column": 12, 960 "program": "conversion_w_functions.ets" 961 }, 962 "end": { 963 "line": 29, 964 "column": 19, 965 "program": "conversion_w_functions.ets" 966 } 967 } 968 }, 969 "loc": { 970 "start": { 971 "line": 29, 972 "column": 5, 973 "program": "conversion_w_functions.ets" 974 }, 975 "end": { 976 "line": 29, 977 "column": 29, 978 "program": "conversion_w_functions.ets" 979 } 980 } 981 } 982 ], 983 "loc": { 984 "start": { 985 "line": 28, 986 "column": 26, 987 "program": "conversion_w_functions.ets" 988 }, 989 "end": { 990 "line": 30, 991 "column": 2, 992 "program": "conversion_w_functions.ets" 993 } 994 } 995 }, 996 "loc": { 997 "start": { 998 "line": 28, 999 "column": 10, 1000 "program": "conversion_w_functions.ets" 1001 }, 1002 "end": { 1003 "line": 30, 1004 "column": 2, 1005 "program": "conversion_w_functions.ets" 1006 } 1007 } 1008 }, 1009 "loc": { 1010 "start": { 1011 "line": 28, 1012 "column": 10, 1013 "program": "conversion_w_functions.ets" 1014 }, 1015 "end": { 1016 "line": 30, 1017 "column": 2, 1018 "program": "conversion_w_functions.ets" 1019 } 1020 } 1021 }, 1022 "overloads": [], 1023 "decorators": [], 1024 "loc": { 1025 "start": { 1026 "line": 28, 1027 "column": 1, 1028 "program": "conversion_w_functions.ets" 1029 }, 1030 "end": { 1031 "line": 30, 1032 "column": 2, 1033 "program": "conversion_w_functions.ets" 1034 } 1035 } 1036 }, 1037 { 1038 "type": "MethodDefinition", 1039 "key": { 1040 "type": "Identifier", 1041 "name": "cherry", 1042 "decorators": [], 1043 "loc": { 1044 "start": { 1045 "line": 32, 1046 "column": 10, 1047 "program": "conversion_w_functions.ets" 1048 }, 1049 "end": { 1050 "line": 32, 1051 "column": 16, 1052 "program": "conversion_w_functions.ets" 1053 } 1054 } 1055 }, 1056 "kind": "method", 1057 "accessibility": "public", 1058 "static": true, 1059 "optional": false, 1060 "computed": false, 1061 "value": { 1062 "type": "FunctionExpression", 1063 "function": { 1064 "type": "ScriptFunction", 1065 "id": { 1066 "type": "Identifier", 1067 "name": "cherry", 1068 "decorators": [], 1069 "loc": { 1070 "start": { 1071 "line": 32, 1072 "column": 10, 1073 "program": "conversion_w_functions.ets" 1074 }, 1075 "end": { 1076 "line": 32, 1077 "column": 16, 1078 "program": "conversion_w_functions.ets" 1079 } 1080 } 1081 }, 1082 "generator": false, 1083 "async": false, 1084 "expression": false, 1085 "params": [], 1086 "returnType": { 1087 "type": "ETSTypeReference", 1088 "part": { 1089 "type": "ETSTypeReferencePart", 1090 "name": { 1091 "type": "Identifier", 1092 "name": "Int", 1093 "decorators": [], 1094 "loc": { 1095 "start": { 1096 "line": 32, 1097 "column": 20, 1098 "program": "conversion_w_functions.ets" 1099 }, 1100 "end": { 1101 "line": 32, 1102 "column": 23, 1103 "program": "conversion_w_functions.ets" 1104 } 1105 } 1106 }, 1107 "loc": { 1108 "start": { 1109 "line": 32, 1110 "column": 20, 1111 "program": "conversion_w_functions.ets" 1112 }, 1113 "end": { 1114 "line": 32, 1115 "column": 25, 1116 "program": "conversion_w_functions.ets" 1117 } 1118 } 1119 }, 1120 "loc": { 1121 "start": { 1122 "line": 32, 1123 "column": 20, 1124 "program": "conversion_w_functions.ets" 1125 }, 1126 "end": { 1127 "line": 32, 1128 "column": 25, 1129 "program": "conversion_w_functions.ets" 1130 } 1131 } 1132 }, 1133 "body": { 1134 "type": "BlockStatement", 1135 "statements": [ 1136 { 1137 "type": "ReturnStatement", 1138 "argument": { 1139 "type": "TSAsExpression", 1140 "expression": { 1141 "type": "CallExpression", 1142 "callee": { 1143 "type": "Identifier", 1144 "name": "getI", 1145 "decorators": [], 1146 "loc": { 1147 "start": { 1148 "line": 33, 1149 "column": 12, 1150 "program": "conversion_w_functions.ets" 1151 }, 1152 "end": { 1153 "line": 33, 1154 "column": 16, 1155 "program": "conversion_w_functions.ets" 1156 } 1157 } 1158 }, 1159 "arguments": [ 1160 { 1161 "type": "NumberLiteral", 1162 "value": 2, 1163 "loc": { 1164 "start": { 1165 "line": 33, 1166 "column": 17, 1167 "program": "conversion_w_functions.ets" 1168 }, 1169 "end": { 1170 "line": 33, 1171 "column": 18, 1172 "program": "conversion_w_functions.ets" 1173 } 1174 } 1175 } 1176 ], 1177 "optional": false, 1178 "loc": { 1179 "start": { 1180 "line": 33, 1181 "column": 12, 1182 "program": "conversion_w_functions.ets" 1183 }, 1184 "end": { 1185 "line": 33, 1186 "column": 19, 1187 "program": "conversion_w_functions.ets" 1188 } 1189 } 1190 }, 1191 "typeAnnotation": { 1192 "type": "ETSPrimitiveType", 1193 "loc": { 1194 "start": { 1195 "line": 33, 1196 "column": 23, 1197 "program": "conversion_w_functions.ets" 1198 }, 1199 "end": { 1200 "line": 33, 1201 "column": 26, 1202 "program": "conversion_w_functions.ets" 1203 } 1204 } 1205 }, 1206 "loc": { 1207 "start": { 1208 "line": 33, 1209 "column": 12, 1210 "program": "conversion_w_functions.ets" 1211 }, 1212 "end": { 1213 "line": 33, 1214 "column": 19, 1215 "program": "conversion_w_functions.ets" 1216 } 1217 } 1218 }, 1219 "loc": { 1220 "start": { 1221 "line": 33, 1222 "column": 5, 1223 "program": "conversion_w_functions.ets" 1224 }, 1225 "end": { 1226 "line": 33, 1227 "column": 27, 1228 "program": "conversion_w_functions.ets" 1229 } 1230 } 1231 } 1232 ], 1233 "loc": { 1234 "start": { 1235 "line": 32, 1236 "column": 24, 1237 "program": "conversion_w_functions.ets" 1238 }, 1239 "end": { 1240 "line": 34, 1241 "column": 2, 1242 "program": "conversion_w_functions.ets" 1243 } 1244 } 1245 }, 1246 "loc": { 1247 "start": { 1248 "line": 32, 1249 "column": 10, 1250 "program": "conversion_w_functions.ets" 1251 }, 1252 "end": { 1253 "line": 34, 1254 "column": 2, 1255 "program": "conversion_w_functions.ets" 1256 } 1257 } 1258 }, 1259 "loc": { 1260 "start": { 1261 "line": 32, 1262 "column": 10, 1263 "program": "conversion_w_functions.ets" 1264 }, 1265 "end": { 1266 "line": 34, 1267 "column": 2, 1268 "program": "conversion_w_functions.ets" 1269 } 1270 } 1271 }, 1272 "overloads": [], 1273 "decorators": [], 1274 "loc": { 1275 "start": { 1276 "line": 32, 1277 "column": 1, 1278 "program": "conversion_w_functions.ets" 1279 }, 1280 "end": { 1281 "line": 34, 1282 "column": 2, 1283 "program": "conversion_w_functions.ets" 1284 } 1285 } 1286 }, 1287 { 1288 "type": "MethodDefinition", 1289 "key": { 1290 "type": "Identifier", 1291 "name": "date", 1292 "decorators": [], 1293 "loc": { 1294 "start": { 1295 "line": 36, 1296 "column": 10, 1297 "program": "conversion_w_functions.ets" 1298 }, 1299 "end": { 1300 "line": 36, 1301 "column": 14, 1302 "program": "conversion_w_functions.ets" 1303 } 1304 } 1305 }, 1306 "kind": "method", 1307 "accessibility": "public", 1308 "static": true, 1309 "optional": false, 1310 "computed": false, 1311 "value": { 1312 "type": "FunctionExpression", 1313 "function": { 1314 "type": "ScriptFunction", 1315 "id": { 1316 "type": "Identifier", 1317 "name": "date", 1318 "decorators": [], 1319 "loc": { 1320 "start": { 1321 "line": 36, 1322 "column": 10, 1323 "program": "conversion_w_functions.ets" 1324 }, 1325 "end": { 1326 "line": 36, 1327 "column": 14, 1328 "program": "conversion_w_functions.ets" 1329 } 1330 } 1331 }, 1332 "generator": false, 1333 "async": false, 1334 "expression": false, 1335 "params": [], 1336 "returnType": { 1337 "type": "ETSTypeReference", 1338 "part": { 1339 "type": "ETSTypeReferencePart", 1340 "name": { 1341 "type": "Identifier", 1342 "name": "Long", 1343 "decorators": [], 1344 "loc": { 1345 "start": { 1346 "line": 36, 1347 "column": 18, 1348 "program": "conversion_w_functions.ets" 1349 }, 1350 "end": { 1351 "line": 36, 1352 "column": 22, 1353 "program": "conversion_w_functions.ets" 1354 } 1355 } 1356 }, 1357 "loc": { 1358 "start": { 1359 "line": 36, 1360 "column": 18, 1361 "program": "conversion_w_functions.ets" 1362 }, 1363 "end": { 1364 "line": 36, 1365 "column": 24, 1366 "program": "conversion_w_functions.ets" 1367 } 1368 } 1369 }, 1370 "loc": { 1371 "start": { 1372 "line": 36, 1373 "column": 18, 1374 "program": "conversion_w_functions.ets" 1375 }, 1376 "end": { 1377 "line": 36, 1378 "column": 24, 1379 "program": "conversion_w_functions.ets" 1380 } 1381 } 1382 }, 1383 "body": { 1384 "type": "BlockStatement", 1385 "statements": [ 1386 { 1387 "type": "ReturnStatement", 1388 "argument": { 1389 "type": "TSAsExpression", 1390 "expression": { 1391 "type": "CallExpression", 1392 "callee": { 1393 "type": "Identifier", 1394 "name": "getI", 1395 "decorators": [], 1396 "loc": { 1397 "start": { 1398 "line": 37, 1399 "column": 12, 1400 "program": "conversion_w_functions.ets" 1401 }, 1402 "end": { 1403 "line": 37, 1404 "column": 16, 1405 "program": "conversion_w_functions.ets" 1406 } 1407 } 1408 }, 1409 "arguments": [ 1410 { 1411 "type": "NumberLiteral", 1412 "value": 3, 1413 "loc": { 1414 "start": { 1415 "line": 37, 1416 "column": 17, 1417 "program": "conversion_w_functions.ets" 1418 }, 1419 "end": { 1420 "line": 37, 1421 "column": 18, 1422 "program": "conversion_w_functions.ets" 1423 } 1424 } 1425 } 1426 ], 1427 "optional": false, 1428 "loc": { 1429 "start": { 1430 "line": 37, 1431 "column": 12, 1432 "program": "conversion_w_functions.ets" 1433 }, 1434 "end": { 1435 "line": 37, 1436 "column": 19, 1437 "program": "conversion_w_functions.ets" 1438 } 1439 } 1440 }, 1441 "typeAnnotation": { 1442 "type": "ETSPrimitiveType", 1443 "loc": { 1444 "start": { 1445 "line": 37, 1446 "column": 23, 1447 "program": "conversion_w_functions.ets" 1448 }, 1449 "end": { 1450 "line": 37, 1451 "column": 27, 1452 "program": "conversion_w_functions.ets" 1453 } 1454 } 1455 }, 1456 "loc": { 1457 "start": { 1458 "line": 37, 1459 "column": 12, 1460 "program": "conversion_w_functions.ets" 1461 }, 1462 "end": { 1463 "line": 37, 1464 "column": 19, 1465 "program": "conversion_w_functions.ets" 1466 } 1467 } 1468 }, 1469 "loc": { 1470 "start": { 1471 "line": 37, 1472 "column": 5, 1473 "program": "conversion_w_functions.ets" 1474 }, 1475 "end": { 1476 "line": 37, 1477 "column": 28, 1478 "program": "conversion_w_functions.ets" 1479 } 1480 } 1481 } 1482 ], 1483 "loc": { 1484 "start": { 1485 "line": 36, 1486 "column": 23, 1487 "program": "conversion_w_functions.ets" 1488 }, 1489 "end": { 1490 "line": 38, 1491 "column": 2, 1492 "program": "conversion_w_functions.ets" 1493 } 1494 } 1495 }, 1496 "loc": { 1497 "start": { 1498 "line": 36, 1499 "column": 10, 1500 "program": "conversion_w_functions.ets" 1501 }, 1502 "end": { 1503 "line": 38, 1504 "column": 2, 1505 "program": "conversion_w_functions.ets" 1506 } 1507 } 1508 }, 1509 "loc": { 1510 "start": { 1511 "line": 36, 1512 "column": 10, 1513 "program": "conversion_w_functions.ets" 1514 }, 1515 "end": { 1516 "line": 38, 1517 "column": 2, 1518 "program": "conversion_w_functions.ets" 1519 } 1520 } 1521 }, 1522 "overloads": [], 1523 "decorators": [], 1524 "loc": { 1525 "start": { 1526 "line": 36, 1527 "column": 1, 1528 "program": "conversion_w_functions.ets" 1529 }, 1530 "end": { 1531 "line": 38, 1532 "column": 2, 1533 "program": "conversion_w_functions.ets" 1534 } 1535 } 1536 }, 1537 { 1538 "type": "MethodDefinition", 1539 "key": { 1540 "type": "Identifier", 1541 "name": "elderberry", 1542 "decorators": [], 1543 "loc": { 1544 "start": { 1545 "line": 40, 1546 "column": 10, 1547 "program": "conversion_w_functions.ets" 1548 }, 1549 "end": { 1550 "line": 40, 1551 "column": 20, 1552 "program": "conversion_w_functions.ets" 1553 } 1554 } 1555 }, 1556 "kind": "method", 1557 "accessibility": "public", 1558 "static": true, 1559 "optional": false, 1560 "computed": false, 1561 "value": { 1562 "type": "FunctionExpression", 1563 "function": { 1564 "type": "ScriptFunction", 1565 "id": { 1566 "type": "Identifier", 1567 "name": "elderberry", 1568 "decorators": [], 1569 "loc": { 1570 "start": { 1571 "line": 40, 1572 "column": 10, 1573 "program": "conversion_w_functions.ets" 1574 }, 1575 "end": { 1576 "line": 40, 1577 "column": 20, 1578 "program": "conversion_w_functions.ets" 1579 } 1580 } 1581 }, 1582 "generator": false, 1583 "async": false, 1584 "expression": false, 1585 "params": [], 1586 "returnType": { 1587 "type": "ETSTypeReference", 1588 "part": { 1589 "type": "ETSTypeReferencePart", 1590 "name": { 1591 "type": "Identifier", 1592 "name": "Float", 1593 "decorators": [], 1594 "loc": { 1595 "start": { 1596 "line": 40, 1597 "column": 24, 1598 "program": "conversion_w_functions.ets" 1599 }, 1600 "end": { 1601 "line": 40, 1602 "column": 29, 1603 "program": "conversion_w_functions.ets" 1604 } 1605 } 1606 }, 1607 "loc": { 1608 "start": { 1609 "line": 40, 1610 "column": 24, 1611 "program": "conversion_w_functions.ets" 1612 }, 1613 "end": { 1614 "line": 40, 1615 "column": 31, 1616 "program": "conversion_w_functions.ets" 1617 } 1618 } 1619 }, 1620 "loc": { 1621 "start": { 1622 "line": 40, 1623 "column": 24, 1624 "program": "conversion_w_functions.ets" 1625 }, 1626 "end": { 1627 "line": 40, 1628 "column": 31, 1629 "program": "conversion_w_functions.ets" 1630 } 1631 } 1632 }, 1633 "body": { 1634 "type": "BlockStatement", 1635 "statements": [ 1636 { 1637 "type": "ReturnStatement", 1638 "argument": { 1639 "type": "TSAsExpression", 1640 "expression": { 1641 "type": "CallExpression", 1642 "callee": { 1643 "type": "Identifier", 1644 "name": "getI", 1645 "decorators": [], 1646 "loc": { 1647 "start": { 1648 "line": 41, 1649 "column": 12, 1650 "program": "conversion_w_functions.ets" 1651 }, 1652 "end": { 1653 "line": 41, 1654 "column": 16, 1655 "program": "conversion_w_functions.ets" 1656 } 1657 } 1658 }, 1659 "arguments": [ 1660 { 1661 "type": "NumberLiteral", 1662 "value": 4, 1663 "loc": { 1664 "start": { 1665 "line": 41, 1666 "column": 17, 1667 "program": "conversion_w_functions.ets" 1668 }, 1669 "end": { 1670 "line": 41, 1671 "column": 18, 1672 "program": "conversion_w_functions.ets" 1673 } 1674 } 1675 } 1676 ], 1677 "optional": false, 1678 "loc": { 1679 "start": { 1680 "line": 41, 1681 "column": 12, 1682 "program": "conversion_w_functions.ets" 1683 }, 1684 "end": { 1685 "line": 41, 1686 "column": 19, 1687 "program": "conversion_w_functions.ets" 1688 } 1689 } 1690 }, 1691 "typeAnnotation": { 1692 "type": "ETSPrimitiveType", 1693 "loc": { 1694 "start": { 1695 "line": 41, 1696 "column": 23, 1697 "program": "conversion_w_functions.ets" 1698 }, 1699 "end": { 1700 "line": 41, 1701 "column": 28, 1702 "program": "conversion_w_functions.ets" 1703 } 1704 } 1705 }, 1706 "loc": { 1707 "start": { 1708 "line": 41, 1709 "column": 12, 1710 "program": "conversion_w_functions.ets" 1711 }, 1712 "end": { 1713 "line": 41, 1714 "column": 19, 1715 "program": "conversion_w_functions.ets" 1716 } 1717 } 1718 }, 1719 "loc": { 1720 "start": { 1721 "line": 41, 1722 "column": 5, 1723 "program": "conversion_w_functions.ets" 1724 }, 1725 "end": { 1726 "line": 41, 1727 "column": 29, 1728 "program": "conversion_w_functions.ets" 1729 } 1730 } 1731 } 1732 ], 1733 "loc": { 1734 "start": { 1735 "line": 40, 1736 "column": 30, 1737 "program": "conversion_w_functions.ets" 1738 }, 1739 "end": { 1740 "line": 42, 1741 "column": 2, 1742 "program": "conversion_w_functions.ets" 1743 } 1744 } 1745 }, 1746 "loc": { 1747 "start": { 1748 "line": 40, 1749 "column": 10, 1750 "program": "conversion_w_functions.ets" 1751 }, 1752 "end": { 1753 "line": 42, 1754 "column": 2, 1755 "program": "conversion_w_functions.ets" 1756 } 1757 } 1758 }, 1759 "loc": { 1760 "start": { 1761 "line": 40, 1762 "column": 10, 1763 "program": "conversion_w_functions.ets" 1764 }, 1765 "end": { 1766 "line": 42, 1767 "column": 2, 1768 "program": "conversion_w_functions.ets" 1769 } 1770 } 1771 }, 1772 "overloads": [], 1773 "decorators": [], 1774 "loc": { 1775 "start": { 1776 "line": 40, 1777 "column": 1, 1778 "program": "conversion_w_functions.ets" 1779 }, 1780 "end": { 1781 "line": 42, 1782 "column": 2, 1783 "program": "conversion_w_functions.ets" 1784 } 1785 } 1786 }, 1787 { 1788 "type": "MethodDefinition", 1789 "key": { 1790 "type": "Identifier", 1791 "name": "fig", 1792 "decorators": [], 1793 "loc": { 1794 "start": { 1795 "line": 44, 1796 "column": 10, 1797 "program": "conversion_w_functions.ets" 1798 }, 1799 "end": { 1800 "line": 44, 1801 "column": 13, 1802 "program": "conversion_w_functions.ets" 1803 } 1804 } 1805 }, 1806 "kind": "method", 1807 "accessibility": "public", 1808 "static": true, 1809 "optional": false, 1810 "computed": false, 1811 "value": { 1812 "type": "FunctionExpression", 1813 "function": { 1814 "type": "ScriptFunction", 1815 "id": { 1816 "type": "Identifier", 1817 "name": "fig", 1818 "decorators": [], 1819 "loc": { 1820 "start": { 1821 "line": 44, 1822 "column": 10, 1823 "program": "conversion_w_functions.ets" 1824 }, 1825 "end": { 1826 "line": 44, 1827 "column": 13, 1828 "program": "conversion_w_functions.ets" 1829 } 1830 } 1831 }, 1832 "generator": false, 1833 "async": false, 1834 "expression": false, 1835 "params": [], 1836 "returnType": { 1837 "type": "ETSTypeReference", 1838 "part": { 1839 "type": "ETSTypeReferencePart", 1840 "name": { 1841 "type": "Identifier", 1842 "name": "Float", 1843 "decorators": [], 1844 "loc": { 1845 "start": { 1846 "line": 44, 1847 "column": 17, 1848 "program": "conversion_w_functions.ets" 1849 }, 1850 "end": { 1851 "line": 44, 1852 "column": 22, 1853 "program": "conversion_w_functions.ets" 1854 } 1855 } 1856 }, 1857 "loc": { 1858 "start": { 1859 "line": 44, 1860 "column": 17, 1861 "program": "conversion_w_functions.ets" 1862 }, 1863 "end": { 1864 "line": 44, 1865 "column": 24, 1866 "program": "conversion_w_functions.ets" 1867 } 1868 } 1869 }, 1870 "loc": { 1871 "start": { 1872 "line": 44, 1873 "column": 17, 1874 "program": "conversion_w_functions.ets" 1875 }, 1876 "end": { 1877 "line": 44, 1878 "column": 24, 1879 "program": "conversion_w_functions.ets" 1880 } 1881 } 1882 }, 1883 "body": { 1884 "type": "BlockStatement", 1885 "statements": [ 1886 { 1887 "type": "ReturnStatement", 1888 "argument": { 1889 "type": "TSAsExpression", 1890 "expression": { 1891 "type": "CallExpression", 1892 "callee": { 1893 "type": "Identifier", 1894 "name": "getD", 1895 "decorators": [], 1896 "loc": { 1897 "start": { 1898 "line": 45, 1899 "column": 12, 1900 "program": "conversion_w_functions.ets" 1901 }, 1902 "end": { 1903 "line": 45, 1904 "column": 16, 1905 "program": "conversion_w_functions.ets" 1906 } 1907 } 1908 }, 1909 "arguments": [ 1910 { 1911 "type": "NumberLiteral", 1912 "value": 4, 1913 "loc": { 1914 "start": { 1915 "line": 45, 1916 "column": 17, 1917 "program": "conversion_w_functions.ets" 1918 }, 1919 "end": { 1920 "line": 45, 1921 "column": 20, 1922 "program": "conversion_w_functions.ets" 1923 } 1924 } 1925 } 1926 ], 1927 "optional": false, 1928 "loc": { 1929 "start": { 1930 "line": 45, 1931 "column": 12, 1932 "program": "conversion_w_functions.ets" 1933 }, 1934 "end": { 1935 "line": 45, 1936 "column": 21, 1937 "program": "conversion_w_functions.ets" 1938 } 1939 } 1940 }, 1941 "typeAnnotation": { 1942 "type": "ETSPrimitiveType", 1943 "loc": { 1944 "start": { 1945 "line": 45, 1946 "column": 25, 1947 "program": "conversion_w_functions.ets" 1948 }, 1949 "end": { 1950 "line": 45, 1951 "column": 30, 1952 "program": "conversion_w_functions.ets" 1953 } 1954 } 1955 }, 1956 "loc": { 1957 "start": { 1958 "line": 45, 1959 "column": 12, 1960 "program": "conversion_w_functions.ets" 1961 }, 1962 "end": { 1963 "line": 45, 1964 "column": 21, 1965 "program": "conversion_w_functions.ets" 1966 } 1967 } 1968 }, 1969 "loc": { 1970 "start": { 1971 "line": 45, 1972 "column": 5, 1973 "program": "conversion_w_functions.ets" 1974 }, 1975 "end": { 1976 "line": 45, 1977 "column": 31, 1978 "program": "conversion_w_functions.ets" 1979 } 1980 } 1981 } 1982 ], 1983 "loc": { 1984 "start": { 1985 "line": 44, 1986 "column": 23, 1987 "program": "conversion_w_functions.ets" 1988 }, 1989 "end": { 1990 "line": 46, 1991 "column": 2, 1992 "program": "conversion_w_functions.ets" 1993 } 1994 } 1995 }, 1996 "loc": { 1997 "start": { 1998 "line": 44, 1999 "column": 10, 2000 "program": "conversion_w_functions.ets" 2001 }, 2002 "end": { 2003 "line": 46, 2004 "column": 2, 2005 "program": "conversion_w_functions.ets" 2006 } 2007 } 2008 }, 2009 "loc": { 2010 "start": { 2011 "line": 44, 2012 "column": 10, 2013 "program": "conversion_w_functions.ets" 2014 }, 2015 "end": { 2016 "line": 46, 2017 "column": 2, 2018 "program": "conversion_w_functions.ets" 2019 } 2020 } 2021 }, 2022 "overloads": [], 2023 "decorators": [], 2024 "loc": { 2025 "start": { 2026 "line": 44, 2027 "column": 1, 2028 "program": "conversion_w_functions.ets" 2029 }, 2030 "end": { 2031 "line": 46, 2032 "column": 2, 2033 "program": "conversion_w_functions.ets" 2034 } 2035 } 2036 }, 2037 { 2038 "type": "MethodDefinition", 2039 "key": { 2040 "type": "Identifier", 2041 "name": "grape", 2042 "decorators": [], 2043 "loc": { 2044 "start": { 2045 "line": 48, 2046 "column": 10, 2047 "program": "conversion_w_functions.ets" 2048 }, 2049 "end": { 2050 "line": 48, 2051 "column": 15, 2052 "program": "conversion_w_functions.ets" 2053 } 2054 } 2055 }, 2056 "kind": "method", 2057 "accessibility": "public", 2058 "static": true, 2059 "optional": false, 2060 "computed": false, 2061 "value": { 2062 "type": "FunctionExpression", 2063 "function": { 2064 "type": "ScriptFunction", 2065 "id": { 2066 "type": "Identifier", 2067 "name": "grape", 2068 "decorators": [], 2069 "loc": { 2070 "start": { 2071 "line": 48, 2072 "column": 10, 2073 "program": "conversion_w_functions.ets" 2074 }, 2075 "end": { 2076 "line": 48, 2077 "column": 15, 2078 "program": "conversion_w_functions.ets" 2079 } 2080 } 2081 }, 2082 "generator": false, 2083 "async": false, 2084 "expression": false, 2085 "params": [], 2086 "returnType": { 2087 "type": "ETSTypeReference", 2088 "part": { 2089 "type": "ETSTypeReferencePart", 2090 "name": { 2091 "type": "Identifier", 2092 "name": "Double", 2093 "decorators": [], 2094 "loc": { 2095 "start": { 2096 "line": 48, 2097 "column": 19, 2098 "program": "conversion_w_functions.ets" 2099 }, 2100 "end": { 2101 "line": 48, 2102 "column": 25, 2103 "program": "conversion_w_functions.ets" 2104 } 2105 } 2106 }, 2107 "loc": { 2108 "start": { 2109 "line": 48, 2110 "column": 19, 2111 "program": "conversion_w_functions.ets" 2112 }, 2113 "end": { 2114 "line": 48, 2115 "column": 27, 2116 "program": "conversion_w_functions.ets" 2117 } 2118 } 2119 }, 2120 "loc": { 2121 "start": { 2122 "line": 48, 2123 "column": 19, 2124 "program": "conversion_w_functions.ets" 2125 }, 2126 "end": { 2127 "line": 48, 2128 "column": 27, 2129 "program": "conversion_w_functions.ets" 2130 } 2131 } 2132 }, 2133 "body": { 2134 "type": "BlockStatement", 2135 "statements": [ 2136 { 2137 "type": "ReturnStatement", 2138 "argument": { 2139 "type": "TSAsExpression", 2140 "expression": { 2141 "type": "CallExpression", 2142 "callee": { 2143 "type": "Identifier", 2144 "name": "getI", 2145 "decorators": [], 2146 "loc": { 2147 "start": { 2148 "line": 49, 2149 "column": 12, 2150 "program": "conversion_w_functions.ets" 2151 }, 2152 "end": { 2153 "line": 49, 2154 "column": 16, 2155 "program": "conversion_w_functions.ets" 2156 } 2157 } 2158 }, 2159 "arguments": [ 2160 { 2161 "type": "NumberLiteral", 2162 "value": 5, 2163 "loc": { 2164 "start": { 2165 "line": 49, 2166 "column": 17, 2167 "program": "conversion_w_functions.ets" 2168 }, 2169 "end": { 2170 "line": 49, 2171 "column": 18, 2172 "program": "conversion_w_functions.ets" 2173 } 2174 } 2175 } 2176 ], 2177 "optional": false, 2178 "loc": { 2179 "start": { 2180 "line": 49, 2181 "column": 12, 2182 "program": "conversion_w_functions.ets" 2183 }, 2184 "end": { 2185 "line": 49, 2186 "column": 19, 2187 "program": "conversion_w_functions.ets" 2188 } 2189 } 2190 }, 2191 "typeAnnotation": { 2192 "type": "ETSPrimitiveType", 2193 "loc": { 2194 "start": { 2195 "line": 49, 2196 "column": 23, 2197 "program": "conversion_w_functions.ets" 2198 }, 2199 "end": { 2200 "line": 49, 2201 "column": 29, 2202 "program": "conversion_w_functions.ets" 2203 } 2204 } 2205 }, 2206 "loc": { 2207 "start": { 2208 "line": 49, 2209 "column": 12, 2210 "program": "conversion_w_functions.ets" 2211 }, 2212 "end": { 2213 "line": 49, 2214 "column": 19, 2215 "program": "conversion_w_functions.ets" 2216 } 2217 } 2218 }, 2219 "loc": { 2220 "start": { 2221 "line": 49, 2222 "column": 5, 2223 "program": "conversion_w_functions.ets" 2224 }, 2225 "end": { 2226 "line": 49, 2227 "column": 30, 2228 "program": "conversion_w_functions.ets" 2229 } 2230 } 2231 } 2232 ], 2233 "loc": { 2234 "start": { 2235 "line": 48, 2236 "column": 26, 2237 "program": "conversion_w_functions.ets" 2238 }, 2239 "end": { 2240 "line": 50, 2241 "column": 2, 2242 "program": "conversion_w_functions.ets" 2243 } 2244 } 2245 }, 2246 "loc": { 2247 "start": { 2248 "line": 48, 2249 "column": 10, 2250 "program": "conversion_w_functions.ets" 2251 }, 2252 "end": { 2253 "line": 50, 2254 "column": 2, 2255 "program": "conversion_w_functions.ets" 2256 } 2257 } 2258 }, 2259 "loc": { 2260 "start": { 2261 "line": 48, 2262 "column": 10, 2263 "program": "conversion_w_functions.ets" 2264 }, 2265 "end": { 2266 "line": 50, 2267 "column": 2, 2268 "program": "conversion_w_functions.ets" 2269 } 2270 } 2271 }, 2272 "overloads": [], 2273 "decorators": [], 2274 "loc": { 2275 "start": { 2276 "line": 48, 2277 "column": 1, 2278 "program": "conversion_w_functions.ets" 2279 }, 2280 "end": { 2281 "line": 50, 2282 "column": 2, 2283 "program": "conversion_w_functions.ets" 2284 } 2285 } 2286 }, 2287 { 2288 "type": "MethodDefinition", 2289 "key": { 2290 "type": "Identifier", 2291 "name": "honeydewmelon", 2292 "decorators": [], 2293 "loc": { 2294 "start": { 2295 "line": 52, 2296 "column": 10, 2297 "program": "conversion_w_functions.ets" 2298 }, 2299 "end": { 2300 "line": 52, 2301 "column": 23, 2302 "program": "conversion_w_functions.ets" 2303 } 2304 } 2305 }, 2306 "kind": "method", 2307 "accessibility": "public", 2308 "static": true, 2309 "optional": false, 2310 "computed": false, 2311 "value": { 2312 "type": "FunctionExpression", 2313 "function": { 2314 "type": "ScriptFunction", 2315 "id": { 2316 "type": "Identifier", 2317 "name": "honeydewmelon", 2318 "decorators": [], 2319 "loc": { 2320 "start": { 2321 "line": 52, 2322 "column": 10, 2323 "program": "conversion_w_functions.ets" 2324 }, 2325 "end": { 2326 "line": 52, 2327 "column": 23, 2328 "program": "conversion_w_functions.ets" 2329 } 2330 } 2331 }, 2332 "generator": false, 2333 "async": false, 2334 "expression": false, 2335 "params": [], 2336 "returnType": { 2337 "type": "ETSTypeReference", 2338 "part": { 2339 "type": "ETSTypeReferencePart", 2340 "name": { 2341 "type": "Identifier", 2342 "name": "Double", 2343 "decorators": [], 2344 "loc": { 2345 "start": { 2346 "line": 52, 2347 "column": 27, 2348 "program": "conversion_w_functions.ets" 2349 }, 2350 "end": { 2351 "line": 52, 2352 "column": 33, 2353 "program": "conversion_w_functions.ets" 2354 } 2355 } 2356 }, 2357 "loc": { 2358 "start": { 2359 "line": 52, 2360 "column": 27, 2361 "program": "conversion_w_functions.ets" 2362 }, 2363 "end": { 2364 "line": 52, 2365 "column": 35, 2366 "program": "conversion_w_functions.ets" 2367 } 2368 } 2369 }, 2370 "loc": { 2371 "start": { 2372 "line": 52, 2373 "column": 27, 2374 "program": "conversion_w_functions.ets" 2375 }, 2376 "end": { 2377 "line": 52, 2378 "column": 35, 2379 "program": "conversion_w_functions.ets" 2380 } 2381 } 2382 }, 2383 "body": { 2384 "type": "BlockStatement", 2385 "statements": [ 2386 { 2387 "type": "ReturnStatement", 2388 "argument": { 2389 "type": "TSAsExpression", 2390 "expression": { 2391 "type": "CallExpression", 2392 "callee": { 2393 "type": "Identifier", 2394 "name": "getD", 2395 "decorators": [], 2396 "loc": { 2397 "start": { 2398 "line": 53, 2399 "column": 12, 2400 "program": "conversion_w_functions.ets" 2401 }, 2402 "end": { 2403 "line": 53, 2404 "column": 16, 2405 "program": "conversion_w_functions.ets" 2406 } 2407 } 2408 }, 2409 "arguments": [ 2410 { 2411 "type": "NumberLiteral", 2412 "value": 5, 2413 "loc": { 2414 "start": { 2415 "line": 53, 2416 "column": 17, 2417 "program": "conversion_w_functions.ets" 2418 }, 2419 "end": { 2420 "line": 53, 2421 "column": 20, 2422 "program": "conversion_w_functions.ets" 2423 } 2424 } 2425 } 2426 ], 2427 "optional": false, 2428 "loc": { 2429 "start": { 2430 "line": 53, 2431 "column": 12, 2432 "program": "conversion_w_functions.ets" 2433 }, 2434 "end": { 2435 "line": 53, 2436 "column": 21, 2437 "program": "conversion_w_functions.ets" 2438 } 2439 } 2440 }, 2441 "typeAnnotation": { 2442 "type": "ETSPrimitiveType", 2443 "loc": { 2444 "start": { 2445 "line": 53, 2446 "column": 25, 2447 "program": "conversion_w_functions.ets" 2448 }, 2449 "end": { 2450 "line": 53, 2451 "column": 31, 2452 "program": "conversion_w_functions.ets" 2453 } 2454 } 2455 }, 2456 "loc": { 2457 "start": { 2458 "line": 53, 2459 "column": 12, 2460 "program": "conversion_w_functions.ets" 2461 }, 2462 "end": { 2463 "line": 53, 2464 "column": 21, 2465 "program": "conversion_w_functions.ets" 2466 } 2467 } 2468 }, 2469 "loc": { 2470 "start": { 2471 "line": 53, 2472 "column": 5, 2473 "program": "conversion_w_functions.ets" 2474 }, 2475 "end": { 2476 "line": 53, 2477 "column": 32, 2478 "program": "conversion_w_functions.ets" 2479 } 2480 } 2481 } 2482 ], 2483 "loc": { 2484 "start": { 2485 "line": 52, 2486 "column": 34, 2487 "program": "conversion_w_functions.ets" 2488 }, 2489 "end": { 2490 "line": 54, 2491 "column": 2, 2492 "program": "conversion_w_functions.ets" 2493 } 2494 } 2495 }, 2496 "loc": { 2497 "start": { 2498 "line": 52, 2499 "column": 10, 2500 "program": "conversion_w_functions.ets" 2501 }, 2502 "end": { 2503 "line": 54, 2504 "column": 2, 2505 "program": "conversion_w_functions.ets" 2506 } 2507 } 2508 }, 2509 "loc": { 2510 "start": { 2511 "line": 52, 2512 "column": 10, 2513 "program": "conversion_w_functions.ets" 2514 }, 2515 "end": { 2516 "line": 54, 2517 "column": 2, 2518 "program": "conversion_w_functions.ets" 2519 } 2520 } 2521 }, 2522 "overloads": [], 2523 "decorators": [], 2524 "loc": { 2525 "start": { 2526 "line": 52, 2527 "column": 1, 2528 "program": "conversion_w_functions.ets" 2529 }, 2530 "end": { 2531 "line": 54, 2532 "column": 2, 2533 "program": "conversion_w_functions.ets" 2534 } 2535 } 2536 }, 2537 { 2538 "type": "MethodDefinition", 2539 "key": { 2540 "type": "Identifier", 2541 "name": "indian_fig", 2542 "decorators": [], 2543 "loc": { 2544 "start": { 2545 "line": 56, 2546 "column": 10, 2547 "program": "conversion_w_functions.ets" 2548 }, 2549 "end": { 2550 "line": 56, 2551 "column": 20, 2552 "program": "conversion_w_functions.ets" 2553 } 2554 } 2555 }, 2556 "kind": "method", 2557 "accessibility": "public", 2558 "static": true, 2559 "optional": false, 2560 "computed": false, 2561 "value": { 2562 "type": "FunctionExpression", 2563 "function": { 2564 "type": "ScriptFunction", 2565 "id": { 2566 "type": "Identifier", 2567 "name": "indian_fig", 2568 "decorators": [], 2569 "loc": { 2570 "start": { 2571 "line": 56, 2572 "column": 10, 2573 "program": "conversion_w_functions.ets" 2574 }, 2575 "end": { 2576 "line": 56, 2577 "column": 20, 2578 "program": "conversion_w_functions.ets" 2579 } 2580 } 2581 }, 2582 "generator": false, 2583 "async": false, 2584 "expression": false, 2585 "params": [], 2586 "returnType": { 2587 "type": "ETSTypeReference", 2588 "part": { 2589 "type": "ETSTypeReferencePart", 2590 "name": { 2591 "type": "Identifier", 2592 "name": "Char", 2593 "decorators": [], 2594 "loc": { 2595 "start": { 2596 "line": 56, 2597 "column": 24, 2598 "program": "conversion_w_functions.ets" 2599 }, 2600 "end": { 2601 "line": 56, 2602 "column": 28, 2603 "program": "conversion_w_functions.ets" 2604 } 2605 } 2606 }, 2607 "loc": { 2608 "start": { 2609 "line": 56, 2610 "column": 24, 2611 "program": "conversion_w_functions.ets" 2612 }, 2613 "end": { 2614 "line": 56, 2615 "column": 30, 2616 "program": "conversion_w_functions.ets" 2617 } 2618 } 2619 }, 2620 "loc": { 2621 "start": { 2622 "line": 56, 2623 "column": 24, 2624 "program": "conversion_w_functions.ets" 2625 }, 2626 "end": { 2627 "line": 56, 2628 "column": 30, 2629 "program": "conversion_w_functions.ets" 2630 } 2631 } 2632 }, 2633 "body": { 2634 "type": "BlockStatement", 2635 "statements": [ 2636 { 2637 "type": "ReturnStatement", 2638 "argument": { 2639 "type": "TSAsExpression", 2640 "expression": { 2641 "type": "CallExpression", 2642 "callee": { 2643 "type": "Identifier", 2644 "name": "getI", 2645 "decorators": [], 2646 "loc": { 2647 "start": { 2648 "line": 57, 2649 "column": 12, 2650 "program": "conversion_w_functions.ets" 2651 }, 2652 "end": { 2653 "line": 57, 2654 "column": 16, 2655 "program": "conversion_w_functions.ets" 2656 } 2657 } 2658 }, 2659 "arguments": [ 2660 { 2661 "type": "NumberLiteral", 2662 "value": 65, 2663 "loc": { 2664 "start": { 2665 "line": 57, 2666 "column": 17, 2667 "program": "conversion_w_functions.ets" 2668 }, 2669 "end": { 2670 "line": 57, 2671 "column": 19, 2672 "program": "conversion_w_functions.ets" 2673 } 2674 } 2675 } 2676 ], 2677 "optional": false, 2678 "loc": { 2679 "start": { 2680 "line": 57, 2681 "column": 12, 2682 "program": "conversion_w_functions.ets" 2683 }, 2684 "end": { 2685 "line": 57, 2686 "column": 20, 2687 "program": "conversion_w_functions.ets" 2688 } 2689 } 2690 }, 2691 "typeAnnotation": { 2692 "type": "ETSPrimitiveType", 2693 "loc": { 2694 "start": { 2695 "line": 57, 2696 "column": 24, 2697 "program": "conversion_w_functions.ets" 2698 }, 2699 "end": { 2700 "line": 57, 2701 "column": 28, 2702 "program": "conversion_w_functions.ets" 2703 } 2704 } 2705 }, 2706 "loc": { 2707 "start": { 2708 "line": 57, 2709 "column": 12, 2710 "program": "conversion_w_functions.ets" 2711 }, 2712 "end": { 2713 "line": 57, 2714 "column": 20, 2715 "program": "conversion_w_functions.ets" 2716 } 2717 } 2718 }, 2719 "loc": { 2720 "start": { 2721 "line": 57, 2722 "column": 5, 2723 "program": "conversion_w_functions.ets" 2724 }, 2725 "end": { 2726 "line": 57, 2727 "column": 29, 2728 "program": "conversion_w_functions.ets" 2729 } 2730 } 2731 } 2732 ], 2733 "loc": { 2734 "start": { 2735 "line": 56, 2736 "column": 29, 2737 "program": "conversion_w_functions.ets" 2738 }, 2739 "end": { 2740 "line": 58, 2741 "column": 2, 2742 "program": "conversion_w_functions.ets" 2743 } 2744 } 2745 }, 2746 "loc": { 2747 "start": { 2748 "line": 56, 2749 "column": 10, 2750 "program": "conversion_w_functions.ets" 2751 }, 2752 "end": { 2753 "line": 58, 2754 "column": 2, 2755 "program": "conversion_w_functions.ets" 2756 } 2757 } 2758 }, 2759 "loc": { 2760 "start": { 2761 "line": 56, 2762 "column": 10, 2763 "program": "conversion_w_functions.ets" 2764 }, 2765 "end": { 2766 "line": 58, 2767 "column": 2, 2768 "program": "conversion_w_functions.ets" 2769 } 2770 } 2771 }, 2772 "overloads": [], 2773 "decorators": [], 2774 "loc": { 2775 "start": { 2776 "line": 56, 2777 "column": 1, 2778 "program": "conversion_w_functions.ets" 2779 }, 2780 "end": { 2781 "line": 58, 2782 "column": 2, 2783 "program": "conversion_w_functions.ets" 2784 } 2785 } 2786 }, 2787 { 2788 "type": "MethodDefinition", 2789 "key": { 2790 "type": "Identifier", 2791 "name": "raspberry", 2792 "decorators": [], 2793 "loc": { 2794 "start": { 2795 "line": 60, 2796 "column": 10, 2797 "program": "conversion_w_functions.ets" 2798 }, 2799 "end": { 2800 "line": 60, 2801 "column": 19, 2802 "program": "conversion_w_functions.ets" 2803 } 2804 } 2805 }, 2806 "kind": "method", 2807 "accessibility": "public", 2808 "static": true, 2809 "optional": false, 2810 "computed": false, 2811 "value": { 2812 "type": "FunctionExpression", 2813 "function": { 2814 "type": "ScriptFunction", 2815 "id": { 2816 "type": "Identifier", 2817 "name": "raspberry", 2818 "decorators": [], 2819 "loc": { 2820 "start": { 2821 "line": 60, 2822 "column": 10, 2823 "program": "conversion_w_functions.ets" 2824 }, 2825 "end": { 2826 "line": 60, 2827 "column": 19, 2828 "program": "conversion_w_functions.ets" 2829 } 2830 } 2831 }, 2832 "generator": false, 2833 "async": false, 2834 "expression": false, 2835 "params": [], 2836 "returnType": { 2837 "type": "ETSTypeReference", 2838 "part": { 2839 "type": "ETSTypeReferencePart", 2840 "name": { 2841 "type": "Identifier", 2842 "name": "Short", 2843 "decorators": [], 2844 "loc": { 2845 "start": { 2846 "line": 60, 2847 "column": 23, 2848 "program": "conversion_w_functions.ets" 2849 }, 2850 "end": { 2851 "line": 60, 2852 "column": 28, 2853 "program": "conversion_w_functions.ets" 2854 } 2855 } 2856 }, 2857 "loc": { 2858 "start": { 2859 "line": 60, 2860 "column": 23, 2861 "program": "conversion_w_functions.ets" 2862 }, 2863 "end": { 2864 "line": 60, 2865 "column": 30, 2866 "program": "conversion_w_functions.ets" 2867 } 2868 } 2869 }, 2870 "loc": { 2871 "start": { 2872 "line": 60, 2873 "column": 23, 2874 "program": "conversion_w_functions.ets" 2875 }, 2876 "end": { 2877 "line": 60, 2878 "column": 30, 2879 "program": "conversion_w_functions.ets" 2880 } 2881 } 2882 }, 2883 "body": { 2884 "type": "BlockStatement", 2885 "statements": [ 2886 { 2887 "type": "ReturnStatement", 2888 "argument": { 2889 "type": "TSAsExpression", 2890 "expression": { 2891 "type": "CallExpression", 2892 "callee": { 2893 "type": "Identifier", 2894 "name": "getD", 2895 "decorators": [], 2896 "loc": { 2897 "start": { 2898 "line": 61, 2899 "column": 12, 2900 "program": "conversion_w_functions.ets" 2901 }, 2902 "end": { 2903 "line": 61, 2904 "column": 16, 2905 "program": "conversion_w_functions.ets" 2906 } 2907 } 2908 }, 2909 "arguments": [ 2910 { 2911 "type": "NumberLiteral", 2912 "value": 1, 2913 "loc": { 2914 "start": { 2915 "line": 61, 2916 "column": 17, 2917 "program": "conversion_w_functions.ets" 2918 }, 2919 "end": { 2920 "line": 61, 2921 "column": 20, 2922 "program": "conversion_w_functions.ets" 2923 } 2924 } 2925 } 2926 ], 2927 "optional": false, 2928 "loc": { 2929 "start": { 2930 "line": 61, 2931 "column": 12, 2932 "program": "conversion_w_functions.ets" 2933 }, 2934 "end": { 2935 "line": 61, 2936 "column": 21, 2937 "program": "conversion_w_functions.ets" 2938 } 2939 } 2940 }, 2941 "typeAnnotation": { 2942 "type": "ETSPrimitiveType", 2943 "loc": { 2944 "start": { 2945 "line": 61, 2946 "column": 25, 2947 "program": "conversion_w_functions.ets" 2948 }, 2949 "end": { 2950 "line": 61, 2951 "column": 30, 2952 "program": "conversion_w_functions.ets" 2953 } 2954 } 2955 }, 2956 "loc": { 2957 "start": { 2958 "line": 61, 2959 "column": 12, 2960 "program": "conversion_w_functions.ets" 2961 }, 2962 "end": { 2963 "line": 61, 2964 "column": 21, 2965 "program": "conversion_w_functions.ets" 2966 } 2967 } 2968 }, 2969 "loc": { 2970 "start": { 2971 "line": 61, 2972 "column": 5, 2973 "program": "conversion_w_functions.ets" 2974 }, 2975 "end": { 2976 "line": 61, 2977 "column": 31, 2978 "program": "conversion_w_functions.ets" 2979 } 2980 } 2981 } 2982 ], 2983 "loc": { 2984 "start": { 2985 "line": 60, 2986 "column": 29, 2987 "program": "conversion_w_functions.ets" 2988 }, 2989 "end": { 2990 "line": 62, 2991 "column": 2, 2992 "program": "conversion_w_functions.ets" 2993 } 2994 } 2995 }, 2996 "loc": { 2997 "start": { 2998 "line": 60, 2999 "column": 10, 3000 "program": "conversion_w_functions.ets" 3001 }, 3002 "end": { 3003 "line": 62, 3004 "column": 2, 3005 "program": "conversion_w_functions.ets" 3006 } 3007 } 3008 }, 3009 "loc": { 3010 "start": { 3011 "line": 60, 3012 "column": 10, 3013 "program": "conversion_w_functions.ets" 3014 }, 3015 "end": { 3016 "line": 62, 3017 "column": 2, 3018 "program": "conversion_w_functions.ets" 3019 } 3020 } 3021 }, 3022 "overloads": [], 3023 "decorators": [], 3024 "loc": { 3025 "start": { 3026 "line": 60, 3027 "column": 1, 3028 "program": "conversion_w_functions.ets" 3029 }, 3030 "end": { 3031 "line": 62, 3032 "column": 2, 3033 "program": "conversion_w_functions.ets" 3034 } 3035 } 3036 }, 3037 { 3038 "type": "MethodDefinition", 3039 "key": { 3040 "type": "Identifier", 3041 "name": "strawberry", 3042 "decorators": [], 3043 "loc": { 3044 "start": { 3045 "line": 64, 3046 "column": 10, 3047 "program": "conversion_w_functions.ets" 3048 }, 3049 "end": { 3050 "line": 64, 3051 "column": 20, 3052 "program": "conversion_w_functions.ets" 3053 } 3054 } 3055 }, 3056 "kind": "method", 3057 "accessibility": "public", 3058 "static": true, 3059 "optional": false, 3060 "computed": false, 3061 "value": { 3062 "type": "FunctionExpression", 3063 "function": { 3064 "type": "ScriptFunction", 3065 "id": { 3066 "type": "Identifier", 3067 "name": "strawberry", 3068 "decorators": [], 3069 "loc": { 3070 "start": { 3071 "line": 64, 3072 "column": 10, 3073 "program": "conversion_w_functions.ets" 3074 }, 3075 "end": { 3076 "line": 64, 3077 "column": 20, 3078 "program": "conversion_w_functions.ets" 3079 } 3080 } 3081 }, 3082 "generator": false, 3083 "async": false, 3084 "expression": false, 3085 "params": [], 3086 "returnType": { 3087 "type": "ETSTypeReference", 3088 "part": { 3089 "type": "ETSTypeReferencePart", 3090 "name": { 3091 "type": "Identifier", 3092 "name": "Int", 3093 "decorators": [], 3094 "loc": { 3095 "start": { 3096 "line": 64, 3097 "column": 24, 3098 "program": "conversion_w_functions.ets" 3099 }, 3100 "end": { 3101 "line": 64, 3102 "column": 27, 3103 "program": "conversion_w_functions.ets" 3104 } 3105 } 3106 }, 3107 "loc": { 3108 "start": { 3109 "line": 64, 3110 "column": 24, 3111 "program": "conversion_w_functions.ets" 3112 }, 3113 "end": { 3114 "line": 64, 3115 "column": 29, 3116 "program": "conversion_w_functions.ets" 3117 } 3118 } 3119 }, 3120 "loc": { 3121 "start": { 3122 "line": 64, 3123 "column": 24, 3124 "program": "conversion_w_functions.ets" 3125 }, 3126 "end": { 3127 "line": 64, 3128 "column": 29, 3129 "program": "conversion_w_functions.ets" 3130 } 3131 } 3132 }, 3133 "body": { 3134 "type": "BlockStatement", 3135 "statements": [ 3136 { 3137 "type": "ReturnStatement", 3138 "argument": { 3139 "type": "TSAsExpression", 3140 "expression": { 3141 "type": "CallExpression", 3142 "callee": { 3143 "type": "Identifier", 3144 "name": "getD", 3145 "decorators": [], 3146 "loc": { 3147 "start": { 3148 "line": 65, 3149 "column": 12, 3150 "program": "conversion_w_functions.ets" 3151 }, 3152 "end": { 3153 "line": 65, 3154 "column": 16, 3155 "program": "conversion_w_functions.ets" 3156 } 3157 } 3158 }, 3159 "arguments": [ 3160 { 3161 "type": "NumberLiteral", 3162 "value": 2, 3163 "loc": { 3164 "start": { 3165 "line": 65, 3166 "column": 17, 3167 "program": "conversion_w_functions.ets" 3168 }, 3169 "end": { 3170 "line": 65, 3171 "column": 20, 3172 "program": "conversion_w_functions.ets" 3173 } 3174 } 3175 } 3176 ], 3177 "optional": false, 3178 "loc": { 3179 "start": { 3180 "line": 65, 3181 "column": 12, 3182 "program": "conversion_w_functions.ets" 3183 }, 3184 "end": { 3185 "line": 65, 3186 "column": 21, 3187 "program": "conversion_w_functions.ets" 3188 } 3189 } 3190 }, 3191 "typeAnnotation": { 3192 "type": "ETSPrimitiveType", 3193 "loc": { 3194 "start": { 3195 "line": 65, 3196 "column": 25, 3197 "program": "conversion_w_functions.ets" 3198 }, 3199 "end": { 3200 "line": 65, 3201 "column": 28, 3202 "program": "conversion_w_functions.ets" 3203 } 3204 } 3205 }, 3206 "loc": { 3207 "start": { 3208 "line": 65, 3209 "column": 12, 3210 "program": "conversion_w_functions.ets" 3211 }, 3212 "end": { 3213 "line": 65, 3214 "column": 21, 3215 "program": "conversion_w_functions.ets" 3216 } 3217 } 3218 }, 3219 "loc": { 3220 "start": { 3221 "line": 65, 3222 "column": 5, 3223 "program": "conversion_w_functions.ets" 3224 }, 3225 "end": { 3226 "line": 65, 3227 "column": 29, 3228 "program": "conversion_w_functions.ets" 3229 } 3230 } 3231 } 3232 ], 3233 "loc": { 3234 "start": { 3235 "line": 64, 3236 "column": 28, 3237 "program": "conversion_w_functions.ets" 3238 }, 3239 "end": { 3240 "line": 66, 3241 "column": 2, 3242 "program": "conversion_w_functions.ets" 3243 } 3244 } 3245 }, 3246 "loc": { 3247 "start": { 3248 "line": 64, 3249 "column": 10, 3250 "program": "conversion_w_functions.ets" 3251 }, 3252 "end": { 3253 "line": 66, 3254 "column": 2, 3255 "program": "conversion_w_functions.ets" 3256 } 3257 } 3258 }, 3259 "loc": { 3260 "start": { 3261 "line": 64, 3262 "column": 10, 3263 "program": "conversion_w_functions.ets" 3264 }, 3265 "end": { 3266 "line": 66, 3267 "column": 2, 3268 "program": "conversion_w_functions.ets" 3269 } 3270 } 3271 }, 3272 "overloads": [], 3273 "decorators": [], 3274 "loc": { 3275 "start": { 3276 "line": 64, 3277 "column": 1, 3278 "program": "conversion_w_functions.ets" 3279 }, 3280 "end": { 3281 "line": 66, 3282 "column": 2, 3283 "program": "conversion_w_functions.ets" 3284 } 3285 } 3286 }, 3287 { 3288 "type": "MethodDefinition", 3289 "key": { 3290 "type": "Identifier", 3291 "name": "tomato", 3292 "decorators": [], 3293 "loc": { 3294 "start": { 3295 "line": 68, 3296 "column": 10, 3297 "program": "conversion_w_functions.ets" 3298 }, 3299 "end": { 3300 "line": 68, 3301 "column": 16, 3302 "program": "conversion_w_functions.ets" 3303 } 3304 } 3305 }, 3306 "kind": "method", 3307 "accessibility": "public", 3308 "static": true, 3309 "optional": false, 3310 "computed": false, 3311 "value": { 3312 "type": "FunctionExpression", 3313 "function": { 3314 "type": "ScriptFunction", 3315 "id": { 3316 "type": "Identifier", 3317 "name": "tomato", 3318 "decorators": [], 3319 "loc": { 3320 "start": { 3321 "line": 68, 3322 "column": 10, 3323 "program": "conversion_w_functions.ets" 3324 }, 3325 "end": { 3326 "line": 68, 3327 "column": 16, 3328 "program": "conversion_w_functions.ets" 3329 } 3330 } 3331 }, 3332 "generator": false, 3333 "async": false, 3334 "expression": false, 3335 "params": [], 3336 "returnType": { 3337 "type": "ETSTypeReference", 3338 "part": { 3339 "type": "ETSTypeReferencePart", 3340 "name": { 3341 "type": "Identifier", 3342 "name": "Long", 3343 "decorators": [], 3344 "loc": { 3345 "start": { 3346 "line": 68, 3347 "column": 20, 3348 "program": "conversion_w_functions.ets" 3349 }, 3350 "end": { 3351 "line": 68, 3352 "column": 24, 3353 "program": "conversion_w_functions.ets" 3354 } 3355 } 3356 }, 3357 "loc": { 3358 "start": { 3359 "line": 68, 3360 "column": 20, 3361 "program": "conversion_w_functions.ets" 3362 }, 3363 "end": { 3364 "line": 68, 3365 "column": 26, 3366 "program": "conversion_w_functions.ets" 3367 } 3368 } 3369 }, 3370 "loc": { 3371 "start": { 3372 "line": 68, 3373 "column": 20, 3374 "program": "conversion_w_functions.ets" 3375 }, 3376 "end": { 3377 "line": 68, 3378 "column": 26, 3379 "program": "conversion_w_functions.ets" 3380 } 3381 } 3382 }, 3383 "body": { 3384 "type": "BlockStatement", 3385 "statements": [ 3386 { 3387 "type": "ReturnStatement", 3388 "argument": { 3389 "type": "TSAsExpression", 3390 "expression": { 3391 "type": "CallExpression", 3392 "callee": { 3393 "type": "Identifier", 3394 "name": "getD", 3395 "decorators": [], 3396 "loc": { 3397 "start": { 3398 "line": 69, 3399 "column": 12, 3400 "program": "conversion_w_functions.ets" 3401 }, 3402 "end": { 3403 "line": 69, 3404 "column": 16, 3405 "program": "conversion_w_functions.ets" 3406 } 3407 } 3408 }, 3409 "arguments": [ 3410 { 3411 "type": "NumberLiteral", 3412 "value": 3, 3413 "loc": { 3414 "start": { 3415 "line": 69, 3416 "column": 17, 3417 "program": "conversion_w_functions.ets" 3418 }, 3419 "end": { 3420 "line": 69, 3421 "column": 20, 3422 "program": "conversion_w_functions.ets" 3423 } 3424 } 3425 } 3426 ], 3427 "optional": false, 3428 "loc": { 3429 "start": { 3430 "line": 69, 3431 "column": 12, 3432 "program": "conversion_w_functions.ets" 3433 }, 3434 "end": { 3435 "line": 69, 3436 "column": 21, 3437 "program": "conversion_w_functions.ets" 3438 } 3439 } 3440 }, 3441 "typeAnnotation": { 3442 "type": "ETSPrimitiveType", 3443 "loc": { 3444 "start": { 3445 "line": 69, 3446 "column": 25, 3447 "program": "conversion_w_functions.ets" 3448 }, 3449 "end": { 3450 "line": 69, 3451 "column": 29, 3452 "program": "conversion_w_functions.ets" 3453 } 3454 } 3455 }, 3456 "loc": { 3457 "start": { 3458 "line": 69, 3459 "column": 12, 3460 "program": "conversion_w_functions.ets" 3461 }, 3462 "end": { 3463 "line": 69, 3464 "column": 21, 3465 "program": "conversion_w_functions.ets" 3466 } 3467 } 3468 }, 3469 "loc": { 3470 "start": { 3471 "line": 69, 3472 "column": 5, 3473 "program": "conversion_w_functions.ets" 3474 }, 3475 "end": { 3476 "line": 69, 3477 "column": 30, 3478 "program": "conversion_w_functions.ets" 3479 } 3480 } 3481 } 3482 ], 3483 "loc": { 3484 "start": { 3485 "line": 68, 3486 "column": 25, 3487 "program": "conversion_w_functions.ets" 3488 }, 3489 "end": { 3490 "line": 70, 3491 "column": 2, 3492 "program": "conversion_w_functions.ets" 3493 } 3494 } 3495 }, 3496 "loc": { 3497 "start": { 3498 "line": 68, 3499 "column": 10, 3500 "program": "conversion_w_functions.ets" 3501 }, 3502 "end": { 3503 "line": 70, 3504 "column": 2, 3505 "program": "conversion_w_functions.ets" 3506 } 3507 } 3508 }, 3509 "loc": { 3510 "start": { 3511 "line": 68, 3512 "column": 10, 3513 "program": "conversion_w_functions.ets" 3514 }, 3515 "end": { 3516 "line": 70, 3517 "column": 2, 3518 "program": "conversion_w_functions.ets" 3519 } 3520 } 3521 }, 3522 "overloads": [], 3523 "decorators": [], 3524 "loc": { 3525 "start": { 3526 "line": 68, 3527 "column": 1, 3528 "program": "conversion_w_functions.ets" 3529 }, 3530 "end": { 3531 "line": 70, 3532 "column": 2, 3533 "program": "conversion_w_functions.ets" 3534 } 3535 } 3536 }, 3537 { 3538 "type": "MethodDefinition", 3539 "key": { 3540 "type": "Identifier", 3541 "name": "uglifruit", 3542 "decorators": [], 3543 "loc": { 3544 "start": { 3545 "line": 72, 3546 "column": 10, 3547 "program": "conversion_w_functions.ets" 3548 }, 3549 "end": { 3550 "line": 72, 3551 "column": 19, 3552 "program": "conversion_w_functions.ets" 3553 } 3554 } 3555 }, 3556 "kind": "method", 3557 "accessibility": "public", 3558 "static": true, 3559 "optional": false, 3560 "computed": false, 3561 "value": { 3562 "type": "FunctionExpression", 3563 "function": { 3564 "type": "ScriptFunction", 3565 "id": { 3566 "type": "Identifier", 3567 "name": "uglifruit", 3568 "decorators": [], 3569 "loc": { 3570 "start": { 3571 "line": 72, 3572 "column": 10, 3573 "program": "conversion_w_functions.ets" 3574 }, 3575 "end": { 3576 "line": 72, 3577 "column": 19, 3578 "program": "conversion_w_functions.ets" 3579 } 3580 } 3581 }, 3582 "generator": false, 3583 "async": false, 3584 "expression": false, 3585 "params": [], 3586 "returnType": { 3587 "type": "ETSTypeReference", 3588 "part": { 3589 "type": "ETSTypeReferencePart", 3590 "name": { 3591 "type": "Identifier", 3592 "name": "Char", 3593 "decorators": [], 3594 "loc": { 3595 "start": { 3596 "line": 72, 3597 "column": 23, 3598 "program": "conversion_w_functions.ets" 3599 }, 3600 "end": { 3601 "line": 72, 3602 "column": 27, 3603 "program": "conversion_w_functions.ets" 3604 } 3605 } 3606 }, 3607 "loc": { 3608 "start": { 3609 "line": 72, 3610 "column": 23, 3611 "program": "conversion_w_functions.ets" 3612 }, 3613 "end": { 3614 "line": 72, 3615 "column": 29, 3616 "program": "conversion_w_functions.ets" 3617 } 3618 } 3619 }, 3620 "loc": { 3621 "start": { 3622 "line": 72, 3623 "column": 23, 3624 "program": "conversion_w_functions.ets" 3625 }, 3626 "end": { 3627 "line": 72, 3628 "column": 29, 3629 "program": "conversion_w_functions.ets" 3630 } 3631 } 3632 }, 3633 "body": { 3634 "type": "BlockStatement", 3635 "statements": [ 3636 { 3637 "type": "ReturnStatement", 3638 "argument": { 3639 "type": "TSAsExpression", 3640 "expression": { 3641 "type": "CallExpression", 3642 "callee": { 3643 "type": "Identifier", 3644 "name": "getD", 3645 "decorators": [], 3646 "loc": { 3647 "start": { 3648 "line": 73, 3649 "column": 12, 3650 "program": "conversion_w_functions.ets" 3651 }, 3652 "end": { 3653 "line": 73, 3654 "column": 16, 3655 "program": "conversion_w_functions.ets" 3656 } 3657 } 3658 }, 3659 "arguments": [ 3660 { 3661 "type": "NumberLiteral", 3662 "value": 65, 3663 "loc": { 3664 "start": { 3665 "line": 73, 3666 "column": 17, 3667 "program": "conversion_w_functions.ets" 3668 }, 3669 "end": { 3670 "line": 73, 3671 "column": 21, 3672 "program": "conversion_w_functions.ets" 3673 } 3674 } 3675 } 3676 ], 3677 "optional": false, 3678 "loc": { 3679 "start": { 3680 "line": 73, 3681 "column": 12, 3682 "program": "conversion_w_functions.ets" 3683 }, 3684 "end": { 3685 "line": 73, 3686 "column": 22, 3687 "program": "conversion_w_functions.ets" 3688 } 3689 } 3690 }, 3691 "typeAnnotation": { 3692 "type": "ETSPrimitiveType", 3693 "loc": { 3694 "start": { 3695 "line": 73, 3696 "column": 26, 3697 "program": "conversion_w_functions.ets" 3698 }, 3699 "end": { 3700 "line": 73, 3701 "column": 30, 3702 "program": "conversion_w_functions.ets" 3703 } 3704 } 3705 }, 3706 "loc": { 3707 "start": { 3708 "line": 73, 3709 "column": 12, 3710 "program": "conversion_w_functions.ets" 3711 }, 3712 "end": { 3713 "line": 73, 3714 "column": 22, 3715 "program": "conversion_w_functions.ets" 3716 } 3717 } 3718 }, 3719 "loc": { 3720 "start": { 3721 "line": 73, 3722 "column": 5, 3723 "program": "conversion_w_functions.ets" 3724 }, 3725 "end": { 3726 "line": 73, 3727 "column": 31, 3728 "program": "conversion_w_functions.ets" 3729 } 3730 } 3731 } 3732 ], 3733 "loc": { 3734 "start": { 3735 "line": 72, 3736 "column": 28, 3737 "program": "conversion_w_functions.ets" 3738 }, 3739 "end": { 3740 "line": 74, 3741 "column": 2, 3742 "program": "conversion_w_functions.ets" 3743 } 3744 } 3745 }, 3746 "loc": { 3747 "start": { 3748 "line": 72, 3749 "column": 10, 3750 "program": "conversion_w_functions.ets" 3751 }, 3752 "end": { 3753 "line": 74, 3754 "column": 2, 3755 "program": "conversion_w_functions.ets" 3756 } 3757 } 3758 }, 3759 "loc": { 3760 "start": { 3761 "line": 72, 3762 "column": 10, 3763 "program": "conversion_w_functions.ets" 3764 }, 3765 "end": { 3766 "line": 74, 3767 "column": 2, 3768 "program": "conversion_w_functions.ets" 3769 } 3770 } 3771 }, 3772 "overloads": [], 3773 "decorators": [], 3774 "loc": { 3775 "start": { 3776 "line": 72, 3777 "column": 1, 3778 "program": "conversion_w_functions.ets" 3779 }, 3780 "end": { 3781 "line": 74, 3782 "column": 2, 3783 "program": "conversion_w_functions.ets" 3784 } 3785 } 3786 }, 3787 { 3788 "type": "MethodDefinition", 3789 "key": { 3790 "type": "Identifier", 3791 "name": "main", 3792 "decorators": [], 3793 "loc": { 3794 "start": { 3795 "line": 76, 3796 "column": 10, 3797 "program": "conversion_w_functions.ets" 3798 }, 3799 "end": { 3800 "line": 76, 3801 "column": 14, 3802 "program": "conversion_w_functions.ets" 3803 } 3804 } 3805 }, 3806 "kind": "method", 3807 "accessibility": "public", 3808 "static": true, 3809 "optional": false, 3810 "computed": false, 3811 "value": { 3812 "type": "FunctionExpression", 3813 "function": { 3814 "type": "ScriptFunction", 3815 "id": { 3816 "type": "Identifier", 3817 "name": "main", 3818 "decorators": [], 3819 "loc": { 3820 "start": { 3821 "line": 76, 3822 "column": 10, 3823 "program": "conversion_w_functions.ets" 3824 }, 3825 "end": { 3826 "line": 76, 3827 "column": 14, 3828 "program": "conversion_w_functions.ets" 3829 } 3830 } 3831 }, 3832 "generator": false, 3833 "async": false, 3834 "expression": false, 3835 "params": [], 3836 "returnType": { 3837 "type": "ETSPrimitiveType", 3838 "loc": { 3839 "start": { 3840 "line": 76, 3841 "column": 18, 3842 "program": "conversion_w_functions.ets" 3843 }, 3844 "end": { 3845 "line": 76, 3846 "column": 22, 3847 "program": "conversion_w_functions.ets" 3848 } 3849 } 3850 }, 3851 "body": { 3852 "type": "BlockStatement", 3853 "statements": [], 3854 "loc": { 3855 "start": { 3856 "line": 76, 3857 "column": 23, 3858 "program": "conversion_w_functions.ets" 3859 }, 3860 "end": { 3861 "line": 76, 3862 "column": 25, 3863 "program": "conversion_w_functions.ets" 3864 } 3865 } 3866 }, 3867 "loc": { 3868 "start": { 3869 "line": 76, 3870 "column": 10, 3871 "program": "conversion_w_functions.ets" 3872 }, 3873 "end": { 3874 "line": 76, 3875 "column": 25, 3876 "program": "conversion_w_functions.ets" 3877 } 3878 } 3879 }, 3880 "loc": { 3881 "start": { 3882 "line": 76, 3883 "column": 10, 3884 "program": "conversion_w_functions.ets" 3885 }, 3886 "end": { 3887 "line": 76, 3888 "column": 25, 3889 "program": "conversion_w_functions.ets" 3890 } 3891 } 3892 }, 3893 "overloads": [], 3894 "decorators": [], 3895 "loc": { 3896 "start": { 3897 "line": 76, 3898 "column": 1, 3899 "program": "conversion_w_functions.ets" 3900 }, 3901 "end": { 3902 "line": 76, 3903 "column": 25, 3904 "program": "conversion_w_functions.ets" 3905 } 3906 } 3907 } 3908 ], 3909 "loc": { 3910 "start": { 3911 "line": 1, 3912 "column": 1, 3913 "program": "conversion_w_functions.ets" 3914 }, 3915 "end": { 3916 "line": 1, 3917 "column": 1, 3918 "program": "conversion_w_functions.ets" 3919 } 3920 } 3921 }, 3922 "loc": { 3923 "start": { 3924 "line": 1, 3925 "column": 1, 3926 "program": "conversion_w_functions.ets" 3927 }, 3928 "end": { 3929 "line": 1, 3930 "column": 1, 3931 "program": "conversion_w_functions.ets" 3932 } 3933 } 3934 } 3935 ], 3936 "loc": { 3937 "start": { 3938 "line": 1, 3939 "column": 1, 3940 "program": "conversion_w_functions.ets" 3941 }, 3942 "end": { 3943 "line": 77, 3944 "column": 1, 3945 "program": "conversion_w_functions.ets" 3946 } 3947 } 3948} 3949