1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "Class1", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 17, 14 "column": 15 15 }, 16 "end": { 17 "line": 17, 18 "column": 21 19 } 20 } 21 }, 22 "superClass": null, 23 "implements": [], 24 "constructor": { 25 "type": "MethodDefinition", 26 "key": { 27 "type": "Identifier", 28 "name": "constructor", 29 "decorators": [], 30 "loc": { 31 "start": { 32 "line": 18, 33 "column": 5 34 }, 35 "end": { 36 "line": 18, 37 "column": 16 38 } 39 } 40 }, 41 "kind": "constructor", 42 "static": false, 43 "optional": false, 44 "computed": false, 45 "value": { 46 "type": "FunctionExpression", 47 "function": { 48 "type": "ScriptFunction", 49 "id": null, 50 "generator": false, 51 "async": false, 52 "expression": false, 53 "params": [ 54 { 55 "type": "Identifier", 56 "name": "a", 57 "typeAnnotation": { 58 "type": "TSNumberKeyword", 59 "loc": { 60 "start": { 61 "line": 18, 62 "column": 20 63 }, 64 "end": { 65 "line": 18, 66 "column": 26 67 } 68 } 69 }, 70 "decorators": [], 71 "loc": { 72 "start": { 73 "line": 18, 74 "column": 17 75 }, 76 "end": { 77 "line": 18, 78 "column": 18 79 } 80 } 81 } 82 ], 83 "loc": { 84 "start": { 85 "line": 18, 86 "column": 16 87 }, 88 "end": { 89 "line": 18, 90 "column": 28 91 } 92 } 93 }, 94 "loc": { 95 "start": { 96 "line": 18, 97 "column": 16 98 }, 99 "end": { 100 "line": 18, 101 "column": 28 102 } 103 } 104 }, 105 "overloads": [], 106 "decorators": [], 107 "loc": { 108 "start": { 109 "line": 18, 110 "column": 5 111 }, 112 "end": { 113 "line": 18, 114 "column": 28 115 } 116 } 117 }, 118 "body": [ 119 { 120 "type": "MethodDefinition", 121 "key": { 122 "type": "Identifier", 123 "name": "a", 124 "decorators": [], 125 "loc": { 126 "start": { 127 "line": 19, 128 "column": 5 129 }, 130 "end": { 131 "line": 19, 132 "column": 6 133 } 134 } 135 }, 136 "kind": "method", 137 "static": false, 138 "optional": false, 139 "computed": false, 140 "value": { 141 "type": "FunctionExpression", 142 "function": { 143 "type": "ScriptFunction", 144 "id": null, 145 "generator": false, 146 "async": false, 147 "expression": false, 148 "params": [], 149 "loc": { 150 "start": { 151 "line": 19, 152 "column": 6 153 }, 154 "end": { 155 "line": 19, 156 "column": 9 157 } 158 } 159 }, 160 "loc": { 161 "start": { 162 "line": 19, 163 "column": 6 164 }, 165 "end": { 166 "line": 19, 167 "column": 9 168 } 169 } 170 }, 171 "overloads": [], 172 "decorators": [], 173 "loc": { 174 "start": { 175 "line": 19, 176 "column": 5 177 }, 178 "end": { 179 "line": 19, 180 "column": 9 181 } 182 } 183 }, 184 { 185 "type": "MethodDefinition", 186 "key": { 187 "type": "Identifier", 188 "name": "a", 189 "decorators": [], 190 "loc": { 191 "start": { 192 "line": 20, 193 "column": 5 194 }, 195 "end": { 196 "line": 20, 197 "column": 6 198 } 199 } 200 }, 201 "kind": "method", 202 "static": false, 203 "optional": false, 204 "computed": false, 205 "value": { 206 "type": "FunctionExpression", 207 "function": { 208 "type": "ScriptFunction", 209 "id": null, 210 "generator": false, 211 "async": false, 212 "expression": false, 213 "params": [], 214 "loc": { 215 "start": { 216 "line": 20, 217 "column": 6 218 }, 219 "end": { 220 "line": 20, 221 "column": 9 222 } 223 } 224 }, 225 "loc": { 226 "start": { 227 "line": 20, 228 "column": 6 229 }, 230 "end": { 231 "line": 20, 232 "column": 9 233 } 234 } 235 }, 236 "overloads": [], 237 "decorators": [], 238 "loc": { 239 "start": { 240 "line": 20, 241 "column": 5 242 }, 243 "end": { 244 "line": 20, 245 "column": 9 246 } 247 } 248 }, 249 { 250 "type": "MethodDefinition", 251 "key": { 252 "type": "Identifier", 253 "name": "b", 254 "decorators": [], 255 "loc": { 256 "start": { 257 "line": 21, 258 "column": 5 259 }, 260 "end": { 261 "line": 21, 262 "column": 6 263 } 264 } 265 }, 266 "kind": "method", 267 "static": false, 268 "optional": false, 269 "computed": false, 270 "value": { 271 "type": "FunctionExpression", 272 "function": { 273 "type": "ScriptFunction", 274 "id": null, 275 "generator": false, 276 "async": false, 277 "expression": false, 278 "params": [], 279 "loc": { 280 "start": { 281 "line": 21, 282 "column": 6 283 }, 284 "end": { 285 "line": 21, 286 "column": 9 287 } 288 } 289 }, 290 "loc": { 291 "start": { 292 "line": 21, 293 "column": 6 294 }, 295 "end": { 296 "line": 21, 297 "column": 9 298 } 299 } 300 }, 301 "overloads": [], 302 "decorators": [], 303 "loc": { 304 "start": { 305 "line": 21, 306 "column": 5 307 }, 308 "end": { 309 "line": 21, 310 "column": 9 311 } 312 } 313 } 314 ], 315 "loc": { 316 "start": { 317 "line": 17, 318 "column": 22 319 }, 320 "end": { 321 "line": 22, 322 "column": 2 323 } 324 } 325 }, 326 "loc": { 327 "start": { 328 "line": 17, 329 "column": 9 330 }, 331 "end": { 332 "line": 22, 333 "column": 2 334 } 335 } 336 }, 337 { 338 "type": "ClassDeclaration", 339 "definition": { 340 "id": { 341 "type": "Identifier", 342 "name": "Class2", 343 "decorators": [], 344 "loc": { 345 "start": { 346 "line": 24, 347 "column": 7 348 }, 349 "end": { 350 "line": 24, 351 "column": 13 352 } 353 } 354 }, 355 "superClass": null, 356 "implements": [], 357 "constructor": { 358 "type": "MethodDefinition", 359 "key": { 360 "type": "Identifier", 361 "name": "constructor", 362 "decorators": [], 363 "loc": { 364 "start": { 365 "line": 1, 366 "column": 1 367 }, 368 "end": { 369 "line": 1, 370 "column": 1 371 } 372 } 373 }, 374 "kind": "constructor", 375 "static": false, 376 "optional": false, 377 "computed": false, 378 "value": { 379 "type": "FunctionExpression", 380 "function": { 381 "type": "ScriptFunction", 382 "id": null, 383 "generator": false, 384 "async": false, 385 "expression": false, 386 "params": [], 387 "body": { 388 "type": "BlockStatement", 389 "statements": [], 390 "loc": { 391 "start": { 392 "line": 1, 393 "column": 1 394 }, 395 "end": { 396 "line": 1, 397 "column": 1 398 } 399 } 400 }, 401 "loc": { 402 "start": { 403 "line": 1, 404 "column": 1 405 }, 406 "end": { 407 "line": 1, 408 "column": 1 409 } 410 } 411 }, 412 "loc": { 413 "start": { 414 "line": 1, 415 "column": 1 416 }, 417 "end": { 418 "line": 1, 419 "column": 1 420 } 421 } 422 }, 423 "overloads": [], 424 "decorators": [], 425 "loc": { 426 "start": { 427 "line": 44, 428 "column": 2 429 }, 430 "end": { 431 "line": 44, 432 "column": 2 433 } 434 } 435 }, 436 "body": [ 437 { 438 "type": "ClassProperty", 439 "key": { 440 "type": "Identifier", 441 "name": "s", 442 "decorators": [], 443 "loc": { 444 "start": { 445 "line": 25, 446 "column": 5 447 }, 448 "end": { 449 "line": 25, 450 "column": 6 451 } 452 } 453 }, 454 "static": false, 455 "readonly": false, 456 "declare": false, 457 "optional": false, 458 "computed": false, 459 "typeAnnotation": { 460 "type": "TSStringKeyword", 461 "loc": { 462 "start": { 463 "line": 25, 464 "column": 8 465 }, 466 "end": { 467 "line": 25, 468 "column": 14 469 } 470 } 471 }, 472 "definite": false, 473 "decorators": [], 474 "loc": { 475 "start": { 476 "line": 25, 477 "column": 5 478 }, 479 "end": { 480 "line": 25, 481 "column": 6 482 } 483 } 484 }, 485 { 486 "type": "ClassProperty", 487 "key": { 488 "type": "Identifier", 489 "name": "n", 490 "decorators": [], 491 "loc": { 492 "start": { 493 "line": 26, 494 "column": 5 495 }, 496 "end": { 497 "line": 26, 498 "column": 6 499 } 500 } 501 }, 502 "static": false, 503 "readonly": false, 504 "declare": false, 505 "optional": false, 506 "computed": false, 507 "typeAnnotation": { 508 "type": "TSNumberKeyword", 509 "loc": { 510 "start": { 511 "line": 26, 512 "column": 8 513 }, 514 "end": { 515 "line": 26, 516 "column": 14 517 } 518 } 519 }, 520 "definite": false, 521 "decorators": [], 522 "loc": { 523 "start": { 524 "line": 26, 525 "column": 5 526 }, 527 "end": { 528 "line": 26, 529 "column": 6 530 } 531 } 532 }, 533 { 534 "type": "MethodDefinition", 535 "key": { 536 "type": "Identifier", 537 "name": "a", 538 "decorators": [], 539 "loc": { 540 "start": { 541 "line": 27, 542 "column": 5 543 }, 544 "end": { 545 "line": 27, 546 "column": 6 547 } 548 } 549 }, 550 "kind": "method", 551 "static": false, 552 "optional": false, 553 "computed": false, 554 "value": { 555 "type": "FunctionExpression", 556 "function": { 557 "type": "ScriptFunction", 558 "id": null, 559 "generator": false, 560 "async": false, 561 "expression": false, 562 "params": [], 563 "loc": { 564 "start": { 565 "line": 27, 566 "column": 6 567 }, 568 "end": { 569 "line": 27, 570 "column": 9 571 } 572 } 573 }, 574 "loc": { 575 "start": { 576 "line": 27, 577 "column": 6 578 }, 579 "end": { 580 "line": 27, 581 "column": 9 582 } 583 } 584 }, 585 "overloads": [], 586 "decorators": [], 587 "loc": { 588 "start": { 589 "line": 27, 590 "column": 5 591 }, 592 "end": { 593 "line": 27, 594 "column": 9 595 } 596 } 597 }, 598 { 599 "type": "MethodDefinition", 600 "key": { 601 "type": "StringLiteral", 602 "value": "a", 603 "loc": { 604 "start": { 605 "line": 28, 606 "column": 5 607 }, 608 "end": { 609 "line": 28, 610 "column": 8 611 } 612 } 613 }, 614 "kind": "method", 615 "static": false, 616 "optional": false, 617 "computed": false, 618 "value": { 619 "type": "FunctionExpression", 620 "function": { 621 "type": "ScriptFunction", 622 "id": null, 623 "generator": false, 624 "async": false, 625 "expression": false, 626 "params": [ 627 { 628 "type": "Identifier", 629 "name": "s", 630 "typeAnnotation": { 631 "type": "TSStringKeyword", 632 "loc": { 633 "start": { 634 "line": 28, 635 "column": 13 636 }, 637 "end": { 638 "line": 28, 639 "column": 19 640 } 641 } 642 }, 643 "optional": true, 644 "decorators": [], 645 "loc": { 646 "start": { 647 "line": 28, 648 "column": 9 649 }, 650 "end": { 651 "line": 28, 652 "column": 10 653 } 654 } 655 } 656 ], 657 "loc": { 658 "start": { 659 "line": 28, 660 "column": 8 661 }, 662 "end": { 663 "line": 28, 664 "column": 21 665 } 666 } 667 }, 668 "loc": { 669 "start": { 670 "line": 28, 671 "column": 8 672 }, 673 "end": { 674 "line": 28, 675 "column": 21 676 } 677 } 678 }, 679 "overloads": [], 680 "decorators": [], 681 "loc": { 682 "start": { 683 "line": 28, 684 "column": 5 685 }, 686 "end": { 687 "line": 28, 688 "column": 21 689 } 690 } 691 }, 692 { 693 "type": "MethodDefinition", 694 "key": { 695 "type": "StringLiteral", 696 "value": "a", 697 "loc": { 698 "start": { 699 "line": 29, 700 "column": 5 701 }, 702 "end": { 703 "line": 29, 704 "column": 8 705 } 706 } 707 }, 708 "kind": "method", 709 "static": false, 710 "optional": false, 711 "computed": false, 712 "value": { 713 "type": "FunctionExpression", 714 "function": { 715 "type": "ScriptFunction", 716 "id": null, 717 "generator": false, 718 "async": false, 719 "expression": false, 720 "params": [], 721 "loc": { 722 "start": { 723 "line": 29, 724 "column": 8 725 }, 726 "end": { 727 "line": 29, 728 "column": 11 729 } 730 } 731 }, 732 "loc": { 733 "start": { 734 "line": 29, 735 "column": 8 736 }, 737 "end": { 738 "line": 29, 739 "column": 11 740 } 741 } 742 }, 743 "overloads": [], 744 "decorators": [], 745 "loc": { 746 "start": { 747 "line": 29, 748 "column": 5 749 }, 750 "end": { 751 "line": 29, 752 "column": 11 753 } 754 } 755 }, 756 { 757 "type": "MethodDefinition", 758 "key": { 759 "type": "Identifier", 760 "name": "a", 761 "decorators": [], 762 "loc": { 763 "start": { 764 "line": 30, 765 "column": 5 766 }, 767 "end": { 768 "line": 30, 769 "column": 6 770 } 771 } 772 }, 773 "kind": "method", 774 "static": false, 775 "optional": false, 776 "computed": false, 777 "value": { 778 "type": "FunctionExpression", 779 "function": { 780 "type": "ScriptFunction", 781 "id": null, 782 "generator": false, 783 "async": false, 784 "expression": false, 785 "params": [], 786 "loc": { 787 "start": { 788 "line": 30, 789 "column": 6 790 }, 791 "end": { 792 "line": 30, 793 "column": 9 794 } 795 } 796 }, 797 "loc": { 798 "start": { 799 "line": 30, 800 "column": 6 801 }, 802 "end": { 803 "line": 30, 804 "column": 9 805 } 806 } 807 }, 808 "overloads": [], 809 "decorators": [], 810 "loc": { 811 "start": { 812 "line": 30, 813 "column": 5 814 }, 815 "end": { 816 "line": 30, 817 "column": 9 818 } 819 } 820 }, 821 { 822 "type": "MethodDefinition", 823 "key": { 824 "type": "Identifier", 825 "name": "a", 826 "decorators": [], 827 "loc": { 828 "start": { 829 "line": 31, 830 "column": 5 831 }, 832 "end": { 833 "line": 31, 834 "column": 6 835 } 836 } 837 }, 838 "kind": "method", 839 "static": false, 840 "optional": false, 841 "computed": false, 842 "value": { 843 "type": "FunctionExpression", 844 "function": { 845 "type": "ScriptFunction", 846 "id": null, 847 "generator": false, 848 "async": false, 849 "expression": false, 850 "params": [ 851 { 852 "type": "Identifier", 853 "name": "s", 854 "typeAnnotation": { 855 "type": "TSStringKeyword", 856 "loc": { 857 "start": { 858 "line": 31, 859 "column": 11 860 }, 861 "end": { 862 "line": 31, 863 "column": 17 864 } 865 } 866 }, 867 "optional": true, 868 "decorators": [], 869 "loc": { 870 "start": { 871 "line": 31, 872 "column": 7 873 }, 874 "end": { 875 "line": 31, 876 "column": 8 877 } 878 } 879 }, 880 { 881 "type": "Identifier", 882 "name": "n", 883 "typeAnnotation": { 884 "type": "TSNumberKeyword", 885 "loc": { 886 "start": { 887 "line": 31, 888 "column": 23 889 }, 890 "end": { 891 "line": 31, 892 "column": 29 893 } 894 } 895 }, 896 "optional": true, 897 "decorators": [], 898 "loc": { 899 "start": { 900 "line": 31, 901 "column": 19 902 }, 903 "end": { 904 "line": 31, 905 "column": 20 906 } 907 } 908 } 909 ], 910 "body": { 911 "type": "BlockStatement", 912 "statements": [ 913 { 914 "type": "ExpressionStatement", 915 "expression": { 916 "type": "AssignmentExpression", 917 "operator": "=", 918 "left": { 919 "type": "MemberExpression", 920 "object": { 921 "type": "ThisExpression", 922 "loc": { 923 "start": { 924 "line": 32, 925 "column": 9 926 }, 927 "end": { 928 "line": 32, 929 "column": 13 930 } 931 } 932 }, 933 "property": { 934 "type": "Identifier", 935 "name": "s", 936 "decorators": [], 937 "loc": { 938 "start": { 939 "line": 32, 940 "column": 14 941 }, 942 "end": { 943 "line": 32, 944 "column": 15 945 } 946 } 947 }, 948 "computed": false, 949 "optional": false, 950 "loc": { 951 "start": { 952 "line": 32, 953 "column": 9 954 }, 955 "end": { 956 "line": 32, 957 "column": 15 958 } 959 } 960 }, 961 "right": { 962 "type": "LogicalExpression", 963 "operator": "||", 964 "left": { 965 "type": "Identifier", 966 "name": "s", 967 "decorators": [], 968 "loc": { 969 "start": { 970 "line": 32, 971 "column": 18 972 }, 973 "end": { 974 "line": 32, 975 "column": 19 976 } 977 } 978 }, 979 "right": { 980 "type": "StringLiteral", 981 "value": "", 982 "loc": { 983 "start": { 984 "line": 32, 985 "column": 23 986 }, 987 "end": { 988 "line": 32, 989 "column": 25 990 } 991 } 992 }, 993 "loc": { 994 "start": { 995 "line": 32, 996 "column": 18 997 }, 998 "end": { 999 "line": 32, 1000 "column": 25 1001 } 1002 } 1003 }, 1004 "loc": { 1005 "start": { 1006 "line": 32, 1007 "column": 9 1008 }, 1009 "end": { 1010 "line": 32, 1011 "column": 25 1012 } 1013 } 1014 }, 1015 "loc": { 1016 "start": { 1017 "line": 32, 1018 "column": 9 1019 }, 1020 "end": { 1021 "line": 32, 1022 "column": 26 1023 } 1024 } 1025 }, 1026 { 1027 "type": "ExpressionStatement", 1028 "expression": { 1029 "type": "AssignmentExpression", 1030 "operator": "=", 1031 "left": { 1032 "type": "MemberExpression", 1033 "object": { 1034 "type": "ThisExpression", 1035 "loc": { 1036 "start": { 1037 "line": 33, 1038 "column": 9 1039 }, 1040 "end": { 1041 "line": 33, 1042 "column": 13 1043 } 1044 } 1045 }, 1046 "property": { 1047 "type": "Identifier", 1048 "name": "n", 1049 "decorators": [], 1050 "loc": { 1051 "start": { 1052 "line": 33, 1053 "column": 14 1054 }, 1055 "end": { 1056 "line": 33, 1057 "column": 15 1058 } 1059 } 1060 }, 1061 "computed": false, 1062 "optional": false, 1063 "loc": { 1064 "start": { 1065 "line": 33, 1066 "column": 9 1067 }, 1068 "end": { 1069 "line": 33, 1070 "column": 15 1071 } 1072 } 1073 }, 1074 "right": { 1075 "type": "LogicalExpression", 1076 "operator": "||", 1077 "left": { 1078 "type": "Identifier", 1079 "name": "n", 1080 "decorators": [], 1081 "loc": { 1082 "start": { 1083 "line": 33, 1084 "column": 18 1085 }, 1086 "end": { 1087 "line": 33, 1088 "column": 19 1089 } 1090 } 1091 }, 1092 "right": { 1093 "type": "NumberLiteral", 1094 "value": 0, 1095 "loc": { 1096 "start": { 1097 "line": 33, 1098 "column": 23 1099 }, 1100 "end": { 1101 "line": 33, 1102 "column": 24 1103 } 1104 } 1105 }, 1106 "loc": { 1107 "start": { 1108 "line": 33, 1109 "column": 18 1110 }, 1111 "end": { 1112 "line": 33, 1113 "column": 24 1114 } 1115 } 1116 }, 1117 "loc": { 1118 "start": { 1119 "line": 33, 1120 "column": 9 1121 }, 1122 "end": { 1123 "line": 33, 1124 "column": 24 1125 } 1126 } 1127 }, 1128 "loc": { 1129 "start": { 1130 "line": 33, 1131 "column": 9 1132 }, 1133 "end": { 1134 "line": 33, 1135 "column": 25 1136 } 1137 } 1138 }, 1139 { 1140 "type": "ExpressionStatement", 1141 "expression": { 1142 "type": "CallExpression", 1143 "callee": { 1144 "type": "MemberExpression", 1145 "object": { 1146 "type": "ThisExpression", 1147 "loc": { 1148 "start": { 1149 "line": 34, 1150 "column": 9 1151 }, 1152 "end": { 1153 "line": 34, 1154 "column": 13 1155 } 1156 } 1157 }, 1158 "property": { 1159 "type": "Identifier", 1160 "name": "f", 1161 "decorators": [], 1162 "loc": { 1163 "start": { 1164 "line": 34, 1165 "column": 14 1166 }, 1167 "end": { 1168 "line": 34, 1169 "column": 15 1170 } 1171 } 1172 }, 1173 "computed": false, 1174 "optional": false, 1175 "loc": { 1176 "start": { 1177 "line": 34, 1178 "column": 9 1179 }, 1180 "end": { 1181 "line": 34, 1182 "column": 15 1183 } 1184 } 1185 }, 1186 "arguments": [], 1187 "optional": false, 1188 "loc": { 1189 "start": { 1190 "line": 34, 1191 "column": 9 1192 }, 1193 "end": { 1194 "line": 34, 1195 "column": 17 1196 } 1197 } 1198 }, 1199 "loc": { 1200 "start": { 1201 "line": 34, 1202 "column": 9 1203 }, 1204 "end": { 1205 "line": 34, 1206 "column": 18 1207 } 1208 } 1209 } 1210 ], 1211 "loc": { 1212 "start": { 1213 "line": 31, 1214 "column": 31 1215 }, 1216 "end": { 1217 "line": 35, 1218 "column": 6 1219 } 1220 } 1221 }, 1222 "loc": { 1223 "start": { 1224 "line": 31, 1225 "column": 6 1226 }, 1227 "end": { 1228 "line": 35, 1229 "column": 6 1230 } 1231 } 1232 }, 1233 "loc": { 1234 "start": { 1235 "line": 31, 1236 "column": 6 1237 }, 1238 "end": { 1239 "line": 35, 1240 "column": 6 1241 } 1242 } 1243 }, 1244 "overloads": [], 1245 "decorators": [], 1246 "loc": { 1247 "start": { 1248 "line": 31, 1249 "column": 5 1250 }, 1251 "end": { 1252 "line": 35, 1253 "column": 6 1254 } 1255 } 1256 }, 1257 { 1258 "type": "MethodDefinition", 1259 "key": { 1260 "type": "StringLiteral", 1261 "value": "1", 1262 "loc": { 1263 "start": { 1264 "line": 36, 1265 "column": 5 1266 }, 1267 "end": { 1268 "line": 36, 1269 "column": 8 1270 } 1271 } 1272 }, 1273 "kind": "method", 1274 "static": false, 1275 "optional": false, 1276 "computed": false, 1277 "value": { 1278 "type": "FunctionExpression", 1279 "function": { 1280 "type": "ScriptFunction", 1281 "id": null, 1282 "generator": false, 1283 "async": false, 1284 "expression": false, 1285 "params": [], 1286 "loc": { 1287 "start": { 1288 "line": 36, 1289 "column": 8 1290 }, 1291 "end": { 1292 "line": 36, 1293 "column": 11 1294 } 1295 } 1296 }, 1297 "loc": { 1298 "start": { 1299 "line": 36, 1300 "column": 8 1301 }, 1302 "end": { 1303 "line": 36, 1304 "column": 11 1305 } 1306 } 1307 }, 1308 "overloads": [], 1309 "decorators": [], 1310 "loc": { 1311 "start": { 1312 "line": 36, 1313 "column": 5 1314 }, 1315 "end": { 1316 "line": 36, 1317 "column": 11 1318 } 1319 } 1320 }, 1321 { 1322 "type": "MethodDefinition", 1323 "key": { 1324 "type": "NumberLiteral", 1325 "value": 1, 1326 "loc": { 1327 "start": { 1328 "line": 37, 1329 "column": 5 1330 }, 1331 "end": { 1332 "line": 37, 1333 "column": 6 1334 } 1335 } 1336 }, 1337 "kind": "method", 1338 "static": false, 1339 "optional": false, 1340 "computed": false, 1341 "value": { 1342 "type": "FunctionExpression", 1343 "function": { 1344 "type": "ScriptFunction", 1345 "id": null, 1346 "generator": false, 1347 "async": false, 1348 "expression": false, 1349 "params": [], 1350 "loc": { 1351 "start": { 1352 "line": 37, 1353 "column": 6 1354 }, 1355 "end": { 1356 "line": 37, 1357 "column": 9 1358 } 1359 } 1360 }, 1361 "loc": { 1362 "start": { 1363 "line": 37, 1364 "column": 6 1365 }, 1366 "end": { 1367 "line": 37, 1368 "column": 9 1369 } 1370 } 1371 }, 1372 "overloads": [], 1373 "decorators": [], 1374 "loc": { 1375 "start": { 1376 "line": 37, 1377 "column": 5 1378 }, 1379 "end": { 1380 "line": 37, 1381 "column": 9 1382 } 1383 } 1384 }, 1385 { 1386 "type": "MethodDefinition", 1387 "key": { 1388 "type": "NumberLiteral", 1389 "value": 1, 1390 "loc": { 1391 "start": { 1392 "line": 38, 1393 "column": 5 1394 }, 1395 "end": { 1396 "line": 38, 1397 "column": 6 1398 } 1399 } 1400 }, 1401 "kind": "method", 1402 "static": false, 1403 "optional": false, 1404 "computed": false, 1405 "value": { 1406 "type": "FunctionExpression", 1407 "function": { 1408 "type": "ScriptFunction", 1409 "id": null, 1410 "generator": false, 1411 "async": false, 1412 "expression": false, 1413 "params": [], 1414 "loc": { 1415 "start": { 1416 "line": 38, 1417 "column": 6 1418 }, 1419 "end": { 1420 "line": 38, 1421 "column": 9 1422 } 1423 } 1424 }, 1425 "loc": { 1426 "start": { 1427 "line": 38, 1428 "column": 6 1429 }, 1430 "end": { 1431 "line": 38, 1432 "column": 9 1433 } 1434 } 1435 }, 1436 "overloads": [], 1437 "decorators": [], 1438 "loc": { 1439 "start": { 1440 "line": 38, 1441 "column": 5 1442 }, 1443 "end": { 1444 "line": 38, 1445 "column": 9 1446 } 1447 } 1448 }, 1449 { 1450 "type": "MethodDefinition", 1451 "key": { 1452 "type": "StringLiteral", 1453 "value": "1", 1454 "loc": { 1455 "start": { 1456 "line": 39, 1457 "column": 5 1458 }, 1459 "end": { 1460 "line": 39, 1461 "column": 8 1462 } 1463 } 1464 }, 1465 "kind": "method", 1466 "static": false, 1467 "optional": false, 1468 "computed": false, 1469 "value": { 1470 "type": "FunctionExpression", 1471 "function": { 1472 "type": "ScriptFunction", 1473 "id": null, 1474 "generator": false, 1475 "async": false, 1476 "expression": false, 1477 "params": [], 1478 "loc": { 1479 "start": { 1480 "line": 39, 1481 "column": 8 1482 }, 1483 "end": { 1484 "line": 39, 1485 "column": 11 1486 } 1487 } 1488 }, 1489 "loc": { 1490 "start": { 1491 "line": 39, 1492 "column": 8 1493 }, 1494 "end": { 1495 "line": 39, 1496 "column": 11 1497 } 1498 } 1499 }, 1500 "overloads": [], 1501 "decorators": [], 1502 "loc": { 1503 "start": { 1504 "line": 39, 1505 "column": 5 1506 }, 1507 "end": { 1508 "line": 39, 1509 "column": 11 1510 } 1511 } 1512 }, 1513 { 1514 "type": "MethodDefinition", 1515 "key": { 1516 "type": "NumberLiteral", 1517 "value": 1, 1518 "loc": { 1519 "start": { 1520 "line": 40, 1521 "column": 5 1522 }, 1523 "end": { 1524 "line": 40, 1525 "column": 6 1526 } 1527 } 1528 }, 1529 "kind": "method", 1530 "static": false, 1531 "optional": false, 1532 "computed": false, 1533 "value": { 1534 "type": "FunctionExpression", 1535 "function": { 1536 "type": "ScriptFunction", 1537 "id": null, 1538 "generator": false, 1539 "async": false, 1540 "expression": false, 1541 "params": [], 1542 "body": { 1543 "type": "BlockStatement", 1544 "statements": [], 1545 "loc": { 1546 "start": { 1547 "line": 40, 1548 "column": 9 1549 }, 1550 "end": { 1551 "line": 40, 1552 "column": 12 1553 } 1554 } 1555 }, 1556 "loc": { 1557 "start": { 1558 "line": 40, 1559 "column": 6 1560 }, 1561 "end": { 1562 "line": 40, 1563 "column": 12 1564 } 1565 } 1566 }, 1567 "loc": { 1568 "start": { 1569 "line": 40, 1570 "column": 6 1571 }, 1572 "end": { 1573 "line": 40, 1574 "column": 12 1575 } 1576 } 1577 }, 1578 "overloads": [], 1579 "decorators": [], 1580 "loc": { 1581 "start": { 1582 "line": 40, 1583 "column": 5 1584 }, 1585 "end": { 1586 "line": 40, 1587 "column": 12 1588 } 1589 } 1590 }, 1591 { 1592 "type": "MethodDefinition", 1593 "key": { 1594 "type": "Identifier", 1595 "name": "f", 1596 "decorators": [], 1597 "loc": { 1598 "start": { 1599 "line": 41, 1600 "column": 5 1601 }, 1602 "end": { 1603 "line": 41, 1604 "column": 6 1605 } 1606 } 1607 }, 1608 "kind": "method", 1609 "static": false, 1610 "optional": false, 1611 "computed": false, 1612 "value": { 1613 "type": "FunctionExpression", 1614 "function": { 1615 "type": "ScriptFunction", 1616 "id": null, 1617 "generator": false, 1618 "async": false, 1619 "expression": false, 1620 "params": [], 1621 "returnType": { 1622 "type": "TSVoidKeyword", 1623 "loc": { 1624 "start": { 1625 "line": 41, 1626 "column": 10 1627 }, 1628 "end": { 1629 "line": 41, 1630 "column": 14 1631 } 1632 } 1633 }, 1634 "body": { 1635 "type": "BlockStatement", 1636 "statements": [ 1637 { 1638 "type": "ExpressionStatement", 1639 "expression": { 1640 "type": "UpdateExpression", 1641 "operator": "++", 1642 "prefix": false, 1643 "argument": { 1644 "type": "MemberExpression", 1645 "object": { 1646 "type": "ThisExpression", 1647 "loc": { 1648 "start": { 1649 "line": 42, 1650 "column": 9 1651 }, 1652 "end": { 1653 "line": 42, 1654 "column": 13 1655 } 1656 } 1657 }, 1658 "property": { 1659 "type": "Identifier", 1660 "name": "n", 1661 "decorators": [], 1662 "loc": { 1663 "start": { 1664 "line": 42, 1665 "column": 14 1666 }, 1667 "end": { 1668 "line": 42, 1669 "column": 15 1670 } 1671 } 1672 }, 1673 "computed": false, 1674 "optional": false, 1675 "loc": { 1676 "start": { 1677 "line": 42, 1678 "column": 9 1679 }, 1680 "end": { 1681 "line": 42, 1682 "column": 15 1683 } 1684 } 1685 }, 1686 "loc": { 1687 "start": { 1688 "line": 42, 1689 "column": 9 1690 }, 1691 "end": { 1692 "line": 42, 1693 "column": 17 1694 } 1695 } 1696 }, 1697 "loc": { 1698 "start": { 1699 "line": 42, 1700 "column": 9 1701 }, 1702 "end": { 1703 "line": 42, 1704 "column": 18 1705 } 1706 } 1707 } 1708 ], 1709 "loc": { 1710 "start": { 1711 "line": 41, 1712 "column": 15 1713 }, 1714 "end": { 1715 "line": 43, 1716 "column": 6 1717 } 1718 } 1719 }, 1720 "loc": { 1721 "start": { 1722 "line": 41, 1723 "column": 6 1724 }, 1725 "end": { 1726 "line": 43, 1727 "column": 6 1728 } 1729 } 1730 }, 1731 "loc": { 1732 "start": { 1733 "line": 41, 1734 "column": 6 1735 }, 1736 "end": { 1737 "line": 43, 1738 "column": 6 1739 } 1740 } 1741 }, 1742 "overloads": [], 1743 "decorators": [], 1744 "loc": { 1745 "start": { 1746 "line": 41, 1747 "column": 5 1748 }, 1749 "end": { 1750 "line": 43, 1751 "column": 6 1752 } 1753 } 1754 } 1755 ], 1756 "loc": { 1757 "start": { 1758 "line": 24, 1759 "column": 14 1760 }, 1761 "end": { 1762 "line": 44, 1763 "column": 2 1764 } 1765 } 1766 }, 1767 "loc": { 1768 "start": { 1769 "line": 24, 1770 "column": 1 1771 }, 1772 "end": { 1773 "line": 44, 1774 "column": 2 1775 } 1776 } 1777 } 1778 ], 1779 "loc": { 1780 "start": { 1781 "line": 1, 1782 "column": 1 1783 }, 1784 "end": { 1785 "line": 45, 1786 "column": 1 1787 } 1788 } 1789} 1790