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