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