1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "var1", 12 "loc": { 13 "start": { 14 "line": 17, 15 "column": 5 16 }, 17 "end": { 18 "line": 17, 19 "column": 9 20 } 21 } 22 }, 23 "init": null, 24 "loc": { 25 "start": { 26 "line": 17, 27 "column": 5 28 }, 29 "end": { 30 "line": 17, 31 "column": 9 32 } 33 } 34 } 35 ], 36 "kind": "var", 37 "loc": { 38 "start": { 39 "line": 17, 40 "column": 1 41 }, 42 "end": { 43 "line": 17, 44 "column": 10 45 } 46 } 47 }, 48 { 49 "type": "VariableDeclaration", 50 "declarations": [ 51 { 52 "type": "VariableDeclarator", 53 "id": { 54 "type": "Identifier", 55 "name": "var2", 56 "loc": { 57 "start": { 58 "line": 18, 59 "column": 13 60 }, 61 "end": { 62 "line": 18, 63 "column": 17 64 } 65 } 66 }, 67 "init": null, 68 "loc": { 69 "start": { 70 "line": 18, 71 "column": 13 72 }, 73 "end": { 74 "line": 18, 75 "column": 17 76 } 77 } 78 } 79 ], 80 "kind": "var", 81 "declare": true, 82 "loc": { 83 "start": { 84 "line": 18, 85 "column": 9 86 }, 87 "end": { 88 "line": 18, 89 "column": 18 90 } 91 } 92 }, 93 { 94 "type": "VariableDeclaration", 95 "declarations": [ 96 { 97 "type": "VariableDeclarator", 98 "id": { 99 "type": "Identifier", 100 "name": "var3", 101 "loc": { 102 "start": { 103 "line": 20, 104 "column": 5 105 }, 106 "end": { 107 "line": 20, 108 "column": 9 109 } 110 } 111 }, 112 "init": null, 113 "loc": { 114 "start": { 115 "line": 20, 116 "column": 5 117 }, 118 "end": { 119 "line": 20, 120 "column": 9 121 } 122 } 123 } 124 ], 125 "kind": "let", 126 "loc": { 127 "start": { 128 "line": 20, 129 "column": 1 130 }, 131 "end": { 132 "line": 20, 133 "column": 10 134 } 135 } 136 }, 137 { 138 "type": "VariableDeclaration", 139 "declarations": [ 140 { 141 "type": "VariableDeclarator", 142 "id": { 143 "type": "Identifier", 144 "name": "var4", 145 "loc": { 146 "start": { 147 "line": 21, 148 "column": 13 149 }, 150 "end": { 151 "line": 21, 152 "column": 17 153 } 154 } 155 }, 156 "init": null, 157 "loc": { 158 "start": { 159 "line": 21, 160 "column": 13 161 }, 162 "end": { 163 "line": 21, 164 "column": 17 165 } 166 } 167 } 168 ], 169 "kind": "let", 170 "declare": true, 171 "loc": { 172 "start": { 173 "line": 21, 174 "column": 9 175 }, 176 "end": { 177 "line": 21, 178 "column": 18 179 } 180 } 181 }, 182 { 183 "type": "VariableDeclaration", 184 "declarations": [ 185 { 186 "type": "VariableDeclarator", 187 "id": { 188 "type": "Identifier", 189 "name": "var5", 190 "loc": { 191 "start": { 192 "line": 23, 193 "column": 7 194 }, 195 "end": { 196 "line": 23, 197 "column": 11 198 } 199 } 200 }, 201 "init": { 202 "type": "NumberLiteral", 203 "value": 1, 204 "loc": { 205 "start": { 206 "line": 23, 207 "column": 14 208 }, 209 "end": { 210 "line": 23, 211 "column": 15 212 } 213 } 214 }, 215 "loc": { 216 "start": { 217 "line": 23, 218 "column": 7 219 }, 220 "end": { 221 "line": 23, 222 "column": 15 223 } 224 } 225 } 226 ], 227 "kind": "const", 228 "loc": { 229 "start": { 230 "line": 23, 231 "column": 1 232 }, 233 "end": { 234 "line": 23, 235 "column": 16 236 } 237 } 238 }, 239 { 240 "type": "VariableDeclaration", 241 "declarations": [ 242 { 243 "type": "VariableDeclarator", 244 "id": { 245 "type": "Identifier", 246 "name": "var6", 247 "loc": { 248 "start": { 249 "line": 24, 250 "column": 15 251 }, 252 "end": { 253 "line": 24, 254 "column": 19 255 } 256 } 257 }, 258 "init": { 259 "type": "NumberLiteral", 260 "value": 4, 261 "loc": { 262 "start": { 263 "line": 24, 264 "column": 22 265 }, 266 "end": { 267 "line": 24, 268 "column": 23 269 } 270 } 271 }, 272 "loc": { 273 "start": { 274 "line": 24, 275 "column": 15 276 }, 277 "end": { 278 "line": 24, 279 "column": 23 280 } 281 } 282 } 283 ], 284 "kind": "const", 285 "declare": true, 286 "loc": { 287 "start": { 288 "line": 24, 289 "column": 9 290 }, 291 "end": { 292 "line": 24, 293 "column": 24 294 } 295 } 296 }, 297 { 298 "type": "VariableDeclaration", 299 "declarations": [ 300 { 301 "type": "VariableDeclarator", 302 "id": { 303 "type": "Identifier", 304 "name": "var7", 305 "loc": { 306 "start": { 307 "line": 25, 308 "column": 15 309 }, 310 "end": { 311 "line": 25, 312 "column": 19 313 } 314 } 315 }, 316 "init": null, 317 "loc": { 318 "start": { 319 "line": 25, 320 "column": 15 321 }, 322 "end": { 323 "line": 25, 324 "column": 19 325 } 326 } 327 } 328 ], 329 "kind": "const", 330 "declare": true, 331 "loc": { 332 "start": { 333 "line": 25, 334 "column": 9 335 }, 336 "end": { 337 "line": 25, 338 "column": 20 339 } 340 } 341 }, 342 { 343 "type": "TSTypeAliasDeclaration", 344 "id": { 345 "type": "Identifier", 346 "name": "type1", 347 "loc": { 348 "start": { 349 "line": 27, 350 "column": 6 351 }, 352 "end": { 353 "line": 27, 354 "column": 11 355 } 356 } 357 }, 358 "typeAnnotation": { 359 "type": "TSUnionType", 360 "types": [ 361 { 362 "type": "TSNumberKeyword", 363 "loc": { 364 "start": { 365 "line": 27, 366 "column": 14 367 }, 368 "end": { 369 "line": 27, 370 "column": 20 371 } 372 } 373 }, 374 { 375 "type": "TSStringKeyword", 376 "loc": { 377 "start": { 378 "line": 27, 379 "column": 23 380 }, 381 "end": { 382 "line": 27, 383 "column": 29 384 } 385 } 386 } 387 ], 388 "loc": { 389 "start": { 390 "line": 27, 391 "column": 14 392 }, 393 "end": { 394 "line": 27, 395 "column": 29 396 } 397 } 398 }, 399 "loc": { 400 "start": { 401 "line": 27, 402 "column": 1 403 }, 404 "end": { 405 "line": 27, 406 "column": 30 407 } 408 } 409 }, 410 { 411 "type": "TSTypeAliasDeclaration", 412 "id": { 413 "type": "Identifier", 414 "name": "type2", 415 "loc": { 416 "start": { 417 "line": 28, 418 "column": 14 419 }, 420 "end": { 421 "line": 28, 422 "column": 19 423 } 424 } 425 }, 426 "typeAnnotation": { 427 "type": "TSUnionType", 428 "types": [ 429 { 430 "type": "TSNumberKeyword", 431 "loc": { 432 "start": { 433 "line": 28, 434 "column": 22 435 }, 436 "end": { 437 "line": 28, 438 "column": 28 439 } 440 } 441 }, 442 { 443 "type": "TSStringKeyword", 444 "loc": { 445 "start": { 446 "line": 28, 447 "column": 31 448 }, 449 "end": { 450 "line": 28, 451 "column": 37 452 } 453 } 454 } 455 ], 456 "loc": { 457 "start": { 458 "line": 28, 459 "column": 22 460 }, 461 "end": { 462 "line": 28, 463 "column": 37 464 } 465 } 466 }, 467 "declare": true, 468 "loc": { 469 "start": { 470 "line": 28, 471 "column": 9 472 }, 473 "end": { 474 "line": 28, 475 "column": 38 476 } 477 } 478 }, 479 { 480 "type": "FunctionDeclaration", 481 "function": { 482 "type": "ScriptFunction", 483 "id": { 484 "type": "Identifier", 485 "name": "func1", 486 "loc": { 487 "start": { 488 "line": 30, 489 "column": 10 490 }, 491 "end": { 492 "line": 30, 493 "column": 15 494 } 495 } 496 }, 497 "generator": false, 498 "async": false, 499 "expression": false, 500 "params": [], 501 "body": { 502 "type": "BlockStatement", 503 "statements": [], 504 "loc": { 505 "start": { 506 "line": 30, 507 "column": 18 508 }, 509 "end": { 510 "line": 30, 511 "column": 21 512 } 513 } 514 }, 515 "loc": { 516 "start": { 517 "line": 30, 518 "column": 1 519 }, 520 "end": { 521 "line": 30, 522 "column": 21 523 } 524 } 525 }, 526 "loc": { 527 "start": { 528 "line": 30, 529 "column": 1 530 }, 531 "end": { 532 "line": 30, 533 "column": 21 534 } 535 } 536 }, 537 { 538 "type": "EmptyStatement", 539 "loc": { 540 "start": { 541 "line": 30, 542 "column": 21 543 }, 544 "end": { 545 "line": 30, 546 "column": 22 547 } 548 } 549 }, 550 { 551 "type": "TSDeclareFunction", 552 "function": { 553 "type": "ScriptFunction", 554 "id": { 555 "type": "Identifier", 556 "name": "func2", 557 "loc": { 558 "start": { 559 "line": 31, 560 "column": 18 561 }, 562 "end": { 563 "line": 31, 564 "column": 23 565 } 566 } 567 }, 568 "generator": false, 569 "async": false, 570 "expression": false, 571 "params": [], 572 "declare": true, 573 "loc": { 574 "start": { 575 "line": 31, 576 "column": 9 577 }, 578 "end": { 579 "line": 31, 580 "column": 26 581 } 582 } 583 }, 584 "loc": { 585 "start": { 586 "line": 31, 587 "column": 9 588 }, 589 "end": { 590 "line": 31, 591 "column": 26 592 } 593 } 594 }, 595 { 596 "type": "ExpressionStatement", 597 "expression": { 598 "type": "CallExpression", 599 "callee": { 600 "type": "Identifier", 601 "name": "func2", 602 "loc": { 603 "start": { 604 "line": 32, 605 "column": 1 606 }, 607 "end": { 608 "line": 32, 609 "column": 6 610 } 611 } 612 }, 613 "arguments": [], 614 "optional": false, 615 "loc": { 616 "start": { 617 "line": 32, 618 "column": 1 619 }, 620 "end": { 621 "line": 32, 622 "column": 8 623 } 624 } 625 }, 626 "loc": { 627 "start": { 628 "line": 32, 629 "column": 1 630 }, 631 "end": { 632 "line": 32, 633 "column": 9 634 } 635 } 636 }, 637 { 638 "type": "ClassDeclaration", 639 "definition": { 640 "id": { 641 "type": "Identifier", 642 "name": "Class1", 643 "loc": { 644 "start": { 645 "line": 34, 646 "column": 15 647 }, 648 "end": { 649 "line": 34, 650 "column": 21 651 } 652 } 653 }, 654 "superClass": null, 655 "implements": [], 656 "constructor": { 657 "type": "MethodDefinition", 658 "key": { 659 "type": "Identifier", 660 "name": "constructor", 661 "loc": { 662 "start": { 663 "line": 1, 664 "column": 1 665 }, 666 "end": { 667 "line": 1, 668 "column": 1 669 } 670 } 671 }, 672 "kind": "constructor", 673 "static": false, 674 "optional": false, 675 "computed": false, 676 "value": { 677 "type": "FunctionExpression", 678 "function": { 679 "type": "ScriptFunction", 680 "id": null, 681 "generator": false, 682 "async": false, 683 "expression": false, 684 "params": [], 685 "declare": true, 686 "loc": { 687 "start": { 688 "line": 1, 689 "column": 1 690 }, 691 "end": { 692 "line": 1, 693 "column": 1 694 } 695 } 696 }, 697 "loc": { 698 "start": { 699 "line": 1, 700 "column": 1 701 }, 702 "end": { 703 "line": 1, 704 "column": 1 705 } 706 } 707 }, 708 "overloads": [], 709 "decorators": [], 710 "annotations": [], 711 "loc": { 712 "start": { 713 "line": 34, 714 "column": 9 715 }, 716 "end": { 717 "line": 45, 718 "column": 2 719 } 720 } 721 }, 722 "body": [ 723 { 724 "type": "MethodDefinition", 725 "key": { 726 "type": "Identifier", 727 "name": "a", 728 "loc": { 729 "start": { 730 "line": 35, 731 "column": 24 732 }, 733 "end": { 734 "line": 35, 735 "column": 25 736 } 737 } 738 }, 739 "kind": "get", 740 "accessibility": "private", 741 "static": true, 742 "optional": false, 743 "computed": false, 744 "value": { 745 "type": "FunctionExpression", 746 "function": { 747 "type": "ScriptFunction", 748 "id": null, 749 "generator": false, 750 "async": false, 751 "expression": false, 752 "params": [], 753 "loc": { 754 "start": { 755 "line": 35, 756 "column": 25 757 }, 758 "end": { 759 "line": 36, 760 "column": 11 761 } 762 } 763 }, 764 "loc": { 765 "start": { 766 "line": 35, 767 "column": 25 768 }, 769 "end": { 770 "line": 36, 771 "column": 11 772 } 773 } 774 }, 775 "overloads": [], 776 "decorators": [], 777 "annotations": [], 778 "loc": { 779 "start": { 780 "line": 35, 781 "column": 5 782 }, 783 "end": { 784 "line": 36, 785 "column": 11 786 } 787 } 788 }, 789 { 790 "type": "MethodDefinition", 791 "key": { 792 "type": "Identifier", 793 "name": "g", 794 "loc": { 795 "start": { 796 "line": 36, 797 "column": 12 798 }, 799 "end": { 800 "line": 36, 801 "column": 13 802 } 803 } 804 }, 805 "kind": "method", 806 "accessibility": "public", 807 "static": false, 808 "optional": false, 809 "computed": false, 810 "value": { 811 "type": "FunctionExpression", 812 "function": { 813 "type": "ScriptFunction", 814 "id": null, 815 "generator": false, 816 "async": false, 817 "expression": false, 818 "params": [], 819 "loc": { 820 "start": { 821 "line": 36, 822 "column": 13 823 }, 824 "end": { 825 "line": 37, 826 "column": 11 827 } 828 } 829 }, 830 "loc": { 831 "start": { 832 "line": 36, 833 "column": 13 834 }, 835 "end": { 836 "line": 37, 837 "column": 11 838 } 839 } 840 }, 841 "overloads": [], 842 "decorators": [], 843 "annotations": [], 844 "loc": { 845 "start": { 846 "line": 36, 847 "column": 5 848 }, 849 "end": { 850 "line": 37, 851 "column": 11 852 } 853 } 854 }, 855 { 856 "type": "ClassProperty", 857 "key": { 858 "type": "NumberLiteral", 859 "value": 5, 860 "loc": { 861 "start": { 862 "line": 37, 863 "column": 30 864 }, 865 "end": { 866 "line": 37, 867 "column": 31 868 } 869 } 870 }, 871 "static": true, 872 "readonly": true, 873 "declare": true, 874 "optional": false, 875 "computed": true, 876 "decorators": [], 877 "loc": { 878 "start": { 879 "line": 37, 880 "column": 5 881 }, 882 "end": { 883 "line": 37, 884 "column": 31 885 } 886 } 887 }, 888 { 889 "type": "ClassProperty", 890 "key": { 891 "type": "StringLiteral", 892 "value": "b", 893 "loc": { 894 "start": { 895 "line": 38, 896 "column": 30 897 }, 898 "end": { 899 "line": 38, 900 "column": 33 901 } 902 } 903 }, 904 "static": true, 905 "readonly": true, 906 "declare": true, 907 "optional": false, 908 "computed": true, 909 "decorators": [], 910 "loc": { 911 "start": { 912 "line": 38, 913 "column": 5 914 }, 915 "end": { 916 "line": 38, 917 "column": 33 918 } 919 } 920 }, 921 { 922 "type": "ClassProperty", 923 "key": { 924 "type": "NumberLiteral", 925 "value": 67, 926 "loc": { 927 "start": { 928 "line": 39, 929 "column": 29 930 }, 931 "end": { 932 "line": 39, 933 "column": 31 934 } 935 } 936 }, 937 "static": true, 938 "readonly": true, 939 "declare": true, 940 "optional": false, 941 "computed": false, 942 "decorators": [], 943 "loc": { 944 "start": { 945 "line": 39, 946 "column": 5 947 }, 948 "end": { 949 "line": 39, 950 "column": 31 951 } 952 } 953 }, 954 { 955 "type": "ClassProperty", 956 "key": { 957 "type": "Identifier", 958 "name": "j", 959 "loc": { 960 "start": { 961 "line": 40, 962 "column": 29 963 }, 964 "end": { 965 "line": 40, 966 "column": 30 967 } 968 } 969 }, 970 "static": true, 971 "readonly": true, 972 "declare": true, 973 "optional": false, 974 "computed": false, 975 "decorators": [], 976 "loc": { 977 "start": { 978 "line": 40, 979 "column": 5 980 }, 981 "end": { 982 "line": 40, 983 "column": 30 984 } 985 } 986 }, 987 { 988 "type": "ClassProperty", 989 "key": { 990 "type": "Identifier", 991 "name": "private", 992 "loc": { 993 "start": { 994 "line": 41, 995 "column": 5 996 }, 997 "end": { 998 "line": 41, 999 "column": 12 1000 } 1001 } 1002 }, 1003 "static": false, 1004 "readonly": false, 1005 "declare": false, 1006 "optional": false, 1007 "computed": false, 1008 "decorators": [], 1009 "loc": { 1010 "start": { 1011 "line": 41, 1012 "column": 5 1013 }, 1014 "end": { 1015 "line": 41, 1016 "column": 12 1017 } 1018 } 1019 }, 1020 { 1021 "type": "MethodDefinition", 1022 "key": { 1023 "type": "NumberLiteral", 1024 "value": 1, 1025 "loc": { 1026 "start": { 1027 "line": 42, 1028 "column": 16 1029 }, 1030 "end": { 1031 "line": 42, 1032 "column": 17 1033 } 1034 } 1035 }, 1036 "kind": "method", 1037 "accessibility": "protected", 1038 "static": false, 1039 "optional": false, 1040 "computed": true, 1041 "value": { 1042 "type": "FunctionExpression", 1043 "function": { 1044 "type": "ScriptFunction", 1045 "id": null, 1046 "generator": false, 1047 "async": false, 1048 "expression": false, 1049 "params": [], 1050 "loc": { 1051 "start": { 1052 "line": 42, 1053 "column": 18 1054 }, 1055 "end": { 1056 "line": 43, 1057 "column": 11 1058 } 1059 } 1060 }, 1061 "loc": { 1062 "start": { 1063 "line": 42, 1064 "column": 18 1065 }, 1066 "end": { 1067 "line": 43, 1068 "column": 11 1069 } 1070 } 1071 }, 1072 "overloads": [], 1073 "decorators": [], 1074 "annotations": [], 1075 "loc": { 1076 "start": { 1077 "line": 42, 1078 "column": 5 1079 }, 1080 "end": { 1081 "line": 43, 1082 "column": 11 1083 } 1084 } 1085 }, 1086 { 1087 "type": "ClassProperty", 1088 "key": { 1089 "type": "Identifier", 1090 "name": "k", 1091 "loc": { 1092 "start": { 1093 "line": 43, 1094 "column": 19 1095 }, 1096 "end": { 1097 "line": 43, 1098 "column": 20 1099 } 1100 } 1101 }, 1102 "accessibility": "public", 1103 "static": true, 1104 "readonly": false, 1105 "declare": false, 1106 "optional": false, 1107 "computed": false, 1108 "decorators": [], 1109 "loc": { 1110 "start": { 1111 "line": 43, 1112 "column": 5 1113 }, 1114 "end": { 1115 "line": 43, 1116 "column": 20 1117 } 1118 } 1119 }, 1120 { 1121 "type": "ClassProperty", 1122 "key": { 1123 "type": "PrivateIdentifier", 1124 "prefix": "#", 1125 "name": "o", 1126 "loc": { 1127 "start": { 1128 "line": 44, 1129 "column": 5 1130 }, 1131 "end": { 1132 "line": 44, 1133 "column": 7 1134 } 1135 } 1136 }, 1137 "static": false, 1138 "readonly": false, 1139 "declare": false, 1140 "optional": false, 1141 "computed": false, 1142 "decorators": [], 1143 "loc": { 1144 "start": { 1145 "line": 44, 1146 "column": 5 1147 }, 1148 "end": { 1149 "line": 44, 1150 "column": 7 1151 } 1152 } 1153 } 1154 ], 1155 "indexSignatures": [], 1156 "loc": { 1157 "start": { 1158 "line": 34, 1159 "column": 22 1160 }, 1161 "end": { 1162 "line": 45, 1163 "column": 2 1164 } 1165 } 1166 }, 1167 "decorators": [], 1168 "isAnnotationDeclaration": false, 1169 "loc": { 1170 "start": { 1171 "line": 34, 1172 "column": 9 1173 }, 1174 "end": { 1175 "line": 45, 1176 "column": 2 1177 } 1178 } 1179 } 1180 ], 1181 "loc": { 1182 "start": { 1183 "line": 1, 1184 "column": 1 1185 }, 1186 "end": { 1187 "line": 45, 1188 "column": 2 1189 } 1190 } 1191} 1192