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": "main",
124              "decorators": [],
125              "loc": {
126                "start": {
127                  "line": 16,
128                  "column": 10
129                },
130                "end": {
131                  "line": 16,
132                  "column": 14
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": "main",
148                  "decorators": [],
149                  "loc": {
150                    "start": {
151                      "line": 16,
152                      "column": 10
153                    },
154                    "end": {
155                      "line": 16,
156                      "column": 14
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": 19
170                    },
171                    "end": {
172                      "line": 16,
173                      "column": 23
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": "x",
188                            "typeAnnotation": {
189                              "type": "ETSTypeReference",
190                              "part": {
191                                "type": "ETSTypeReferencePart",
192                                "name": {
193                                  "type": "Identifier",
194                                  "name": "Boolean",
195                                  "decorators": [],
196                                  "loc": {
197                                    "start": {
198                                      "line": 18,
199                                      "column": 11
200                                    },
201                                    "end": {
202                                      "line": 18,
203                                      "column": 18
204                                    }
205                                  }
206                                },
207                                "loc": {
208                                  "start": {
209                                    "line": 18,
210                                    "column": 11
211                                  },
212                                  "end": {
213                                    "line": 18,
214                                    "column": 20
215                                  }
216                                }
217                              },
218                              "loc": {
219                                "start": {
220                                  "line": 18,
221                                  "column": 11
222                                },
223                                "end": {
224                                  "line": 18,
225                                  "column": 20
226                                }
227                              }
228                            },
229                            "decorators": [],
230                            "loc": {
231                              "start": {
232                                "line": 18,
233                                "column": 7
234                              },
235                              "end": {
236                                "line": 18,
237                                "column": 8
238                              }
239                            }
240                          },
241                          "init": {
242                            "type": "ETSNewClassInstanceExpression",
243                            "typeReference": {
244                              "type": "ETSTypeReference",
245                              "part": {
246                                "type": "ETSTypeReferencePart",
247                                "name": {
248                                  "type": "Identifier",
249                                  "name": "Boolean",
250                                  "decorators": [],
251                                  "loc": {
252                                    "start": {
253                                      "line": 18,
254                                      "column": 25
255                                    },
256                                    "end": {
257                                      "line": 18,
258                                      "column": 32
259                                    }
260                                  }
261                                },
262                                "loc": {
263                                  "start": {
264                                    "line": 18,
265                                    "column": 25
266                                  },
267                                  "end": {
268                                    "line": 18,
269                                    "column": 33
270                                  }
271                                }
272                              },
273                              "loc": {
274                                "start": {
275                                  "line": 18,
276                                  "column": 25
277                                },
278                                "end": {
279                                  "line": 18,
280                                  "column": 33
281                                }
282                              }
283                            },
284                            "arguments": [],
285                            "loc": {
286                              "start": {
287                                "line": 18,
288                                "column": 21
289                              },
290                              "end": {
291                                "line": 18,
292                                "column": 35
293                              }
294                            }
295                          },
296                          "loc": {
297                            "start": {
298                              "line": 18,
299                              "column": 7
300                            },
301                            "end": {
302                              "line": 18,
303                              "column": 35
304                            }
305                          }
306                        }
307                      ],
308                      "kind": "let",
309                      "loc": {
310                        "start": {
311                          "line": 18,
312                          "column": 3
313                        },
314                        "end": {
315                          "line": 18,
316                          "column": 35
317                        }
318                      }
319                    }
320                  ],
321                  "loc": {
322                    "start": {
323                      "line": 17,
324                      "column": 1
325                    },
326                    "end": {
327                      "line": 19,
328                      "column": 2
329                    }
330                  }
331                },
332                "loc": {
333                  "start": {
334                    "line": 16,
335                    "column": 14
336                  },
337                  "end": {
338                    "line": 19,
339                    "column": 2
340                  }
341                }
342              },
343              "loc": {
344                "start": {
345                  "line": 16,
346                  "column": 14
347                },
348                "end": {
349                  "line": 19,
350                  "column": 2
351                }
352              }
353            },
354            "overloads": [],
355            "decorators": [],
356            "loc": {
357              "start": {
358                "line": 16,
359                "column": 1
360              },
361              "end": {
362                "line": 19,
363                "column": 2
364              }
365            }
366          }
367        ],
368        "loc": {
369          "start": {
370            "line": 1,
371            "column": 1
372          },
373          "end": {
374            "line": 1,
375            "column": 1
376          }
377        }
378      },
379      "loc": {
380        "start": {
381          "line": 1,
382          "column": 1
383        },
384        "end": {
385          "line": 1,
386          "column": 1
387        }
388      }
389    }
390  ],
391  "loc": {
392    "start": {
393      "line": 1,
394      "column": 1
395    },
396    "end": {
397      "line": 20,
398      "column": 1
399    }
400  }
401}
402