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