• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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": "main",
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": "main",
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": "_$init$_",
124              "decorators": [],
125              "loc": {
126                "start": {
127                  "line": 1,
128                  "column": 1
129                },
130                "end": {
131                  "line": 1,
132                  "column": 1
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": "_$init$_",
148                  "decorators": [],
149                  "loc": {
150                    "start": {
151                      "line": 1,
152                      "column": 1
153                    },
154                    "end": {
155                      "line": 1,
156                      "column": 1
157                    }
158                  }
159                },
160                "generator": false,
161                "async": false,
162                "expression": false,
163                "params": [],
164                "body": {
165                  "type": "BlockStatement",
166                  "statements": [
167                    {
168                      "type": "ExpressionStatement",
169                      "expression": {
170                        "type": "AssignmentExpression",
171                        "operator": "=",
172                        "left": {
173                          "type": "Identifier",
174                          "name": "foo",
175                          "decorators": [],
176                          "loc": {
177                            "start": {
178                              "line": 16,
179                              "column": 12
180                            },
181                            "end": {
182                              "line": 16,
183                              "column": 15
184                            }
185                          }
186                        },
187                        "right": {
188                          "type": "StringLiteral",
189                          "value": "AAA",
190                          "loc": {
191                            "start": {
192                              "line": 16,
193                              "column": 26
194                            },
195                            "end": {
196                              "line": 16,
197                              "column": 31
198                            }
199                          }
200                        },
201                        "loc": {
202                          "start": {
203                            "line": 16,
204                            "column": 12
205                          },
206                          "end": {
207                            "line": 16,
208                            "column": 31
209                          }
210                        }
211                      },
212                      "loc": {
213                        "start": {
214                          "line": 16,
215                          "column": 12
216                        },
217                        "end": {
218                          "line": 16,
219                          "column": 31
220                        }
221                      }
222                    }
223                  ],
224                  "loc": {
225                    "start": {
226                      "line": 1,
227                      "column": 1
228                    },
229                    "end": {
230                      "line": 1,
231                      "column": 1
232                    }
233                  }
234                },
235                "loc": {
236                  "start": {
237                    "line": 1,
238                    "column": 1
239                  },
240                  "end": {
241                    "line": 1,
242                    "column": 1
243                  }
244                }
245              },
246              "loc": {
247                "start": {
248                  "line": 1,
249                  "column": 1
250                },
251                "end": {
252                  "line": 1,
253                  "column": 1
254                }
255              }
256            },
257            "overloads": [],
258            "decorators": [],
259            "loc": {
260              "start": {
261                "line": 1,
262                "column": 1
263              },
264              "end": {
265                "line": 1,
266                "column": 1
267              }
268            }
269          },
270          {
271            "type": "ClassProperty",
272            "key": {
273              "type": "Identifier",
274              "name": "foo",
275              "decorators": [],
276              "loc": {
277                "start": {
278                  "line": 16,
279                  "column": 12
280                },
281                "end": {
282                  "line": 16,
283                  "column": 15
284                }
285              }
286            },
287            "accessibility": "public",
288            "static": true,
289            "readonly": false,
290            "declare": false,
291            "optional": false,
292            "computed": false,
293            "typeAnnotation": {
294              "type": "ETSTypeReference",
295              "part": {
296                "type": "ETSTypeReferencePart",
297                "name": {
298                  "type": "Identifier",
299                  "name": "string",
300                  "decorators": [],
301                  "loc": {
302                    "start": {
303                      "line": 16,
304                      "column": 17
305                    },
306                    "end": {
307                      "line": 16,
308                      "column": 23
309                    }
310                  }
311                },
312                "loc": {
313                  "start": {
314                    "line": 16,
315                    "column": 17
316                  },
317                  "end": {
318                    "line": 16,
319                    "column": 25
320                  }
321                }
322              },
323              "loc": {
324                "start": {
325                  "line": 16,
326                  "column": 17
327                },
328                "end": {
329                  "line": 16,
330                  "column": 25
331                }
332              }
333            },
334            "definite": false,
335            "decorators": [],
336            "loc": {
337              "start": {
338                "line": 16,
339                "column": 12
340              },
341              "end": {
342                "line": 16,
343                "column": 31
344              }
345            }
346          }
347        ],
348        "loc": {
349          "start": {
350            "line": 1,
351            "column": 1
352          },
353          "end": {
354            "line": 1,
355            "column": 1
356          }
357        }
358      },
359      "loc": {
360        "start": {
361          "line": 1,
362          "column": 1
363        },
364        "end": {
365          "line": 1,
366          "column": 1
367        }
368      }
369    }
370  ],
371  "loc": {
372    "start": {
373      "line": 1,
374      "column": 1
375    },
376    "end": {
377      "line": 17,
378      "column": 1
379    }
380  }
381}
382