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