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