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