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