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