1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "DoWhileStatement", 6 "body": { 7 "type": "ExpressionStatement", 8 "expression": { 9 "type": "AssignmentExpression", 10 "operator": "=", 11 "left": { 12 "type": "Identifier", 13 "name": "a", 14 "loc": { 15 "start": { 16 "line": 17, 17 "column": 4 18 }, 19 "end": { 20 "line": 17, 21 "column": 5 22 } 23 } 24 }, 25 "right": { 26 "type": "NumberLiteral", 27 "value": 2, 28 "loc": { 29 "start": { 30 "line": 17, 31 "column": 8 32 }, 33 "end": { 34 "line": 17, 35 "column": 9 36 } 37 } 38 }, 39 "loc": { 40 "start": { 41 "line": 17, 42 "column": 4 43 }, 44 "end": { 45 "line": 17, 46 "column": 9 47 } 48 } 49 }, 50 "loc": { 51 "start": { 52 "line": 17, 53 "column": 4 54 }, 55 "end": { 56 "line": 17, 57 "column": 9 58 } 59 } 60 }, 61 "test": { 62 "type": "BinaryExpression", 63 "operator": ">", 64 "left": { 65 "type": "Identifier", 66 "name": "a", 67 "loc": { 68 "start": { 69 "line": 18, 70 "column": 8 71 }, 72 "end": { 73 "line": 18, 74 "column": 9 75 } 76 } 77 }, 78 "right": { 79 "type": "Identifier", 80 "name": "b", 81 "loc": { 82 "start": { 83 "line": 18, 84 "column": 12 85 }, 86 "end": { 87 "line": 18, 88 "column": 13 89 } 90 } 91 }, 92 "loc": { 93 "start": { 94 "line": 18, 95 "column": 8 96 }, 97 "end": { 98 "line": 18, 99 "column": 13 100 } 101 } 102 }, 103 "loc": { 104 "start": { 105 "line": 17, 106 "column": 1 107 }, 108 "end": { 109 "line": 18, 110 "column": 14 111 } 112 } 113 }, 114 { 115 "type": "DoWhileStatement", 116 "body": { 117 "type": "ExpressionStatement", 118 "expression": { 119 "type": "AssignmentExpression", 120 "operator": "=", 121 "left": { 122 "type": "Identifier", 123 "name": "a", 124 "loc": { 125 "start": { 126 "line": 20, 127 "column": 4 128 }, 129 "end": { 130 "line": 20, 131 "column": 5 132 } 133 } 134 }, 135 "right": { 136 "type": "NumberLiteral", 137 "value": 2, 138 "loc": { 139 "start": { 140 "line": 20, 141 "column": 8 142 }, 143 "end": { 144 "line": 20, 145 "column": 9 146 } 147 } 148 }, 149 "loc": { 150 "start": { 151 "line": 20, 152 "column": 4 153 }, 154 "end": { 155 "line": 20, 156 "column": 9 157 } 158 } 159 }, 160 "loc": { 161 "start": { 162 "line": 20, 163 "column": 4 164 }, 165 "end": { 166 "line": 20, 167 "column": 10 168 } 169 } 170 }, 171 "test": { 172 "type": "BinaryExpression", 173 "operator": ">", 174 "left": { 175 "type": "Identifier", 176 "name": "a", 177 "loc": { 178 "start": { 179 "line": 20, 180 "column": 18 181 }, 182 "end": { 183 "line": 20, 184 "column": 19 185 } 186 } 187 }, 188 "right": { 189 "type": "Identifier", 190 "name": "b", 191 "loc": { 192 "start": { 193 "line": 20, 194 "column": 22 195 }, 196 "end": { 197 "line": 20, 198 "column": 23 199 } 200 } 201 }, 202 "loc": { 203 "start": { 204 "line": 20, 205 "column": 18 206 }, 207 "end": { 208 "line": 20, 209 "column": 23 210 } 211 } 212 }, 213 "loc": { 214 "start": { 215 "line": 20, 216 "column": 1 217 }, 218 "end": { 219 "line": 20, 220 "column": 24 221 } 222 } 223 }, 224 { 225 "type": "DoWhileStatement", 226 "body": { 227 "type": "BlockStatement", 228 "statements": [ 229 { 230 "type": "ExpressionStatement", 231 "expression": { 232 "type": "AssignmentExpression", 233 "operator": "=", 234 "left": { 235 "type": "Identifier", 236 "name": "a", 237 "loc": { 238 "start": { 239 "line": 22, 240 "column": 6 241 }, 242 "end": { 243 "line": 22, 244 "column": 7 245 } 246 } 247 }, 248 "right": { 249 "type": "NumberLiteral", 250 "value": 2, 251 "loc": { 252 "start": { 253 "line": 22, 254 "column": 10 255 }, 256 "end": { 257 "line": 22, 258 "column": 11 259 } 260 } 261 }, 262 "loc": { 263 "start": { 264 "line": 22, 265 "column": 6 266 }, 267 "end": { 268 "line": 22, 269 "column": 11 270 } 271 } 272 }, 273 "loc": { 274 "start": { 275 "line": 22, 276 "column": 6 277 }, 278 "end": { 279 "line": 22, 280 "column": 11 281 } 282 } 283 } 284 ], 285 "loc": { 286 "start": { 287 "line": 22, 288 "column": 4 289 }, 290 "end": { 291 "line": 22, 292 "column": 13 293 } 294 } 295 }, 296 "test": { 297 "type": "BinaryExpression", 298 "operator": ">", 299 "left": { 300 "type": "Identifier", 301 "name": "a", 302 "loc": { 303 "start": { 304 "line": 22, 305 "column": 21 306 }, 307 "end": { 308 "line": 22, 309 "column": 22 310 } 311 } 312 }, 313 "right": { 314 "type": "Identifier", 315 "name": "b", 316 "loc": { 317 "start": { 318 "line": 22, 319 "column": 25 320 }, 321 "end": { 322 "line": 22, 323 "column": 26 324 } 325 } 326 }, 327 "loc": { 328 "start": { 329 "line": 22, 330 "column": 21 331 }, 332 "end": { 333 "line": 22, 334 "column": 26 335 } 336 } 337 }, 338 "loc": { 339 "start": { 340 "line": 22, 341 "column": 1 342 }, 343 "end": { 344 "line": 22, 345 "column": 27 346 } 347 } 348 }, 349 { 350 "type": "DoWhileStatement", 351 "body": { 352 "type": "BlockStatement", 353 "statements": [ 354 { 355 "type": "ExpressionStatement", 356 "expression": { 357 "type": "AssignmentExpression", 358 "operator": "=", 359 "left": { 360 "type": "Identifier", 361 "name": "a", 362 "loc": { 363 "start": { 364 "line": 24, 365 "column": 6 366 }, 367 "end": { 368 "line": 24, 369 "column": 7 370 } 371 } 372 }, 373 "right": { 374 "type": "NumberLiteral", 375 "value": 2, 376 "loc": { 377 "start": { 378 "line": 24, 379 "column": 10 380 }, 381 "end": { 382 "line": 24, 383 "column": 11 384 } 385 } 386 }, 387 "loc": { 388 "start": { 389 "line": 24, 390 "column": 6 391 }, 392 "end": { 393 "line": 24, 394 "column": 11 395 } 396 } 397 }, 398 "loc": { 399 "start": { 400 "line": 24, 401 "column": 6 402 }, 403 "end": { 404 "line": 24, 405 "column": 12 406 } 407 } 408 } 409 ], 410 "loc": { 411 "start": { 412 "line": 24, 413 "column": 4 414 }, 415 "end": { 416 "line": 24, 417 "column": 14 418 } 419 } 420 }, 421 "test": { 422 "type": "BinaryExpression", 423 "operator": ">", 424 "left": { 425 "type": "Identifier", 426 "name": "a", 427 "loc": { 428 "start": { 429 "line": 24, 430 "column": 22 431 }, 432 "end": { 433 "line": 24, 434 "column": 23 435 } 436 } 437 }, 438 "right": { 439 "type": "Identifier", 440 "name": "b", 441 "loc": { 442 "start": { 443 "line": 24, 444 "column": 26 445 }, 446 "end": { 447 "line": 24, 448 "column": 27 449 } 450 } 451 }, 452 "loc": { 453 "start": { 454 "line": 24, 455 "column": 22 456 }, 457 "end": { 458 "line": 24, 459 "column": 27 460 } 461 } 462 }, 463 "loc": { 464 "start": { 465 "line": 24, 466 "column": 1 467 }, 468 "end": { 469 "line": 24, 470 "column": 28 471 } 472 } 473 }, 474 { 475 "type": "DoWhileStatement", 476 "body": { 477 "type": "ExpressionStatement", 478 "expression": { 479 "type": "AssignmentExpression", 480 "operator": "=", 481 "left": { 482 "type": "Identifier", 483 "name": "a", 484 "loc": { 485 "start": { 486 "line": 27, 487 "column": 5 488 }, 489 "end": { 490 "line": 27, 491 "column": 6 492 } 493 } 494 }, 495 "right": { 496 "type": "NumberLiteral", 497 "value": 2, 498 "loc": { 499 "start": { 500 "line": 27, 501 "column": 9 502 }, 503 "end": { 504 "line": 27, 505 "column": 10 506 } 507 } 508 }, 509 "loc": { 510 "start": { 511 "line": 27, 512 "column": 5 513 }, 514 "end": { 515 "line": 27, 516 "column": 10 517 } 518 } 519 }, 520 "loc": { 521 "start": { 522 "line": 27, 523 "column": 5 524 }, 525 "end": { 526 "line": 27, 527 "column": 10 528 } 529 } 530 }, 531 "test": { 532 "type": "BooleanLiteral", 533 "value": false, 534 "loc": { 535 "start": { 536 "line": 28, 537 "column": 8 538 }, 539 "end": { 540 "line": 28, 541 "column": 13 542 } 543 } 544 }, 545 "loc": { 546 "start": { 547 "line": 26, 548 "column": 1 549 }, 550 "end": { 551 "line": 28, 552 "column": 14 553 } 554 } 555 }, 556 { 557 "type": "DoWhileStatement", 558 "body": { 559 "type": "BlockStatement", 560 "statements": [], 561 "loc": { 562 "start": { 563 "line": 30, 564 "column": 4 565 }, 566 "end": { 567 "line": 30, 568 "column": 7 569 } 570 } 571 }, 572 "test": { 573 "type": "BooleanLiteral", 574 "value": false, 575 "loc": { 576 "start": { 577 "line": 30, 578 "column": 15 579 }, 580 "end": { 581 "line": 30, 582 "column": 20 583 } 584 } 585 }, 586 "loc": { 587 "start": { 588 "line": 30, 589 "column": 1 590 }, 591 "end": { 592 "line": 30, 593 "column": 22 594 } 595 } 596 }, 597 { 598 "type": "DoWhileStatement", 599 "body": { 600 "type": "BlockStatement", 601 "statements": [ 602 { 603 "type": "ExpressionStatement", 604 "expression": { 605 "type": "AssignmentExpression", 606 "operator": "=", 607 "left": { 608 "type": "Identifier", 609 "name": "a", 610 "loc": { 611 "start": { 612 "line": 33, 613 "column": 5 614 }, 615 "end": { 616 "line": 33, 617 "column": 6 618 } 619 } 620 }, 621 "right": { 622 "type": "NumberLiteral", 623 "value": 2, 624 "loc": { 625 "start": { 626 "line": 33, 627 "column": 9 628 }, 629 "end": { 630 "line": 33, 631 "column": 10 632 } 633 } 634 }, 635 "loc": { 636 "start": { 637 "line": 33, 638 "column": 5 639 }, 640 "end": { 641 "line": 33, 642 "column": 10 643 } 644 } 645 }, 646 "loc": { 647 "start": { 648 "line": 33, 649 "column": 5 650 }, 651 "end": { 652 "line": 33, 653 "column": 11 654 } 655 } 656 } 657 ], 658 "loc": { 659 "start": { 660 "line": 32, 661 "column": 4 662 }, 663 "end": { 664 "line": 34, 665 "column": 2 666 } 667 } 668 }, 669 "test": { 670 "type": "BooleanLiteral", 671 "value": false, 672 "loc": { 673 "start": { 674 "line": 34, 675 "column": 10 676 }, 677 "end": { 678 "line": 34, 679 "column": 15 680 } 681 } 682 }, 683 "loc": { 684 "start": { 685 "line": 32, 686 "column": 1 687 }, 688 "end": { 689 "line": 34, 690 "column": 17 691 } 692 } 693 } 694 ], 695 "loc": { 696 "start": { 697 "line": 1, 698 "column": 1 699 }, 700 "end": { 701 "line": 45, 702 "column": 1 703 } 704 } 705} 706