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