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": 21
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": "TSArrayType",
190                              "elementType": {
191                                "type": "ETSTypeReference",
192                                "part": {
193                                  "type": "ETSTypeReferencePart",
194                                  "name": {
195                                    "type": "Identifier",
196                                    "name": "Double",
197                                    "decorators": [],
198                                    "loc": {
199                                      "start": {
200                                        "line": 17,
201                                        "column": 13
202                                      },
203                                      "end": {
204                                        "line": 17,
205                                        "column": 19
206                                      }
207                                    }
208                                  },
209                                  "loc": {
210                                    "start": {
211                                      "line": 17,
212                                      "column": 13
213                                    },
214                                    "end": {
215                                      "line": 17,
216                                      "column": 20
217                                    }
218                                  }
219                                },
220                                "loc": {
221                                  "start": {
222                                    "line": 17,
223                                    "column": 13
224                                  },
225                                  "end": {
226                                    "line": 17,
227                                    "column": 20
228                                  }
229                                }
230                              },
231                              "loc": {
232                                "start": {
233                                  "line": 17,
234                                  "column": 21
235                                },
236                                "end": {
237                                  "line": 17,
238                                  "column": 22
239                                }
240                              }
241                            },
242                            "decorators": [],
243                            "loc": {
244                              "start": {
245                                "line": 17,
246                                "column": 9
247                              },
248                              "end": {
249                                "line": 17,
250                                "column": 10
251                              }
252                            }
253                          },
254                          "init": null,
255                          "loc": {
256                            "start": {
257                              "line": 17,
258                              "column": 9
259                            },
260                            "end": {
261                              "line": 17,
262                              "column": 10
263                            }
264                          }
265                        }
266                      ],
267                      "kind": "let",
268                      "loc": {
269                        "start": {
270                          "line": 17,
271                          "column": 5
272                        },
273                        "end": {
274                          "line": 17,
275                          "column": 22
276                        }
277                      }
278                    },
279                    {
280                      "type": "ExpressionStatement",
281                      "expression": {
282                        "type": "AssignmentExpression",
283                        "operator": "=",
284                        "left": {
285                          "type": "Identifier",
286                          "name": "x",
287                          "decorators": [],
288                          "loc": {
289                            "start": {
290                              "line": 18,
291                              "column": 5
292                            },
293                            "end": {
294                              "line": 18,
295                              "column": 6
296                            }
297                          }
298                        },
299                        "right": {
300                          "type": "ArrayExpression",
301                          "elements": [
302                            {
303                              "type": "NumberLiteral",
304                              "value": 3.2,
305                              "loc": {
306                                "start": {
307                                  "line": 18,
308                                  "column": 10
309                                },
310                                "end": {
311                                  "line": 18,
312                                  "column": 13
313                                }
314                              }
315                            }
316                          ],
317                          "loc": {
318                            "start": {
319                              "line": 18,
320                              "column": 9
321                            },
322                            "end": {
323                              "line": 18,
324                              "column": 14
325                            }
326                          }
327                        },
328                        "loc": {
329                          "start": {
330                            "line": 18,
331                            "column": 5
332                          },
333                          "end": {
334                            "line": 18,
335                            "column": 14
336                          }
337                        }
338                      },
339                      "loc": {
340                        "start": {
341                          "line": 18,
342                          "column": 5
343                        },
344                        "end": {
345                          "line": 18,
346                          "column": 15
347                        }
348                      }
349                    }
350                  ],
351                  "loc": {
352                    "start": {
353                      "line": 16,
354                      "column": 22
355                    },
356                    "end": {
357                      "line": 19,
358                      "column": 2
359                    }
360                  }
361                },
362                "loc": {
363                  "start": {
364                    "line": 16,
365                    "column": 13
366                  },
367                  "end": {
368                    "line": 19,
369                    "column": 2
370                  }
371                }
372              },
373              "loc": {
374                "start": {
375                  "line": 16,
376                  "column": 13
377                },
378                "end": {
379                  "line": 19,
380                  "column": 2
381                }
382              }
383            },
384            "overloads": [],
385            "decorators": [],
386            "loc": {
387              "start": {
388                "line": 16,
389                "column": 1
390              },
391              "end": {
392                "line": 19,
393                "column": 2
394              }
395            }
396          }
397        ],
398        "loc": {
399          "start": {
400            "line": 1,
401            "column": 1
402          },
403          "end": {
404            "line": 1,
405            "column": 1
406          }
407        }
408      },
409      "loc": {
410        "start": {
411          "line": 1,
412          "column": 1
413        },
414        "end": {
415          "line": 1,
416          "column": 1
417        }
418      }
419    }
420  ],
421  "loc": {
422    "start": {
423      "line": 1,
424      "column": 1
425    },
426    "end": {
427      "line": 20,
428      "column": 1
429    }
430  }
431}
432