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