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 { 455 "type": "CatchClause", 456 "body": { 457 "type": "BlockStatement", 458 "statements": [], 459 "loc": { 460 "start": { 461 "line": 29, 462 "column": 20 463 }, 464 "end": { 465 "line": 29, 466 "column": 22 467 } 468 } 469 }, 470 "param": { 471 "type": "Identifier", 472 "name": "e", 473 "decorators": [], 474 "loc": { 475 "start": { 476 "line": 29, 477 "column": 17 478 }, 479 "end": { 480 "line": 29, 481 "column": 18 482 } 483 } 484 }, 485 "loc": { 486 "start": { 487 "line": 29, 488 "column": 11 489 }, 490 "end": { 491 "line": 29, 492 "column": 22 493 } 494 } 495 } 496 ], 497 "finalizer": { 498 "type": "BlockStatement", 499 "statements": [], 500 "loc": { 501 "start": { 502 "line": 29, 503 "column": 31 504 }, 505 "end": { 506 "line": 29, 507 "column": 33 508 } 509 } 510 }, 511 "loc": { 512 "start": { 513 "line": 29, 514 "column": 4 515 }, 516 "end": { 517 "line": 29, 518 "column": 33 519 } 520 } 521 }, 522 "loc": { 523 "start": { 524 "line": 29, 525 "column": 1 526 }, 527 "end": { 528 "line": 29, 529 "column": 33 530 } 531 } 532 }, 533 { 534 "type": "FunctionDeclaration", 535 "function": { 536 "type": "ScriptFunction", 537 "id": { 538 "type": "Identifier", 539 "name": "a", 540 "decorators": [], 541 "loc": { 542 "start": { 543 "line": 31, 544 "column": 10 545 }, 546 "end": { 547 "line": 31, 548 "column": 11 549 } 550 } 551 }, 552 "generator": false, 553 "async": false, 554 "expression": false, 555 "params": [], 556 "body": { 557 "type": "BlockStatement", 558 "statements": [ 559 { 560 "type": "LabelledStatement", 561 "label": { 562 "type": "Identifier", 563 "name": "b", 564 "decorators": [], 565 "loc": { 566 "start": { 567 "line": 33, 568 "column": 3 569 }, 570 "end": { 571 "line": 33, 572 "column": 4 573 } 574 } 575 }, 576 "body": { 577 "type": "BlockStatement", 578 "statements": [ 579 { 580 "type": "LabelledStatement", 581 "label": { 582 "type": "Identifier", 583 "name": "a", 584 "decorators": [], 585 "loc": { 586 "start": { 587 "line": 35, 588 "column": 5 589 }, 590 "end": { 591 "line": 35, 592 "column": 6 593 } 594 } 595 }, 596 "body": { 597 "type": "WhileStatement", 598 "test": { 599 "type": "BooleanLiteral", 600 "value": true, 601 "loc": { 602 "start": { 603 "line": 36, 604 "column": 11 605 }, 606 "end": { 607 "line": 36, 608 "column": 15 609 } 610 } 611 }, 612 "body": { 613 "type": "BlockStatement", 614 "statements": [ 615 { 616 "type": "BreakStatement", 617 "label": { 618 "type": "Identifier", 619 "name": "a", 620 "decorators": [], 621 "loc": { 622 "start": { 623 "line": 38, 624 "column": 13 625 }, 626 "end": { 627 "line": 38, 628 "column": 14 629 } 630 } 631 }, 632 "loc": { 633 "start": { 634 "line": 38, 635 "column": 7 636 }, 637 "end": { 638 "line": 38, 639 "column": 15 640 } 641 } 642 } 643 ], 644 "loc": { 645 "start": { 646 "line": 37, 647 "column": 5 648 }, 649 "end": { 650 "line": 39, 651 "column": 6 652 } 653 } 654 }, 655 "loc": { 656 "start": { 657 "line": 36, 658 "column": 5 659 }, 660 "end": { 661 "line": 39, 662 "column": 6 663 } 664 } 665 }, 666 "loc": { 667 "start": { 668 "line": 35, 669 "column": 5 670 }, 671 "end": { 672 "line": 39, 673 "column": 6 674 } 675 } 676 } 677 ], 678 "loc": { 679 "start": { 680 "line": 34, 681 "column": 3 682 }, 683 "end": { 684 "line": 40, 685 "column": 4 686 } 687 } 688 }, 689 "loc": { 690 "start": { 691 "line": 33, 692 "column": 3 693 }, 694 "end": { 695 "line": 40, 696 "column": 4 697 } 698 } 699 } 700 ], 701 "loc": { 702 "start": { 703 "line": 32, 704 "column": 1 705 }, 706 "end": { 707 "line": 41, 708 "column": 2 709 } 710 } 711 }, 712 "loc": { 713 "start": { 714 "line": 31, 715 "column": 1 716 }, 717 "end": { 718 "line": 41, 719 "column": 2 720 } 721 } 722 }, 723 "loc": { 724 "start": { 725 "line": 31, 726 "column": 1 727 }, 728 "end": { 729 "line": 41, 730 "column": 2 731 } 732 } 733 }, 734 { 735 "type": "FunctionDeclaration", 736 "function": { 737 "type": "ScriptFunction", 738 "id": { 739 "type": "Identifier", 740 "name": "b", 741 "decorators": [], 742 "loc": { 743 "start": { 744 "line": 44, 745 "column": 10 746 }, 747 "end": { 748 "line": 44, 749 "column": 11 750 } 751 } 752 }, 753 "generator": false, 754 "async": false, 755 "expression": false, 756 "params": [], 757 "body": { 758 "type": "BlockStatement", 759 "statements": [ 760 { 761 "type": "LabelledStatement", 762 "label": { 763 "type": "Identifier", 764 "name": "b", 765 "decorators": [], 766 "loc": { 767 "start": { 768 "line": 46, 769 "column": 3 770 }, 771 "end": { 772 "line": 46, 773 "column": 4 774 } 775 } 776 }, 777 "body": { 778 "type": "BlockStatement", 779 "statements": [ 780 { 781 "type": "LabelledStatement", 782 "label": { 783 "type": "Identifier", 784 "name": "a", 785 "decorators": [], 786 "loc": { 787 "start": { 788 "line": 48, 789 "column": 5 790 }, 791 "end": { 792 "line": 48, 793 "column": 6 794 } 795 } 796 }, 797 "body": { 798 "type": "LabelledStatement", 799 "label": { 800 "type": "Identifier", 801 "name": "c", 802 "decorators": [], 803 "loc": { 804 "start": { 805 "line": 49, 806 "column": 5 807 }, 808 "end": { 809 "line": 49, 810 "column": 6 811 } 812 } 813 }, 814 "body": { 815 "type": "WhileStatement", 816 "test": { 817 "type": "BooleanLiteral", 818 "value": true, 819 "loc": { 820 "start": { 821 "line": 50, 822 "column": 11 823 }, 824 "end": { 825 "line": 50, 826 "column": 15 827 } 828 } 829 }, 830 "body": { 831 "type": "BlockStatement", 832 "statements": [ 833 { 834 "type": "BreakStatement", 835 "label": { 836 "type": "Identifier", 837 "name": "b", 838 "decorators": [], 839 "loc": { 840 "start": { 841 "line": 52, 842 "column": 13 843 }, 844 "end": { 845 "line": 52, 846 "column": 14 847 } 848 } 849 }, 850 "loc": { 851 "start": { 852 "line": 52, 853 "column": 7 854 }, 855 "end": { 856 "line": 52, 857 "column": 15 858 } 859 } 860 } 861 ], 862 "loc": { 863 "start": { 864 "line": 51, 865 "column": 5 866 }, 867 "end": { 868 "line": 53, 869 "column": 6 870 } 871 } 872 }, 873 "loc": { 874 "start": { 875 "line": 50, 876 "column": 5 877 }, 878 "end": { 879 "line": 53, 880 "column": 6 881 } 882 } 883 }, 884 "loc": { 885 "start": { 886 "line": 49, 887 "column": 5 888 }, 889 "end": { 890 "line": 53, 891 "column": 6 892 } 893 } 894 }, 895 "loc": { 896 "start": { 897 "line": 48, 898 "column": 5 899 }, 900 "end": { 901 "line": 53, 902 "column": 6 903 } 904 } 905 } 906 ], 907 "loc": { 908 "start": { 909 "line": 47, 910 "column": 3 911 }, 912 "end": { 913 "line": 54, 914 "column": 4 915 } 916 } 917 }, 918 "loc": { 919 "start": { 920 "line": 46, 921 "column": 3 922 }, 923 "end": { 924 "line": 54, 925 "column": 4 926 } 927 } 928 } 929 ], 930 "loc": { 931 "start": { 932 "line": 45, 933 "column": 1 934 }, 935 "end": { 936 "line": 55, 937 "column": 2 938 } 939 } 940 }, 941 "loc": { 942 "start": { 943 "line": 44, 944 "column": 1 945 }, 946 "end": { 947 "line": 55, 948 "column": 2 949 } 950 } 951 }, 952 "loc": { 953 "start": { 954 "line": 44, 955 "column": 1 956 }, 957 "end": { 958 "line": 55, 959 "column": 2 960 } 961 } 962 }, 963 { 964 "type": "LabelledStatement", 965 "label": { 966 "type": "Identifier", 967 "name": "a", 968 "decorators": [], 969 "loc": { 970 "start": { 971 "line": 57, 972 "column": 1 973 }, 974 "end": { 975 "line": 57, 976 "column": 2 977 } 978 } 979 }, 980 "body": { 981 "type": "LabelledStatement", 982 "label": { 983 "type": "Identifier", 984 "name": "b", 985 "decorators": [], 986 "loc": { 987 "start": { 988 "line": 58, 989 "column": 1 990 }, 991 "end": { 992 "line": 58, 993 "column": 2 994 } 995 } 996 }, 997 "body": { 998 "type": "LabelledStatement", 999 "label": { 1000 "type": "Identifier", 1001 "name": "c", 1002 "decorators": [], 1003 "loc": { 1004 "start": { 1005 "line": 59, 1006 "column": 1 1007 }, 1008 "end": { 1009 "line": 59, 1010 "column": 2 1011 } 1012 } 1013 }, 1014 "body": { 1015 "type": "LabelledStatement", 1016 "label": { 1017 "type": "Identifier", 1018 "name": "d", 1019 "decorators": [], 1020 "loc": { 1021 "start": { 1022 "line": 60, 1023 "column": 1 1024 }, 1025 "end": { 1026 "line": 60, 1027 "column": 2 1028 } 1029 } 1030 }, 1031 "body": { 1032 "type": "ExpressionStatement", 1033 "expression": { 1034 "type": "NumberLiteral", 1035 "value": 1, 1036 "loc": { 1037 "start": { 1038 "line": 60, 1039 "column": 4 1040 }, 1041 "end": { 1042 "line": 60, 1043 "column": 5 1044 } 1045 } 1046 }, 1047 "loc": { 1048 "start": { 1049 "line": 60, 1050 "column": 4 1051 }, 1052 "end": { 1053 "line": 60, 1054 "column": 6 1055 } 1056 } 1057 }, 1058 "loc": { 1059 "start": { 1060 "line": 60, 1061 "column": 1 1062 }, 1063 "end": { 1064 "line": 60, 1065 "column": 6 1066 } 1067 } 1068 }, 1069 "loc": { 1070 "start": { 1071 "line": 59, 1072 "column": 1 1073 }, 1074 "end": { 1075 "line": 60, 1076 "column": 6 1077 } 1078 } 1079 }, 1080 "loc": { 1081 "start": { 1082 "line": 58, 1083 "column": 1 1084 }, 1085 "end": { 1086 "line": 60, 1087 "column": 6 1088 } 1089 } 1090 }, 1091 "loc": { 1092 "start": { 1093 "line": 57, 1094 "column": 1 1095 }, 1096 "end": { 1097 "line": 60, 1098 "column": 6 1099 } 1100 } 1101 }, 1102 { 1103 "type": "LabelledStatement", 1104 "label": { 1105 "type": "Identifier", 1106 "name": "a", 1107 "decorators": [], 1108 "loc": { 1109 "start": { 1110 "line": 62, 1111 "column": 1 1112 }, 1113 "end": { 1114 "line": 62, 1115 "column": 2 1116 } 1117 } 1118 }, 1119 "body": { 1120 "type": "ExpressionStatement", 1121 "expression": { 1122 "type": "NumberLiteral", 1123 "value": 1, 1124 "loc": { 1125 "start": { 1126 "line": 62, 1127 "column": 4 1128 }, 1129 "end": { 1130 "line": 62, 1131 "column": 5 1132 } 1133 } 1134 }, 1135 "loc": { 1136 "start": { 1137 "line": 62, 1138 "column": 4 1139 }, 1140 "end": { 1141 "line": 62, 1142 "column": 6 1143 } 1144 } 1145 }, 1146 "loc": { 1147 "start": { 1148 "line": 62, 1149 "column": 1 1150 }, 1151 "end": { 1152 "line": 62, 1153 "column": 6 1154 } 1155 } 1156 }, 1157 { 1158 "type": "LabelledStatement", 1159 "label": { 1160 "type": "Identifier", 1161 "name": "a", 1162 "decorators": [], 1163 "loc": { 1164 "start": { 1165 "line": 63, 1166 "column": 1 1167 }, 1168 "end": { 1169 "line": 63, 1170 "column": 2 1171 } 1172 } 1173 }, 1174 "body": { 1175 "type": "ExpressionStatement", 1176 "expression": { 1177 "type": "NumberLiteral", 1178 "value": 2, 1179 "loc": { 1180 "start": { 1181 "line": 63, 1182 "column": 4 1183 }, 1184 "end": { 1185 "line": 63, 1186 "column": 5 1187 } 1188 } 1189 }, 1190 "loc": { 1191 "start": { 1192 "line": 63, 1193 "column": 4 1194 }, 1195 "end": { 1196 "line": 63, 1197 "column": 6 1198 } 1199 } 1200 }, 1201 "loc": { 1202 "start": { 1203 "line": 63, 1204 "column": 1 1205 }, 1206 "end": { 1207 "line": 63, 1208 "column": 6 1209 } 1210 } 1211 }, 1212 { 1213 "type": "LabelledStatement", 1214 "label": { 1215 "type": "Identifier", 1216 "name": "a", 1217 "decorators": [], 1218 "loc": { 1219 "start": { 1220 "line": 64, 1221 "column": 1 1222 }, 1223 "end": { 1224 "line": 64, 1225 "column": 2 1226 } 1227 } 1228 }, 1229 "body": { 1230 "type": "ExpressionStatement", 1231 "expression": { 1232 "type": "NumberLiteral", 1233 "value": 3, 1234 "loc": { 1235 "start": { 1236 "line": 64, 1237 "column": 4 1238 }, 1239 "end": { 1240 "line": 64, 1241 "column": 5 1242 } 1243 } 1244 }, 1245 "loc": { 1246 "start": { 1247 "line": 64, 1248 "column": 4 1249 }, 1250 "end": { 1251 "line": 64, 1252 "column": 6 1253 } 1254 } 1255 }, 1256 "loc": { 1257 "start": { 1258 "line": 64, 1259 "column": 1 1260 }, 1261 "end": { 1262 "line": 64, 1263 "column": 6 1264 } 1265 } 1266 } 1267 ], 1268 "loc": { 1269 "start": { 1270 "line": 1, 1271 "column": 1 1272 }, 1273 "end": { 1274 "line": 65, 1275 "column": 1 1276 } 1277 } 1278} 1279