1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "BitopsBitsInByte", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 16, 14 "column": 14, 15 "program": "BitopsBitsInByte.ets" 16 }, 17 "end": { 18 "line": 16, 19 "column": 30, 20 "program": "BitopsBitsInByte.ets" 21 } 22 } 23 }, 24 "superClass": null, 25 "implements": [], 26 "body": [ 27 { 28 "type": "MethodDefinition", 29 "key": { 30 "type": "Identifier", 31 "name": "bitsinbyte", 32 "decorators": [], 33 "loc": { 34 "start": { 35 "line": 17, 36 "column": 18, 37 "program": "BitopsBitsInByte.ets" 38 }, 39 "end": { 40 "line": 17, 41 "column": 28, 42 "program": "BitopsBitsInByte.ets" 43 } 44 } 45 }, 46 "kind": "method", 47 "accessibility": "private", 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": "bitsinbyte", 58 "decorators": [], 59 "loc": { 60 "start": { 61 "line": 17, 62 "column": 18, 63 "program": "BitopsBitsInByte.ets" 64 }, 65 "end": { 66 "line": 17, 67 "column": 28, 68 "program": "BitopsBitsInByte.ets" 69 } 70 } 71 }, 72 "generator": false, 73 "async": false, 74 "expression": false, 75 "params": [ 76 { 77 "type": "ETSParameterExpression", 78 "name": { 79 "type": "Identifier", 80 "name": "b", 81 "typeAnnotation": { 82 "type": "ETSPrimitiveType", 83 "loc": { 84 "start": { 85 "line": 17, 86 "column": 32, 87 "program": "BitopsBitsInByte.ets" 88 }, 89 "end": { 90 "line": 17, 91 "column": 35, 92 "program": "BitopsBitsInByte.ets" 93 } 94 } 95 }, 96 "decorators": [], 97 "loc": { 98 "start": { 99 "line": 17, 100 "column": 29, 101 "program": "BitopsBitsInByte.ets" 102 }, 103 "end": { 104 "line": 17, 105 "column": 35, 106 "program": "BitopsBitsInByte.ets" 107 } 108 } 109 }, 110 "loc": { 111 "start": { 112 "line": 17, 113 "column": 29, 114 "program": "BitopsBitsInByte.ets" 115 }, 116 "end": { 117 "line": 17, 118 "column": 35, 119 "program": "BitopsBitsInByte.ets" 120 } 121 } 122 } 123 ], 124 "returnType": { 125 "type": "ETSPrimitiveType", 126 "loc": { 127 "start": { 128 "line": 17, 129 "column": 38, 130 "program": "BitopsBitsInByte.ets" 131 }, 132 "end": { 133 "line": 17, 134 "column": 41, 135 "program": "BitopsBitsInByte.ets" 136 } 137 } 138 }, 139 "body": { 140 "type": "BlockStatement", 141 "statements": [ 142 { 143 "type": "VariableDeclaration", 144 "declarations": [ 145 { 146 "type": "VariableDeclarator", 147 "id": { 148 "type": "Identifier", 149 "name": "m", 150 "typeAnnotation": { 151 "type": "ETSPrimitiveType", 152 "loc": { 153 "start": { 154 "line": 18, 155 "column": 12, 156 "program": "BitopsBitsInByte.ets" 157 }, 158 "end": { 159 "line": 18, 160 "column": 15, 161 "program": "BitopsBitsInByte.ets" 162 } 163 } 164 }, 165 "decorators": [], 166 "loc": { 167 "start": { 168 "line": 18, 169 "column": 9, 170 "program": "BitopsBitsInByte.ets" 171 }, 172 "end": { 173 "line": 18, 174 "column": 10, 175 "program": "BitopsBitsInByte.ets" 176 } 177 } 178 }, 179 "init": { 180 "type": "NumberLiteral", 181 "value": 1, 182 "loc": { 183 "start": { 184 "line": 18, 185 "column": 18, 186 "program": "BitopsBitsInByte.ets" 187 }, 188 "end": { 189 "line": 18, 190 "column": 19, 191 "program": "BitopsBitsInByte.ets" 192 } 193 } 194 }, 195 "loc": { 196 "start": { 197 "line": 18, 198 "column": 9, 199 "program": "BitopsBitsInByte.ets" 200 }, 201 "end": { 202 "line": 18, 203 "column": 19, 204 "program": "BitopsBitsInByte.ets" 205 } 206 } 207 } 208 ], 209 "kind": "let", 210 "loc": { 211 "start": { 212 "line": 18, 213 "column": 5, 214 "program": "BitopsBitsInByte.ets" 215 }, 216 "end": { 217 "line": 18, 218 "column": 20, 219 "program": "BitopsBitsInByte.ets" 220 } 221 } 222 }, 223 { 224 "type": "VariableDeclaration", 225 "declarations": [ 226 { 227 "type": "VariableDeclarator", 228 "id": { 229 "type": "Identifier", 230 "name": "c", 231 "typeAnnotation": { 232 "type": "ETSPrimitiveType", 233 "loc": { 234 "start": { 235 "line": 19, 236 "column": 12, 237 "program": "BitopsBitsInByte.ets" 238 }, 239 "end": { 240 "line": 19, 241 "column": 15, 242 "program": "BitopsBitsInByte.ets" 243 } 244 } 245 }, 246 "decorators": [], 247 "loc": { 248 "start": { 249 "line": 19, 250 "column": 9, 251 "program": "BitopsBitsInByte.ets" 252 }, 253 "end": { 254 "line": 19, 255 "column": 10, 256 "program": "BitopsBitsInByte.ets" 257 } 258 } 259 }, 260 "init": { 261 "type": "NumberLiteral", 262 "value": 0, 263 "loc": { 264 "start": { 265 "line": 19, 266 "column": 18, 267 "program": "BitopsBitsInByte.ets" 268 }, 269 "end": { 270 "line": 19, 271 "column": 19, 272 "program": "BitopsBitsInByte.ets" 273 } 274 } 275 }, 276 "loc": { 277 "start": { 278 "line": 19, 279 "column": 9, 280 "program": "BitopsBitsInByte.ets" 281 }, 282 "end": { 283 "line": 19, 284 "column": 19, 285 "program": "BitopsBitsInByte.ets" 286 } 287 } 288 } 289 ], 290 "kind": "let", 291 "loc": { 292 "start": { 293 "line": 19, 294 "column": 5, 295 "program": "BitopsBitsInByte.ets" 296 }, 297 "end": { 298 "line": 19, 299 "column": 20, 300 "program": "BitopsBitsInByte.ets" 301 } 302 } 303 }, 304 { 305 "type": "WhileStatement", 306 "test": { 307 "type": "BinaryExpression", 308 "operator": "<", 309 "left": { 310 "type": "Identifier", 311 "name": "m", 312 "decorators": [], 313 "loc": { 314 "start": { 315 "line": 20, 316 "column": 12, 317 "program": "BitopsBitsInByte.ets" 318 }, 319 "end": { 320 "line": 20, 321 "column": 13, 322 "program": "BitopsBitsInByte.ets" 323 } 324 } 325 }, 326 "right": { 327 "type": "NumberLiteral", 328 "value": 256, 329 "loc": { 330 "start": { 331 "line": 20, 332 "column": 16, 333 "program": "BitopsBitsInByte.ets" 334 }, 335 "end": { 336 "line": 20, 337 "column": 21, 338 "program": "BitopsBitsInByte.ets" 339 } 340 } 341 }, 342 "loc": { 343 "start": { 344 "line": 20, 345 "column": 12, 346 "program": "BitopsBitsInByte.ets" 347 }, 348 "end": { 349 "line": 20, 350 "column": 21, 351 "program": "BitopsBitsInByte.ets" 352 } 353 } 354 }, 355 "body": { 356 "type": "BlockStatement", 357 "statements": [ 358 { 359 "type": "IfStatement", 360 "test": { 361 "type": "BinaryExpression", 362 "operator": "!=", 363 "left": { 364 "type": "BinaryExpression", 365 "operator": "&", 366 "left": { 367 "type": "Identifier", 368 "name": "b", 369 "decorators": [], 370 "loc": { 371 "start": { 372 "line": 21, 373 "column": 12, 374 "program": "BitopsBitsInByte.ets" 375 }, 376 "end": { 377 "line": 21, 378 "column": 13, 379 "program": "BitopsBitsInByte.ets" 380 } 381 } 382 }, 383 "right": { 384 "type": "Identifier", 385 "name": "m", 386 "decorators": [], 387 "loc": { 388 "start": { 389 "line": 21, 390 "column": 16, 391 "program": "BitopsBitsInByte.ets" 392 }, 393 "end": { 394 "line": 21, 395 "column": 17, 396 "program": "BitopsBitsInByte.ets" 397 } 398 } 399 }, 400 "loc": { 401 "start": { 402 "line": 21, 403 "column": 11, 404 "program": "BitopsBitsInByte.ets" 405 }, 406 "end": { 407 "line": 21, 408 "column": 18, 409 "program": "BitopsBitsInByte.ets" 410 } 411 } 412 }, 413 "right": { 414 "type": "NumberLiteral", 415 "value": 0, 416 "loc": { 417 "start": { 418 "line": 21, 419 "column": 22, 420 "program": "BitopsBitsInByte.ets" 421 }, 422 "end": { 423 "line": 21, 424 "column": 23, 425 "program": "BitopsBitsInByte.ets" 426 } 427 } 428 }, 429 "loc": { 430 "start": { 431 "line": 21, 432 "column": 11, 433 "program": "BitopsBitsInByte.ets" 434 }, 435 "end": { 436 "line": 21, 437 "column": 23, 438 "program": "BitopsBitsInByte.ets" 439 } 440 } 441 }, 442 "consequent": { 443 "type": "BlockStatement", 444 "statements": [ 445 { 446 "type": "ExpressionStatement", 447 "expression": { 448 "type": "UpdateExpression", 449 "operator": "++", 450 "prefix": false, 451 "argument": { 452 "type": "Identifier", 453 "name": "c", 454 "decorators": [], 455 "loc": { 456 "start": { 457 "line": 22, 458 "column": 9, 459 "program": "BitopsBitsInByte.ets" 460 }, 461 "end": { 462 "line": 22, 463 "column": 10, 464 "program": "BitopsBitsInByte.ets" 465 } 466 } 467 }, 468 "loc": { 469 "start": { 470 "line": 22, 471 "column": 9, 472 "program": "BitopsBitsInByte.ets" 473 }, 474 "end": { 475 "line": 22, 476 "column": 12, 477 "program": "BitopsBitsInByte.ets" 478 } 479 } 480 }, 481 "loc": { 482 "start": { 483 "line": 22, 484 "column": 9, 485 "program": "BitopsBitsInByte.ets" 486 }, 487 "end": { 488 "line": 22, 489 "column": 13, 490 "program": "BitopsBitsInByte.ets" 491 } 492 } 493 } 494 ], 495 "loc": { 496 "start": { 497 "line": 21, 498 "column": 25, 499 "program": "BitopsBitsInByte.ets" 500 }, 501 "end": { 502 "line": 23, 503 "column": 8, 504 "program": "BitopsBitsInByte.ets" 505 } 506 } 507 }, 508 "alternate": null, 509 "loc": { 510 "start": { 511 "line": 21, 512 "column": 7, 513 "program": "BitopsBitsInByte.ets" 514 }, 515 "end": { 516 "line": 23, 517 "column": 8, 518 "program": "BitopsBitsInByte.ets" 519 } 520 } 521 }, 522 { 523 "type": "ExpressionStatement", 524 "expression": { 525 "type": "AssignmentExpression", 526 "operator": "<<=", 527 "left": { 528 "type": "Identifier", 529 "name": "m", 530 "decorators": [], 531 "loc": { 532 "start": { 533 "line": 24, 534 "column": 7, 535 "program": "BitopsBitsInByte.ets" 536 }, 537 "end": { 538 "line": 24, 539 "column": 8, 540 "program": "BitopsBitsInByte.ets" 541 } 542 } 543 }, 544 "right": { 545 "type": "NumberLiteral", 546 "value": 1, 547 "loc": { 548 "start": { 549 "line": 24, 550 "column": 13, 551 "program": "BitopsBitsInByte.ets" 552 }, 553 "end": { 554 "line": 24, 555 "column": 14, 556 "program": "BitopsBitsInByte.ets" 557 } 558 } 559 }, 560 "loc": { 561 "start": { 562 "line": 24, 563 "column": 7, 564 "program": "BitopsBitsInByte.ets" 565 }, 566 "end": { 567 "line": 24, 568 "column": 14, 569 "program": "BitopsBitsInByte.ets" 570 } 571 } 572 }, 573 "loc": { 574 "start": { 575 "line": 24, 576 "column": 7, 577 "program": "BitopsBitsInByte.ets" 578 }, 579 "end": { 580 "line": 24, 581 "column": 15, 582 "program": "BitopsBitsInByte.ets" 583 } 584 } 585 } 586 ], 587 "loc": { 588 "start": { 589 "line": 20, 590 "column": 23, 591 "program": "BitopsBitsInByte.ets" 592 }, 593 "end": { 594 "line": 25, 595 "column": 6, 596 "program": "BitopsBitsInByte.ets" 597 } 598 } 599 }, 600 "loc": { 601 "start": { 602 "line": 20, 603 "column": 5, 604 "program": "BitopsBitsInByte.ets" 605 }, 606 "end": { 607 "line": 25, 608 "column": 6, 609 "program": "BitopsBitsInByte.ets" 610 } 611 } 612 }, 613 { 614 "type": "ReturnStatement", 615 "argument": { 616 "type": "Identifier", 617 "name": "c", 618 "decorators": [], 619 "loc": { 620 "start": { 621 "line": 26, 622 "column": 12, 623 "program": "BitopsBitsInByte.ets" 624 }, 625 "end": { 626 "line": 26, 627 "column": 13, 628 "program": "BitopsBitsInByte.ets" 629 } 630 } 631 }, 632 "loc": { 633 "start": { 634 "line": 26, 635 "column": 5, 636 "program": "BitopsBitsInByte.ets" 637 }, 638 "end": { 639 "line": 26, 640 "column": 14, 641 "program": "BitopsBitsInByte.ets" 642 } 643 } 644 } 645 ], 646 "loc": { 647 "start": { 648 "line": 17, 649 "column": 42, 650 "program": "BitopsBitsInByte.ets" 651 }, 652 "end": { 653 "line": 27, 654 "column": 4, 655 "program": "BitopsBitsInByte.ets" 656 } 657 } 658 }, 659 "loc": { 660 "start": { 661 "line": 17, 662 "column": 28, 663 "program": "BitopsBitsInByte.ets" 664 }, 665 "end": { 666 "line": 27, 667 "column": 4, 668 "program": "BitopsBitsInByte.ets" 669 } 670 } 671 }, 672 "loc": { 673 "start": { 674 "line": 17, 675 "column": 28, 676 "program": "BitopsBitsInByte.ets" 677 }, 678 "end": { 679 "line": 27, 680 "column": 4, 681 "program": "BitopsBitsInByte.ets" 682 } 683 } 684 }, 685 "overloads": [], 686 "decorators": [], 687 "loc": { 688 "start": { 689 "line": 17, 690 "column": 3, 691 "program": "BitopsBitsInByte.ets" 692 }, 693 "end": { 694 "line": 27, 695 "column": 4, 696 "program": "BitopsBitsInByte.ets" 697 } 698 } 699 }, 700 { 701 "type": "ClassProperty", 702 "key": { 703 "type": "Identifier", 704 "name": "n1", 705 "decorators": [], 706 "loc": { 707 "start": { 708 "line": 29, 709 "column": 11, 710 "program": "BitopsBitsInByte.ets" 711 }, 712 "end": { 713 "line": 29, 714 "column": 13, 715 "program": "BitopsBitsInByte.ets" 716 } 717 } 718 }, 719 "value": { 720 "type": "NumberLiteral", 721 "value": 350, 722 "loc": { 723 "start": { 724 "line": 29, 725 "column": 21, 726 "program": "BitopsBitsInByte.ets" 727 }, 728 "end": { 729 "line": 29, 730 "column": 24, 731 "program": "BitopsBitsInByte.ets" 732 } 733 } 734 }, 735 "accessibility": "private", 736 "static": false, 737 "readonly": false, 738 "declare": false, 739 "optional": false, 740 "computed": false, 741 "typeAnnotation": { 742 "type": "ETSPrimitiveType", 743 "loc": { 744 "start": { 745 "line": 29, 746 "column": 15, 747 "program": "BitopsBitsInByte.ets" 748 }, 749 "end": { 750 "line": 29, 751 "column": 18, 752 "program": "BitopsBitsInByte.ets" 753 } 754 } 755 }, 756 "definite": false, 757 "decorators": [], 758 "loc": { 759 "start": { 760 "line": 29, 761 "column": 11, 762 "program": "BitopsBitsInByte.ets" 763 }, 764 "end": { 765 "line": 29, 766 "column": 24, 767 "program": "BitopsBitsInByte.ets" 768 } 769 } 770 }, 771 { 772 "type": "ClassProperty", 773 "key": { 774 "type": "Identifier", 775 "name": "n2", 776 "decorators": [], 777 "loc": { 778 "start": { 779 "line": 30, 780 "column": 11, 781 "program": "BitopsBitsInByte.ets" 782 }, 783 "end": { 784 "line": 30, 785 "column": 13, 786 "program": "BitopsBitsInByte.ets" 787 } 788 } 789 }, 790 "value": { 791 "type": "NumberLiteral", 792 "value": 256, 793 "loc": { 794 "start": { 795 "line": 30, 796 "column": 21, 797 "program": "BitopsBitsInByte.ets" 798 }, 799 "end": { 800 "line": 30, 801 "column": 24, 802 "program": "BitopsBitsInByte.ets" 803 } 804 } 805 }, 806 "accessibility": "private", 807 "static": false, 808 "readonly": false, 809 "declare": false, 810 "optional": false, 811 "computed": false, 812 "typeAnnotation": { 813 "type": "ETSPrimitiveType", 814 "loc": { 815 "start": { 816 "line": 30, 817 "column": 15, 818 "program": "BitopsBitsInByte.ets" 819 }, 820 "end": { 821 "line": 30, 822 "column": 18, 823 "program": "BitopsBitsInByte.ets" 824 } 825 } 826 }, 827 "definite": false, 828 "decorators": [], 829 "loc": { 830 "start": { 831 "line": 30, 832 "column": 11, 833 "program": "BitopsBitsInByte.ets" 834 }, 835 "end": { 836 "line": 30, 837 "column": 24, 838 "program": "BitopsBitsInByte.ets" 839 } 840 } 841 }, 842 { 843 "type": "ClassProperty", 844 "key": { 845 "type": "Identifier", 846 "name": "expected", 847 "decorators": [], 848 "loc": { 849 "start": { 850 "line": 31, 851 "column": 27, 852 "program": "BitopsBitsInByte.ets" 853 }, 854 "end": { 855 "line": 31, 856 "column": 35, 857 "program": "BitopsBitsInByte.ets" 858 } 859 } 860 }, 861 "value": { 862 "type": "NumberLiteral", 863 "value": 358400, 864 "loc": { 865 "start": { 866 "line": 31, 867 "column": 43, 868 "program": "BitopsBitsInByte.ets" 869 }, 870 "end": { 871 "line": 31, 872 "column": 49, 873 "program": "BitopsBitsInByte.ets" 874 } 875 } 876 }, 877 "accessibility": "private", 878 "static": true, 879 "readonly": true, 880 "declare": false, 881 "optional": false, 882 "computed": false, 883 "typeAnnotation": { 884 "type": "ETSPrimitiveType", 885 "loc": { 886 "start": { 887 "line": 31, 888 "column": 37, 889 "program": "BitopsBitsInByte.ets" 890 }, 891 "end": { 892 "line": 31, 893 "column": 40, 894 "program": "BitopsBitsInByte.ets" 895 } 896 } 897 }, 898 "definite": false, 899 "decorators": [], 900 "loc": { 901 "start": { 902 "line": 31, 903 "column": 27, 904 "program": "BitopsBitsInByte.ets" 905 }, 906 "end": { 907 "line": 31, 908 "column": 49, 909 "program": "BitopsBitsInByte.ets" 910 } 911 } 912 }, 913 { 914 "type": "MethodDefinition", 915 "key": { 916 "type": "Identifier", 917 "name": "run", 918 "decorators": [], 919 "loc": { 920 "start": { 921 "line": 33, 922 "column": 10, 923 "program": "BitopsBitsInByte.ets" 924 }, 925 "end": { 926 "line": 33, 927 "column": 13, 928 "program": "BitopsBitsInByte.ets" 929 } 930 } 931 }, 932 "kind": "method", 933 "accessibility": "public", 934 "static": false, 935 "optional": false, 936 "computed": false, 937 "value": { 938 "type": "FunctionExpression", 939 "function": { 940 "type": "ScriptFunction", 941 "id": { 942 "type": "Identifier", 943 "name": "run", 944 "decorators": [], 945 "loc": { 946 "start": { 947 "line": 33, 948 "column": 10, 949 "program": "BitopsBitsInByte.ets" 950 }, 951 "end": { 952 "line": 33, 953 "column": 13, 954 "program": "BitopsBitsInByte.ets" 955 } 956 } 957 }, 958 "generator": false, 959 "async": false, 960 "expression": false, 961 "params": [], 962 "returnType": { 963 "type": "ETSPrimitiveType", 964 "loc": { 965 "start": { 966 "line": 33, 967 "column": 17, 968 "program": "BitopsBitsInByte.ets" 969 }, 970 "end": { 971 "line": 33, 972 "column": 21, 973 "program": "BitopsBitsInByte.ets" 974 } 975 } 976 }, 977 "body": { 978 "type": "BlockStatement", 979 "statements": [ 980 { 981 "type": "VariableDeclaration", 982 "declarations": [ 983 { 984 "type": "VariableDeclarator", 985 "id": { 986 "type": "Identifier", 987 "name": "sum", 988 "typeAnnotation": { 989 "type": "ETSPrimitiveType", 990 "loc": { 991 "start": { 992 "line": 34, 993 "column": 14, 994 "program": "BitopsBitsInByte.ets" 995 }, 996 "end": { 997 "line": 34, 998 "column": 17, 999 "program": "BitopsBitsInByte.ets" 1000 } 1001 } 1002 }, 1003 "decorators": [], 1004 "loc": { 1005 "start": { 1006 "line": 34, 1007 "column": 9, 1008 "program": "BitopsBitsInByte.ets" 1009 }, 1010 "end": { 1011 "line": 34, 1012 "column": 12, 1013 "program": "BitopsBitsInByte.ets" 1014 } 1015 } 1016 }, 1017 "init": { 1018 "type": "NumberLiteral", 1019 "value": 0, 1020 "loc": { 1021 "start": { 1022 "line": 34, 1023 "column": 20, 1024 "program": "BitopsBitsInByte.ets" 1025 }, 1026 "end": { 1027 "line": 34, 1028 "column": 21, 1029 "program": "BitopsBitsInByte.ets" 1030 } 1031 } 1032 }, 1033 "loc": { 1034 "start": { 1035 "line": 34, 1036 "column": 9, 1037 "program": "BitopsBitsInByte.ets" 1038 }, 1039 "end": { 1040 "line": 34, 1041 "column": 21, 1042 "program": "BitopsBitsInByte.ets" 1043 } 1044 } 1045 } 1046 ], 1047 "kind": "let", 1048 "loc": { 1049 "start": { 1050 "line": 34, 1051 "column": 5, 1052 "program": "BitopsBitsInByte.ets" 1053 }, 1054 "end": { 1055 "line": 34, 1056 "column": 22, 1057 "program": "BitopsBitsInByte.ets" 1058 } 1059 } 1060 }, 1061 { 1062 "type": "ForUpdateStatement", 1063 "init": { 1064 "type": "VariableDeclaration", 1065 "declarations": [ 1066 { 1067 "type": "VariableDeclarator", 1068 "id": { 1069 "type": "Identifier", 1070 "name": "x", 1071 "typeAnnotation": { 1072 "type": "ETSPrimitiveType", 1073 "loc": { 1074 "start": { 1075 "line": 35, 1076 "column": 17, 1077 "program": "BitopsBitsInByte.ets" 1078 }, 1079 "end": { 1080 "line": 35, 1081 "column": 20, 1082 "program": "BitopsBitsInByte.ets" 1083 } 1084 } 1085 }, 1086 "decorators": [], 1087 "loc": { 1088 "start": { 1089 "line": 35, 1090 "column": 14, 1091 "program": "BitopsBitsInByte.ets" 1092 }, 1093 "end": { 1094 "line": 35, 1095 "column": 15, 1096 "program": "BitopsBitsInByte.ets" 1097 } 1098 } 1099 }, 1100 "init": { 1101 "type": "NumberLiteral", 1102 "value": 0, 1103 "loc": { 1104 "start": { 1105 "line": 35, 1106 "column": 23, 1107 "program": "BitopsBitsInByte.ets" 1108 }, 1109 "end": { 1110 "line": 35, 1111 "column": 24, 1112 "program": "BitopsBitsInByte.ets" 1113 } 1114 } 1115 }, 1116 "loc": { 1117 "start": { 1118 "line": 35, 1119 "column": 14, 1120 "program": "BitopsBitsInByte.ets" 1121 }, 1122 "end": { 1123 "line": 35, 1124 "column": 24, 1125 "program": "BitopsBitsInByte.ets" 1126 } 1127 } 1128 } 1129 ], 1130 "kind": "let", 1131 "loc": { 1132 "start": { 1133 "line": 35, 1134 "column": 10, 1135 "program": "BitopsBitsInByte.ets" 1136 }, 1137 "end": { 1138 "line": 35, 1139 "column": 24, 1140 "program": "BitopsBitsInByte.ets" 1141 } 1142 } 1143 }, 1144 "test": { 1145 "type": "BinaryExpression", 1146 "operator": "<", 1147 "left": { 1148 "type": "Identifier", 1149 "name": "x", 1150 "decorators": [], 1151 "loc": { 1152 "start": { 1153 "line": 35, 1154 "column": 26, 1155 "program": "BitopsBitsInByte.ets" 1156 }, 1157 "end": { 1158 "line": 35, 1159 "column": 27, 1160 "program": "BitopsBitsInByte.ets" 1161 } 1162 } 1163 }, 1164 "right": { 1165 "type": "MemberExpression", 1166 "object": { 1167 "type": "ThisExpression", 1168 "loc": { 1169 "start": { 1170 "line": 35, 1171 "column": 30, 1172 "program": "BitopsBitsInByte.ets" 1173 }, 1174 "end": { 1175 "line": 35, 1176 "column": 34, 1177 "program": "BitopsBitsInByte.ets" 1178 } 1179 } 1180 }, 1181 "property": { 1182 "type": "Identifier", 1183 "name": "n1", 1184 "decorators": [], 1185 "loc": { 1186 "start": { 1187 "line": 35, 1188 "column": 35, 1189 "program": "BitopsBitsInByte.ets" 1190 }, 1191 "end": { 1192 "line": 35, 1193 "column": 37, 1194 "program": "BitopsBitsInByte.ets" 1195 } 1196 } 1197 }, 1198 "computed": false, 1199 "optional": false, 1200 "loc": { 1201 "start": { 1202 "line": 35, 1203 "column": 30, 1204 "program": "BitopsBitsInByte.ets" 1205 }, 1206 "end": { 1207 "line": 35, 1208 "column": 37, 1209 "program": "BitopsBitsInByte.ets" 1210 } 1211 } 1212 }, 1213 "loc": { 1214 "start": { 1215 "line": 35, 1216 "column": 26, 1217 "program": "BitopsBitsInByte.ets" 1218 }, 1219 "end": { 1220 "line": 35, 1221 "column": 37, 1222 "program": "BitopsBitsInByte.ets" 1223 } 1224 } 1225 }, 1226 "update": { 1227 "type": "UpdateExpression", 1228 "operator": "++", 1229 "prefix": false, 1230 "argument": { 1231 "type": "Identifier", 1232 "name": "x", 1233 "decorators": [], 1234 "loc": { 1235 "start": { 1236 "line": 35, 1237 "column": 39, 1238 "program": "BitopsBitsInByte.ets" 1239 }, 1240 "end": { 1241 "line": 35, 1242 "column": 40, 1243 "program": "BitopsBitsInByte.ets" 1244 } 1245 } 1246 }, 1247 "loc": { 1248 "start": { 1249 "line": 35, 1250 "column": 39, 1251 "program": "BitopsBitsInByte.ets" 1252 }, 1253 "end": { 1254 "line": 35, 1255 "column": 42, 1256 "program": "BitopsBitsInByte.ets" 1257 } 1258 } 1259 }, 1260 "body": { 1261 "type": "BlockStatement", 1262 "statements": [ 1263 { 1264 "type": "ForUpdateStatement", 1265 "init": { 1266 "type": "VariableDeclaration", 1267 "declarations": [ 1268 { 1269 "type": "VariableDeclarator", 1270 "id": { 1271 "type": "Identifier", 1272 "name": "y", 1273 "typeAnnotation": { 1274 "type": "ETSPrimitiveType", 1275 "loc": { 1276 "start": { 1277 "line": 36, 1278 "column": 19, 1279 "program": "BitopsBitsInByte.ets" 1280 }, 1281 "end": { 1282 "line": 36, 1283 "column": 22, 1284 "program": "BitopsBitsInByte.ets" 1285 } 1286 } 1287 }, 1288 "decorators": [], 1289 "loc": { 1290 "start": { 1291 "line": 36, 1292 "column": 16, 1293 "program": "BitopsBitsInByte.ets" 1294 }, 1295 "end": { 1296 "line": 36, 1297 "column": 17, 1298 "program": "BitopsBitsInByte.ets" 1299 } 1300 } 1301 }, 1302 "init": { 1303 "type": "NumberLiteral", 1304 "value": 0, 1305 "loc": { 1306 "start": { 1307 "line": 36, 1308 "column": 25, 1309 "program": "BitopsBitsInByte.ets" 1310 }, 1311 "end": { 1312 "line": 36, 1313 "column": 26, 1314 "program": "BitopsBitsInByte.ets" 1315 } 1316 } 1317 }, 1318 "loc": { 1319 "start": { 1320 "line": 36, 1321 "column": 16, 1322 "program": "BitopsBitsInByte.ets" 1323 }, 1324 "end": { 1325 "line": 36, 1326 "column": 26, 1327 "program": "BitopsBitsInByte.ets" 1328 } 1329 } 1330 } 1331 ], 1332 "kind": "let", 1333 "loc": { 1334 "start": { 1335 "line": 36, 1336 "column": 12, 1337 "program": "BitopsBitsInByte.ets" 1338 }, 1339 "end": { 1340 "line": 36, 1341 "column": 26, 1342 "program": "BitopsBitsInByte.ets" 1343 } 1344 } 1345 }, 1346 "test": { 1347 "type": "BinaryExpression", 1348 "operator": "<", 1349 "left": { 1350 "type": "Identifier", 1351 "name": "y", 1352 "decorators": [], 1353 "loc": { 1354 "start": { 1355 "line": 36, 1356 "column": 28, 1357 "program": "BitopsBitsInByte.ets" 1358 }, 1359 "end": { 1360 "line": 36, 1361 "column": 29, 1362 "program": "BitopsBitsInByte.ets" 1363 } 1364 } 1365 }, 1366 "right": { 1367 "type": "MemberExpression", 1368 "object": { 1369 "type": "ThisExpression", 1370 "loc": { 1371 "start": { 1372 "line": 36, 1373 "column": 32, 1374 "program": "BitopsBitsInByte.ets" 1375 }, 1376 "end": { 1377 "line": 36, 1378 "column": 36, 1379 "program": "BitopsBitsInByte.ets" 1380 } 1381 } 1382 }, 1383 "property": { 1384 "type": "Identifier", 1385 "name": "n2", 1386 "decorators": [], 1387 "loc": { 1388 "start": { 1389 "line": 36, 1390 "column": 37, 1391 "program": "BitopsBitsInByte.ets" 1392 }, 1393 "end": { 1394 "line": 36, 1395 "column": 39, 1396 "program": "BitopsBitsInByte.ets" 1397 } 1398 } 1399 }, 1400 "computed": false, 1401 "optional": false, 1402 "loc": { 1403 "start": { 1404 "line": 36, 1405 "column": 32, 1406 "program": "BitopsBitsInByte.ets" 1407 }, 1408 "end": { 1409 "line": 36, 1410 "column": 39, 1411 "program": "BitopsBitsInByte.ets" 1412 } 1413 } 1414 }, 1415 "loc": { 1416 "start": { 1417 "line": 36, 1418 "column": 28, 1419 "program": "BitopsBitsInByte.ets" 1420 }, 1421 "end": { 1422 "line": 36, 1423 "column": 39, 1424 "program": "BitopsBitsInByte.ets" 1425 } 1426 } 1427 }, 1428 "update": { 1429 "type": "UpdateExpression", 1430 "operator": "++", 1431 "prefix": false, 1432 "argument": { 1433 "type": "Identifier", 1434 "name": "y", 1435 "decorators": [], 1436 "loc": { 1437 "start": { 1438 "line": 36, 1439 "column": 41, 1440 "program": "BitopsBitsInByte.ets" 1441 }, 1442 "end": { 1443 "line": 36, 1444 "column": 42, 1445 "program": "BitopsBitsInByte.ets" 1446 } 1447 } 1448 }, 1449 "loc": { 1450 "start": { 1451 "line": 36, 1452 "column": 41, 1453 "program": "BitopsBitsInByte.ets" 1454 }, 1455 "end": { 1456 "line": 36, 1457 "column": 44, 1458 "program": "BitopsBitsInByte.ets" 1459 } 1460 } 1461 }, 1462 "body": { 1463 "type": "BlockStatement", 1464 "statements": [ 1465 { 1466 "type": "ExpressionStatement", 1467 "expression": { 1468 "type": "AssignmentExpression", 1469 "operator": "+=", 1470 "left": { 1471 "type": "Identifier", 1472 "name": "sum", 1473 "decorators": [], 1474 "loc": { 1475 "start": { 1476 "line": 37, 1477 "column": 9, 1478 "program": "BitopsBitsInByte.ets" 1479 }, 1480 "end": { 1481 "line": 37, 1482 "column": 12, 1483 "program": "BitopsBitsInByte.ets" 1484 } 1485 } 1486 }, 1487 "right": { 1488 "type": "CallExpression", 1489 "callee": { 1490 "type": "MemberExpression", 1491 "object": { 1492 "type": "Identifier", 1493 "name": "BitopsBitsInByte", 1494 "decorators": [], 1495 "loc": { 1496 "start": { 1497 "line": 37, 1498 "column": 16, 1499 "program": "BitopsBitsInByte.ets" 1500 }, 1501 "end": { 1502 "line": 37, 1503 "column": 32, 1504 "program": "BitopsBitsInByte.ets" 1505 } 1506 } 1507 }, 1508 "property": { 1509 "type": "Identifier", 1510 "name": "bitsinbyte", 1511 "decorators": [], 1512 "loc": { 1513 "start": { 1514 "line": 37, 1515 "column": 33, 1516 "program": "BitopsBitsInByte.ets" 1517 }, 1518 "end": { 1519 "line": 37, 1520 "column": 43, 1521 "program": "BitopsBitsInByte.ets" 1522 } 1523 } 1524 }, 1525 "computed": false, 1526 "optional": false, 1527 "loc": { 1528 "start": { 1529 "line": 37, 1530 "column": 16, 1531 "program": "BitopsBitsInByte.ets" 1532 }, 1533 "end": { 1534 "line": 37, 1535 "column": 43, 1536 "program": "BitopsBitsInByte.ets" 1537 } 1538 } 1539 }, 1540 "arguments": [ 1541 { 1542 "type": "Identifier", 1543 "name": "y", 1544 "decorators": [], 1545 "loc": { 1546 "start": { 1547 "line": 37, 1548 "column": 44, 1549 "program": "BitopsBitsInByte.ets" 1550 }, 1551 "end": { 1552 "line": 37, 1553 "column": 45, 1554 "program": "BitopsBitsInByte.ets" 1555 } 1556 } 1557 } 1558 ], 1559 "optional": false, 1560 "loc": { 1561 "start": { 1562 "line": 37, 1563 "column": 16, 1564 "program": "BitopsBitsInByte.ets" 1565 }, 1566 "end": { 1567 "line": 37, 1568 "column": 46, 1569 "program": "BitopsBitsInByte.ets" 1570 } 1571 } 1572 }, 1573 "loc": { 1574 "start": { 1575 "line": 37, 1576 "column": 9, 1577 "program": "BitopsBitsInByte.ets" 1578 }, 1579 "end": { 1580 "line": 37, 1581 "column": 46, 1582 "program": "BitopsBitsInByte.ets" 1583 } 1584 } 1585 }, 1586 "loc": { 1587 "start": { 1588 "line": 37, 1589 "column": 9, 1590 "program": "BitopsBitsInByte.ets" 1591 }, 1592 "end": { 1593 "line": 37, 1594 "column": 47, 1595 "program": "BitopsBitsInByte.ets" 1596 } 1597 } 1598 } 1599 ], 1600 "loc": { 1601 "start": { 1602 "line": 36, 1603 "column": 46, 1604 "program": "BitopsBitsInByte.ets" 1605 }, 1606 "end": { 1607 "line": 38, 1608 "column": 8, 1609 "program": "BitopsBitsInByte.ets" 1610 } 1611 } 1612 }, 1613 "loc": { 1614 "start": { 1615 "line": 36, 1616 "column": 7, 1617 "program": "BitopsBitsInByte.ets" 1618 }, 1619 "end": { 1620 "line": 38, 1621 "column": 8, 1622 "program": "BitopsBitsInByte.ets" 1623 } 1624 } 1625 } 1626 ], 1627 "loc": { 1628 "start": { 1629 "line": 35, 1630 "column": 44, 1631 "program": "BitopsBitsInByte.ets" 1632 }, 1633 "end": { 1634 "line": 39, 1635 "column": 6, 1636 "program": "BitopsBitsInByte.ets" 1637 } 1638 } 1639 }, 1640 "loc": { 1641 "start": { 1642 "line": 35, 1643 "column": 5, 1644 "program": "BitopsBitsInByte.ets" 1645 }, 1646 "end": { 1647 "line": 39, 1648 "column": 6, 1649 "program": "BitopsBitsInByte.ets" 1650 } 1651 } 1652 }, 1653 { 1654 "type": "ExpressionStatement", 1655 "expression": { 1656 "type": "CallExpression", 1657 "callee": { 1658 "type": "Identifier", 1659 "name": "assertEQ", 1660 "decorators": [], 1661 "loc": { 1662 "start": { 1663 "line": 40, 1664 "column": 5, 1665 "program": "BitopsBitsInByte.ets" 1666 }, 1667 "end": { 1668 "line": 40, 1669 "column": 13, 1670 "program": "BitopsBitsInByte.ets" 1671 } 1672 } 1673 }, 1674 "arguments": [ 1675 { 1676 "type": "Identifier", 1677 "name": "sum", 1678 "decorators": [], 1679 "loc": { 1680 "start": { 1681 "line": 40, 1682 "column": 14, 1683 "program": "BitopsBitsInByte.ets" 1684 }, 1685 "end": { 1686 "line": 40, 1687 "column": 17, 1688 "program": "BitopsBitsInByte.ets" 1689 } 1690 } 1691 }, 1692 { 1693 "type": "MemberExpression", 1694 "object": { 1695 "type": "Identifier", 1696 "name": "BitopsBitsInByte", 1697 "decorators": [], 1698 "loc": { 1699 "start": { 1700 "line": 40, 1701 "column": 19, 1702 "program": "BitopsBitsInByte.ets" 1703 }, 1704 "end": { 1705 "line": 40, 1706 "column": 35, 1707 "program": "BitopsBitsInByte.ets" 1708 } 1709 } 1710 }, 1711 "property": { 1712 "type": "Identifier", 1713 "name": "expected", 1714 "decorators": [], 1715 "loc": { 1716 "start": { 1717 "line": 40, 1718 "column": 36, 1719 "program": "BitopsBitsInByte.ets" 1720 }, 1721 "end": { 1722 "line": 40, 1723 "column": 44, 1724 "program": "BitopsBitsInByte.ets" 1725 } 1726 } 1727 }, 1728 "computed": false, 1729 "optional": false, 1730 "loc": { 1731 "start": { 1732 "line": 40, 1733 "column": 19, 1734 "program": "BitopsBitsInByte.ets" 1735 }, 1736 "end": { 1737 "line": 40, 1738 "column": 44, 1739 "program": "BitopsBitsInByte.ets" 1740 } 1741 } 1742 }, 1743 { 1744 "type": "StringLiteral", 1745 "value": "Incorrect result", 1746 "loc": { 1747 "start": { 1748 "line": 40, 1749 "column": 47, 1750 "program": "BitopsBitsInByte.ets" 1751 }, 1752 "end": { 1753 "line": 40, 1754 "column": 65, 1755 "program": "BitopsBitsInByte.ets" 1756 } 1757 } 1758 } 1759 ], 1760 "optional": false, 1761 "loc": { 1762 "start": { 1763 "line": 40, 1764 "column": 5, 1765 "program": "BitopsBitsInByte.ets" 1766 }, 1767 "end": { 1768 "line": 40, 1769 "column": 66, 1770 "program": "BitopsBitsInByte.ets" 1771 } 1772 } 1773 }, 1774 "loc": { 1775 "start": { 1776 "line": 40, 1777 "column": 5, 1778 "program": "BitopsBitsInByte.ets" 1779 }, 1780 "end": { 1781 "line": 40, 1782 "column": 67, 1783 "program": "BitopsBitsInByte.ets" 1784 } 1785 } 1786 } 1787 ], 1788 "loc": { 1789 "start": { 1790 "line": 33, 1791 "column": 22, 1792 "program": "BitopsBitsInByte.ets" 1793 }, 1794 "end": { 1795 "line": 41, 1796 "column": 4, 1797 "program": "BitopsBitsInByte.ets" 1798 } 1799 } 1800 }, 1801 "loc": { 1802 "start": { 1803 "line": 33, 1804 "column": 13, 1805 "program": "BitopsBitsInByte.ets" 1806 }, 1807 "end": { 1808 "line": 41, 1809 "column": 4, 1810 "program": "BitopsBitsInByte.ets" 1811 } 1812 } 1813 }, 1814 "loc": { 1815 "start": { 1816 "line": 33, 1817 "column": 13, 1818 "program": "BitopsBitsInByte.ets" 1819 }, 1820 "end": { 1821 "line": 41, 1822 "column": 4, 1823 "program": "BitopsBitsInByte.ets" 1824 } 1825 } 1826 }, 1827 "overloads": [], 1828 "decorators": [], 1829 "loc": { 1830 "start": { 1831 "line": 33, 1832 "column": 3, 1833 "program": "BitopsBitsInByte.ets" 1834 }, 1835 "end": { 1836 "line": 41, 1837 "column": 4, 1838 "program": "BitopsBitsInByte.ets" 1839 } 1840 } 1841 }, 1842 { 1843 "type": "MethodDefinition", 1844 "key": { 1845 "type": "Identifier", 1846 "name": "constructor", 1847 "decorators": [], 1848 "loc": { 1849 "start": { 1850 "line": 16, 1851 "column": 32, 1852 "program": "BitopsBitsInByte.ets" 1853 }, 1854 "end": { 1855 "line": 16, 1856 "column": 32, 1857 "program": "BitopsBitsInByte.ets" 1858 } 1859 } 1860 }, 1861 "kind": "constructor", 1862 "static": false, 1863 "optional": false, 1864 "computed": false, 1865 "value": { 1866 "type": "FunctionExpression", 1867 "function": { 1868 "type": "ScriptFunction", 1869 "id": { 1870 "type": "Identifier", 1871 "name": "constructor", 1872 "decorators": [], 1873 "loc": { 1874 "start": { 1875 "line": 16, 1876 "column": 32, 1877 "program": "BitopsBitsInByte.ets" 1878 }, 1879 "end": { 1880 "line": 16, 1881 "column": 32, 1882 "program": "BitopsBitsInByte.ets" 1883 } 1884 } 1885 }, 1886 "generator": false, 1887 "async": false, 1888 "expression": false, 1889 "params": [], 1890 "body": { 1891 "type": "BlockStatement", 1892 "statements": [], 1893 "loc": { 1894 "start": { 1895 "line": 16, 1896 "column": 32, 1897 "program": "BitopsBitsInByte.ets" 1898 }, 1899 "end": { 1900 "line": 16, 1901 "column": 32, 1902 "program": "BitopsBitsInByte.ets" 1903 } 1904 } 1905 }, 1906 "loc": { 1907 "start": { 1908 "line": 16, 1909 "column": 32, 1910 "program": "BitopsBitsInByte.ets" 1911 }, 1912 "end": { 1913 "line": 16, 1914 "column": 32, 1915 "program": "BitopsBitsInByte.ets" 1916 } 1917 } 1918 }, 1919 "loc": { 1920 "start": { 1921 "line": 16, 1922 "column": 32, 1923 "program": "BitopsBitsInByte.ets" 1924 }, 1925 "end": { 1926 "line": 16, 1927 "column": 32, 1928 "program": "BitopsBitsInByte.ets" 1929 } 1930 } 1931 }, 1932 "overloads": [], 1933 "decorators": [], 1934 "loc": { 1935 "start": { 1936 "line": 1, 1937 "column": 1, 1938 "program": null 1939 }, 1940 "end": { 1941 "line": 1, 1942 "column": 1, 1943 "program": null 1944 } 1945 } 1946 } 1947 ], 1948 "loc": { 1949 "start": { 1950 "line": 16, 1951 "column": 31, 1952 "program": "BitopsBitsInByte.ets" 1953 }, 1954 "end": { 1955 "line": 44, 1956 "column": 9, 1957 "program": "BitopsBitsInByte.ets" 1958 } 1959 } 1960 }, 1961 "loc": { 1962 "start": { 1963 "line": 16, 1964 "column": 8, 1965 "program": "BitopsBitsInByte.ets" 1966 }, 1967 "end": { 1968 "line": 44, 1969 "column": 9, 1970 "program": "BitopsBitsInByte.ets" 1971 } 1972 } 1973 }, 1974 { 1975 "type": "ClassDeclaration", 1976 "definition": { 1977 "id": { 1978 "type": "Identifier", 1979 "name": "ETSGLOBAL", 1980 "decorators": [], 1981 "loc": { 1982 "start": { 1983 "line": 1, 1984 "column": 1, 1985 "program": "BitopsBitsInByte.ets" 1986 }, 1987 "end": { 1988 "line": 1, 1989 "column": 1, 1990 "program": "BitopsBitsInByte.ets" 1991 } 1992 } 1993 }, 1994 "superClass": null, 1995 "implements": [], 1996 "body": [ 1997 { 1998 "type": "MethodDefinition", 1999 "key": { 2000 "type": "Identifier", 2001 "name": "_$init$_", 2002 "decorators": [], 2003 "loc": { 2004 "start": { 2005 "line": 1, 2006 "column": 1, 2007 "program": null 2008 }, 2009 "end": { 2010 "line": 1, 2011 "column": 1, 2012 "program": null 2013 } 2014 } 2015 }, 2016 "kind": "method", 2017 "accessibility": "public", 2018 "static": true, 2019 "optional": false, 2020 "computed": false, 2021 "value": { 2022 "type": "FunctionExpression", 2023 "function": { 2024 "type": "ScriptFunction", 2025 "id": { 2026 "type": "Identifier", 2027 "name": "_$init$_", 2028 "decorators": [], 2029 "loc": { 2030 "start": { 2031 "line": 1, 2032 "column": 1, 2033 "program": null 2034 }, 2035 "end": { 2036 "line": 1, 2037 "column": 1, 2038 "program": null 2039 } 2040 } 2041 }, 2042 "generator": false, 2043 "async": false, 2044 "expression": false, 2045 "params": [], 2046 "body": { 2047 "type": "BlockStatement", 2048 "statements": [], 2049 "loc": { 2050 "start": { 2051 "line": 1, 2052 "column": 1, 2053 "program": null 2054 }, 2055 "end": { 2056 "line": 1, 2057 "column": 1, 2058 "program": null 2059 } 2060 } 2061 }, 2062 "loc": { 2063 "start": { 2064 "line": 1, 2065 "column": 1, 2066 "program": null 2067 }, 2068 "end": { 2069 "line": 1, 2070 "column": 1, 2071 "program": null 2072 } 2073 } 2074 }, 2075 "loc": { 2076 "start": { 2077 "line": 1, 2078 "column": 1, 2079 "program": null 2080 }, 2081 "end": { 2082 "line": 1, 2083 "column": 1, 2084 "program": null 2085 } 2086 } 2087 }, 2088 "overloads": [], 2089 "decorators": [], 2090 "loc": { 2091 "start": { 2092 "line": 1, 2093 "column": 1, 2094 "program": "BitopsBitsInByte.ets" 2095 }, 2096 "end": { 2097 "line": 1, 2098 "column": 1, 2099 "program": "BitopsBitsInByte.ets" 2100 } 2101 } 2102 }, 2103 { 2104 "type": "MethodDefinition", 2105 "key": { 2106 "type": "Identifier", 2107 "name": "main", 2108 "decorators": [], 2109 "loc": { 2110 "start": { 2111 "line": 44, 2112 "column": 10, 2113 "program": "BitopsBitsInByte.ets" 2114 }, 2115 "end": { 2116 "line": 44, 2117 "column": 14, 2118 "program": "BitopsBitsInByte.ets" 2119 } 2120 } 2121 }, 2122 "kind": "method", 2123 "accessibility": "public", 2124 "static": true, 2125 "optional": false, 2126 "computed": false, 2127 "value": { 2128 "type": "FunctionExpression", 2129 "function": { 2130 "type": "ScriptFunction", 2131 "id": { 2132 "type": "Identifier", 2133 "name": "main", 2134 "decorators": [], 2135 "loc": { 2136 "start": { 2137 "line": 44, 2138 "column": 10, 2139 "program": "BitopsBitsInByte.ets" 2140 }, 2141 "end": { 2142 "line": 44, 2143 "column": 14, 2144 "program": "BitopsBitsInByte.ets" 2145 } 2146 } 2147 }, 2148 "generator": false, 2149 "async": false, 2150 "expression": false, 2151 "params": [], 2152 "returnType": { 2153 "type": "ETSPrimitiveType", 2154 "loc": { 2155 "start": { 2156 "line": 44, 2157 "column": 18, 2158 "program": "BitopsBitsInByte.ets" 2159 }, 2160 "end": { 2161 "line": 44, 2162 "column": 22, 2163 "program": "BitopsBitsInByte.ets" 2164 } 2165 } 2166 }, 2167 "body": { 2168 "type": "BlockStatement", 2169 "statements": [ 2170 { 2171 "type": "VariableDeclaration", 2172 "declarations": [ 2173 { 2174 "type": "VariableDeclarator", 2175 "id": { 2176 "type": "Identifier", 2177 "name": "a", 2178 "decorators": [], 2179 "loc": { 2180 "start": { 2181 "line": 45, 2182 "column": 7, 2183 "program": "BitopsBitsInByte.ets" 2184 }, 2185 "end": { 2186 "line": 45, 2187 "column": 8, 2188 "program": "BitopsBitsInByte.ets" 2189 } 2190 } 2191 }, 2192 "init": { 2193 "type": "ETSNewClassInstanceExpression", 2194 "typeReference": { 2195 "type": "ETSTypeReference", 2196 "part": { 2197 "type": "ETSTypeReferencePart", 2198 "name": { 2199 "type": "Identifier", 2200 "name": "BitopsBitsInByte", 2201 "decorators": [], 2202 "loc": { 2203 "start": { 2204 "line": 45, 2205 "column": 15, 2206 "program": "BitopsBitsInByte.ets" 2207 }, 2208 "end": { 2209 "line": 45, 2210 "column": 31, 2211 "program": "BitopsBitsInByte.ets" 2212 } 2213 } 2214 }, 2215 "loc": { 2216 "start": { 2217 "line": 45, 2218 "column": 15, 2219 "program": "BitopsBitsInByte.ets" 2220 }, 2221 "end": { 2222 "line": 45, 2223 "column": 32, 2224 "program": "BitopsBitsInByte.ets" 2225 } 2226 } 2227 }, 2228 "loc": { 2229 "start": { 2230 "line": 45, 2231 "column": 15, 2232 "program": "BitopsBitsInByte.ets" 2233 }, 2234 "end": { 2235 "line": 45, 2236 "column": 32, 2237 "program": "BitopsBitsInByte.ets" 2238 } 2239 } 2240 }, 2241 "arguments": [], 2242 "loc": { 2243 "start": { 2244 "line": 45, 2245 "column": 11, 2246 "program": "BitopsBitsInByte.ets" 2247 }, 2248 "end": { 2249 "line": 45, 2250 "column": 32, 2251 "program": "BitopsBitsInByte.ets" 2252 } 2253 } 2254 }, 2255 "loc": { 2256 "start": { 2257 "line": 45, 2258 "column": 7, 2259 "program": "BitopsBitsInByte.ets" 2260 }, 2261 "end": { 2262 "line": 45, 2263 "column": 32, 2264 "program": "BitopsBitsInByte.ets" 2265 } 2266 } 2267 } 2268 ], 2269 "kind": "let", 2270 "loc": { 2271 "start": { 2272 "line": 45, 2273 "column": 3, 2274 "program": "BitopsBitsInByte.ets" 2275 }, 2276 "end": { 2277 "line": 45, 2278 "column": 32, 2279 "program": "BitopsBitsInByte.ets" 2280 } 2281 } 2282 }, 2283 { 2284 "type": "ExpressionStatement", 2285 "expression": { 2286 "type": "CallExpression", 2287 "callee": { 2288 "type": "MemberExpression", 2289 "object": { 2290 "type": "Identifier", 2291 "name": "a", 2292 "decorators": [], 2293 "loc": { 2294 "start": { 2295 "line": 46, 2296 "column": 3, 2297 "program": "BitopsBitsInByte.ets" 2298 }, 2299 "end": { 2300 "line": 46, 2301 "column": 4, 2302 "program": "BitopsBitsInByte.ets" 2303 } 2304 } 2305 }, 2306 "property": { 2307 "type": "Identifier", 2308 "name": "run", 2309 "decorators": [], 2310 "loc": { 2311 "start": { 2312 "line": 46, 2313 "column": 5, 2314 "program": "BitopsBitsInByte.ets" 2315 }, 2316 "end": { 2317 "line": 46, 2318 "column": 8, 2319 "program": "BitopsBitsInByte.ets" 2320 } 2321 } 2322 }, 2323 "computed": false, 2324 "optional": false, 2325 "loc": { 2326 "start": { 2327 "line": 46, 2328 "column": 3, 2329 "program": "BitopsBitsInByte.ets" 2330 }, 2331 "end": { 2332 "line": 46, 2333 "column": 8, 2334 "program": "BitopsBitsInByte.ets" 2335 } 2336 } 2337 }, 2338 "arguments": [], 2339 "optional": false, 2340 "loc": { 2341 "start": { 2342 "line": 46, 2343 "column": 3, 2344 "program": "BitopsBitsInByte.ets" 2345 }, 2346 "end": { 2347 "line": 46, 2348 "column": 10, 2349 "program": "BitopsBitsInByte.ets" 2350 } 2351 } 2352 }, 2353 "loc": { 2354 "start": { 2355 "line": 46, 2356 "column": 3, 2357 "program": "BitopsBitsInByte.ets" 2358 }, 2359 "end": { 2360 "line": 46, 2361 "column": 11, 2362 "program": "BitopsBitsInByte.ets" 2363 } 2364 } 2365 } 2366 ], 2367 "loc": { 2368 "start": { 2369 "line": 44, 2370 "column": 23, 2371 "program": "BitopsBitsInByte.ets" 2372 }, 2373 "end": { 2374 "line": 47, 2375 "column": 2, 2376 "program": "BitopsBitsInByte.ets" 2377 } 2378 } 2379 }, 2380 "loc": { 2381 "start": { 2382 "line": 44, 2383 "column": 10, 2384 "program": "BitopsBitsInByte.ets" 2385 }, 2386 "end": { 2387 "line": 47, 2388 "column": 2, 2389 "program": "BitopsBitsInByte.ets" 2390 } 2391 } 2392 }, 2393 "loc": { 2394 "start": { 2395 "line": 44, 2396 "column": 10, 2397 "program": "BitopsBitsInByte.ets" 2398 }, 2399 "end": { 2400 "line": 47, 2401 "column": 2, 2402 "program": "BitopsBitsInByte.ets" 2403 } 2404 } 2405 }, 2406 "overloads": [], 2407 "decorators": [], 2408 "loc": { 2409 "start": { 2410 "line": 44, 2411 "column": 1, 2412 "program": "BitopsBitsInByte.ets" 2413 }, 2414 "end": { 2415 "line": 47, 2416 "column": 2, 2417 "program": "BitopsBitsInByte.ets" 2418 } 2419 } 2420 } 2421 ], 2422 "loc": { 2423 "start": { 2424 "line": 1, 2425 "column": 1, 2426 "program": "BitopsBitsInByte.ets" 2427 }, 2428 "end": { 2429 "line": 1, 2430 "column": 1, 2431 "program": "BitopsBitsInByte.ets" 2432 } 2433 } 2434 }, 2435 "loc": { 2436 "start": { 2437 "line": 1, 2438 "column": 1, 2439 "program": "BitopsBitsInByte.ets" 2440 }, 2441 "end": { 2442 "line": 1, 2443 "column": 1, 2444 "program": "BitopsBitsInByte.ets" 2445 } 2446 } 2447 } 2448 ], 2449 "loc": { 2450 "start": { 2451 "line": 1, 2452 "column": 1, 2453 "program": "BitopsBitsInByte.ets" 2454 }, 2455 "end": { 2456 "line": 48, 2457 "column": 1, 2458 "program": "BitopsBitsInByte.ets" 2459 } 2460 } 2461} 2462