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": "foo",
124              "decorators": [],
125              "loc": {
126                "start": {
127                  "line": 16,
128                  "column": 10
129                },
130                "end": {
131                  "line": 16,
132                  "column": 13
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": "foo",
148                  "decorators": [],
149                  "loc": {
150                    "start": {
151                      "line": 16,
152                      "column": 10
153                    },
154                    "end": {
155                      "line": 16,
156                      "column": 13
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": 17
170                    },
171                    "end": {
172                      "line": 16,
173                      "column": 20
174                    }
175                  }
176                },
177                "body": {
178                  "type": "BlockStatement",
179                  "statements": [
180                    {
181                      "type": "IfStatement",
182                      "test": {
183                        "type": "BooleanLiteral",
184                        "value": false,
185                        "loc": {
186                          "start": {
187                            "line": 17,
188                            "column": 7
189                          },
190                          "end": {
191                            "line": 17,
192                            "column": 12
193                          }
194                        }
195                      },
196                      "consequent": {
197                        "type": "ReturnStatement",
198                        "argument": {
199                          "type": "NumberLiteral",
200                          "value": 0,
201                          "loc": {
202                            "start": {
203                              "line": 17,
204                              "column": 21
205                            },
206                            "end": {
207                              "line": 17,
208                              "column": 22
209                            }
210                          }
211                        },
212                        "loc": {
213                          "start": {
214                            "line": 17,
215                            "column": 14
216                          },
217                          "end": {
218                            "line": 17,
219                            "column": 23
220                          }
221                        }
222                      },
223                      "alternate": null,
224                      "loc": {
225                        "start": {
226                          "line": 17,
227                          "column": 3
228                        },
229                        "end": {
230                          "line": 17,
231                          "column": 23
232                        }
233                      }
234                    },
235                    {
236                      "type": "IfStatement",
237                      "test": {
238                        "type": "BooleanLiteral",
239                        "value": false,
240                        "loc": {
241                          "start": {
242                            "line": 18,
243                            "column": 7
244                          },
245                          "end": {
246                            "line": 18,
247                            "column": 12
248                          }
249                        }
250                      },
251                      "consequent": {
252                        "type": "ReturnStatement",
253                        "argument": {
254                          "type": "NumberLiteral",
255                          "value": 1,
256                          "loc": {
257                            "start": {
258                              "line": 18,
259                              "column": 21
260                            },
261                            "end": {
262                              "line": 18,
263                              "column": 22
264                            }
265                          }
266                        },
267                        "loc": {
268                          "start": {
269                            "line": 18,
270                            "column": 14
271                          },
272                          "end": {
273                            "line": 18,
274                            "column": 23
275                          }
276                        }
277                      },
278                      "alternate": {
279                        "type": "BlockStatement",
280                        "statements": [
281                          {
282                            "type": "IfStatement",
283                            "test": {
284                              "type": "BooleanLiteral",
285                              "value": false,
286                              "loc": {
287                                "start": {
288                                  "line": 20,
289                                  "column": 9
290                                },
291                                "end": {
292                                  "line": 20,
293                                  "column": 14
294                                }
295                              }
296                            },
297                            "consequent": {
298                              "type": "ReturnStatement",
299                              "argument": {
300                                "type": "NumberLiteral",
301                                "value": 2,
302                                "loc": {
303                                  "start": {
304                                    "line": 20,
305                                    "column": 23
306                                  },
307                                  "end": {
308                                    "line": 20,
309                                    "column": 24
310                                  }
311                                }
312                              },
313                              "loc": {
314                                "start": {
315                                  "line": 20,
316                                  "column": 16
317                                },
318                                "end": {
319                                  "line": 20,
320                                  "column": 25
321                                }
322                              }
323                            },
324                            "alternate": {
325                              "type": "IfStatement",
326                              "test": {
327                                "type": "BooleanLiteral",
328                                "value": false,
329                                "loc": {
330                                  "start": {
331                                    "line": 22,
332                                    "column": 11
333                                  },
334                                  "end": {
335                                    "line": 22,
336                                    "column": 16
337                                  }
338                                }
339                              },
340                              "consequent": {
341                                "type": "ReturnStatement",
342                                "argument": {
343                                  "type": "NumberLiteral",
344                                  "value": 3,
345                                  "loc": {
346                                    "start": {
347                                      "line": 22,
348                                      "column": 25
349                                    },
350                                    "end": {
351                                      "line": 22,
352                                      "column": 26
353                                    }
354                                  }
355                                },
356                                "loc": {
357                                  "start": {
358                                    "line": 22,
359                                    "column": 18
360                                  },
361                                  "end": {
362                                    "line": 22,
363                                    "column": 27
364                                  }
365                                }
366                              },
367                              "alternate": {
368                                "type": "IfStatement",
369                                "test": {
370                                  "type": "BooleanLiteral",
371                                  "value": false,
372                                  "loc": {
373                                    "start": {
374                                      "line": 23,
375                                      "column": 16
376                                    },
377                                    "end": {
378                                      "line": 23,
379                                      "column": 21
380                                    }
381                                  }
382                                },
383                                "consequent": {
384                                  "type": "ReturnStatement",
385                                  "argument": {
386                                    "type": "NumberLiteral",
387                                    "value": 4,
388                                    "loc": {
389                                      "start": {
390                                        "line": 23,
391                                        "column": 30
392                                      },
393                                      "end": {
394                                        "line": 23,
395                                        "column": 31
396                                      }
397                                    }
398                                  },
399                                  "loc": {
400                                    "start": {
401                                      "line": 23,
402                                      "column": 23
403                                    },
404                                    "end": {
405                                      "line": 23,
406                                      "column": 32
407                                    }
408                                  }
409                                },
410                                "alternate": {
411                                  "type": "ReturnStatement",
412                                  "argument": {
413                                    "type": "NumberLiteral",
414                                    "value": 5,
415                                    "loc": {
416                                      "start": {
417                                        "line": 24,
418                                        "column": 19
419                                      },
420                                      "end": {
421                                        "line": 24,
422                                        "column": 20
423                                      }
424                                    }
425                                  },
426                                  "loc": {
427                                    "start": {
428                                      "line": 24,
429                                      "column": 12
430                                    },
431                                    "end": {
432                                      "line": 24,
433                                      "column": 21
434                                    }
435                                  }
436                                },
437                                "loc": {
438                                  "start": {
439                                    "line": 23,
440                                    "column": 12
441                                  },
442                                  "end": {
443                                    "line": 24,
444                                    "column": 21
445                                  }
446                                }
447                              },
448                              "loc": {
449                                "start": {
450                                  "line": 22,
451                                  "column": 7
452                                },
453                                "end": {
454                                  "line": 24,
455                                  "column": 21
456                                }
457                              }
458                            },
459                            "loc": {
460                              "start": {
461                                "line": 20,
462                                "column": 5
463                              },
464                              "end": {
465                                "line": 24,
466                                "column": 21
467                              }
468                            }
469                          }
470                        ],
471                        "loc": {
472                          "start": {
473                            "line": 19,
474                            "column": 8
475                          },
476                          "end": {
477                            "line": 25,
478                            "column": 4
479                          }
480                        }
481                      },
482                      "loc": {
483                        "start": {
484                          "line": 18,
485                          "column": 3
486                        },
487                        "end": {
488                          "line": 25,
489                          "column": 4
490                        }
491                      }
492                    }
493                  ],
494                  "loc": {
495                    "start": {
496                      "line": 16,
497                      "column": 21
498                    },
499                    "end": {
500                      "line": 26,
501                      "column": 2
502                    }
503                  }
504                },
505                "loc": {
506                  "start": {
507                    "line": 16,
508                    "column": 13
509                  },
510                  "end": {
511                    "line": 26,
512                    "column": 2
513                  }
514                }
515              },
516              "loc": {
517                "start": {
518                  "line": 16,
519                  "column": 13
520                },
521                "end": {
522                  "line": 26,
523                  "column": 2
524                }
525              }
526            },
527            "overloads": [],
528            "decorators": [],
529            "loc": {
530              "start": {
531                "line": 16,
532                "column": 1
533              },
534              "end": {
535                "line": 26,
536                "column": 2
537              }
538            }
539          }
540        ],
541        "loc": {
542          "start": {
543            "line": 1,
544            "column": 1
545          },
546          "end": {
547            "line": 1,
548            "column": 1
549          }
550        }
551      },
552      "loc": {
553        "start": {
554          "line": 1,
555          "column": 1
556        },
557        "end": {
558          "line": 1,
559          "column": 1
560        }
561      }
562    }
563  ],
564  "loc": {
565    "start": {
566      "line": 1,
567      "column": 1
568    },
569    "end": {
570      "line": 27,
571      "column": 1
572    }
573  }
574}
575