• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "TSInterfaceDeclaration",
6      "body": {
7        "type": "TSInterfaceBody",
8        "body": [],
9        "loc": {
10          "start": {
11            "line": 16,
12            "column": 13,
13            "program": "objectLiteralInterface.ets"
14          },
15          "end": {
16            "line": 16,
17            "column": 15,
18            "program": "objectLiteralInterface.ets"
19          }
20        }
21      },
22      "id": {
23        "type": "Identifier",
24        "name": "C",
25        "decorators": [],
26        "loc": {
27          "start": {
28            "line": 16,
29            "column": 11,
30            "program": "objectLiteralInterface.ets"
31          },
32          "end": {
33            "line": 16,
34            "column": 12,
35            "program": "objectLiteralInterface.ets"
36          }
37        }
38      },
39      "extends": [],
40      "loc": {
41        "start": {
42          "line": 16,
43          "column": 1,
44          "program": "objectLiteralInterface.ets"
45        },
46        "end": {
47          "line": 18,
48          "column": 4,
49          "program": "objectLiteralInterface.ets"
50        }
51      }
52    },
53    {
54      "type": "ClassDeclaration",
55      "definition": {
56        "id": {
57          "type": "Identifier",
58          "name": "ETSGLOBAL",
59          "decorators": [],
60          "loc": {
61            "start": {
62              "line": 1,
63              "column": 1,
64              "program": "objectLiteralInterface.ets"
65            },
66            "end": {
67              "line": 1,
68              "column": 1,
69              "program": "objectLiteralInterface.ets"
70            }
71          }
72        },
73        "superClass": null,
74        "implements": [],
75        "body": [
76          {
77            "type": "MethodDefinition",
78            "key": {
79              "type": "Identifier",
80              "name": "main",
81              "decorators": [],
82              "loc": {
83                "start": {
84                  "line": 1,
85                  "column": 1,
86                  "program": null
87                },
88                "end": {
89                  "line": 1,
90                  "column": 1,
91                  "program": null
92                }
93              }
94            },
95            "kind": "method",
96            "accessibility": "public",
97            "static": true,
98            "optional": false,
99            "computed": false,
100            "value": {
101              "type": "FunctionExpression",
102              "function": {
103                "type": "ScriptFunction",
104                "id": {
105                  "type": "Identifier",
106                  "name": "main",
107                  "decorators": [],
108                  "loc": {
109                    "start": {
110                      "line": 1,
111                      "column": 1,
112                      "program": null
113                    },
114                    "end": {
115                      "line": 1,
116                      "column": 1,
117                      "program": null
118                    }
119                  }
120                },
121                "generator": false,
122                "async": false,
123                "expression": false,
124                "params": [],
125                "body": {
126                  "type": "BlockStatement",
127                  "statements": [],
128                  "loc": {
129                    "start": {
130                      "line": 1,
131                      "column": 1,
132                      "program": null
133                    },
134                    "end": {
135                      "line": 1,
136                      "column": 1,
137                      "program": null
138                    }
139                  }
140                },
141                "loc": {
142                  "start": {
143                    "line": 1,
144                    "column": 1,
145                    "program": null
146                  },
147                  "end": {
148                    "line": 1,
149                    "column": 1,
150                    "program": null
151                  }
152                }
153              },
154              "loc": {
155                "start": {
156                  "line": 1,
157                  "column": 1,
158                  "program": null
159                },
160                "end": {
161                  "line": 1,
162                  "column": 1,
163                  "program": null
164                }
165              }
166            },
167            "overloads": [],
168            "decorators": [],
169            "loc": {
170              "start": {
171                "line": 1,
172                "column": 1,
173                "program": "objectLiteralInterface.ets"
174              },
175              "end": {
176                "line": 1,
177                "column": 1,
178                "program": "objectLiteralInterface.ets"
179              }
180            }
181          },
182          {
183            "type": "MethodDefinition",
184            "key": {
185              "type": "Identifier",
186              "name": "_$init$_",
187              "decorators": [],
188              "loc": {
189                "start": {
190                  "line": 1,
191                  "column": 1,
192                  "program": null
193                },
194                "end": {
195                  "line": 1,
196                  "column": 1,
197                  "program": null
198                }
199              }
200            },
201            "kind": "method",
202            "accessibility": "public",
203            "static": true,
204            "optional": false,
205            "computed": false,
206            "value": {
207              "type": "FunctionExpression",
208              "function": {
209                "type": "ScriptFunction",
210                "id": {
211                  "type": "Identifier",
212                  "name": "_$init$_",
213                  "decorators": [],
214                  "loc": {
215                    "start": {
216                      "line": 1,
217                      "column": 1,
218                      "program": null
219                    },
220                    "end": {
221                      "line": 1,
222                      "column": 1,
223                      "program": null
224                    }
225                  }
226                },
227                "generator": false,
228                "async": false,
229                "expression": false,
230                "params": [],
231                "body": {
232                  "type": "BlockStatement",
233                  "statements": [
234                    {
235                      "type": "ExpressionStatement",
236                      "expression": {
237                        "type": "AssignmentExpression",
238                        "operator": "=",
239                        "left": {
240                          "type": "Identifier",
241                          "name": "c",
242                          "decorators": [],
243                          "loc": {
244                            "start": {
245                              "line": 18,
246                              "column": 5,
247                              "program": "objectLiteralInterface.ets"
248                            },
249                            "end": {
250                              "line": 18,
251                              "column": 6,
252                              "program": "objectLiteralInterface.ets"
253                            }
254                          }
255                        },
256                        "right": {
257                          "type": "ObjectExpression",
258                          "properties": [],
259                          "loc": {
260                            "start": {
261                              "line": 18,
262                              "column": 12,
263                              "program": "objectLiteralInterface.ets"
264                            },
265                            "end": {
266                              "line": 18,
267                              "column": 14,
268                              "program": "objectLiteralInterface.ets"
269                            }
270                          }
271                        },
272                        "loc": {
273                          "start": {
274                            "line": 18,
275                            "column": 5,
276                            "program": "objectLiteralInterface.ets"
277                          },
278                          "end": {
279                            "line": 18,
280                            "column": 14,
281                            "program": "objectLiteralInterface.ets"
282                          }
283                        }
284                      },
285                      "loc": {
286                        "start": {
287                          "line": 18,
288                          "column": 5,
289                          "program": "objectLiteralInterface.ets"
290                        },
291                        "end": {
292                          "line": 18,
293                          "column": 14,
294                          "program": "objectLiteralInterface.ets"
295                        }
296                      }
297                    }
298                  ],
299                  "loc": {
300                    "start": {
301                      "line": 1,
302                      "column": 1,
303                      "program": null
304                    },
305                    "end": {
306                      "line": 1,
307                      "column": 1,
308                      "program": null
309                    }
310                  }
311                },
312                "loc": {
313                  "start": {
314                    "line": 1,
315                    "column": 1,
316                    "program": null
317                  },
318                  "end": {
319                    "line": 1,
320                    "column": 1,
321                    "program": null
322                  }
323                }
324              },
325              "loc": {
326                "start": {
327                  "line": 1,
328                  "column": 1,
329                  "program": null
330                },
331                "end": {
332                  "line": 1,
333                  "column": 1,
334                  "program": null
335                }
336              }
337            },
338            "overloads": [],
339            "decorators": [],
340            "loc": {
341              "start": {
342                "line": 1,
343                "column": 1,
344                "program": "objectLiteralInterface.ets"
345              },
346              "end": {
347                "line": 1,
348                "column": 1,
349                "program": "objectLiteralInterface.ets"
350              }
351            }
352          },
353          {
354            "type": "ClassProperty",
355            "key": {
356              "type": "Identifier",
357              "name": "c",
358              "decorators": [],
359              "loc": {
360                "start": {
361                  "line": 18,
362                  "column": 5,
363                  "program": "objectLiteralInterface.ets"
364                },
365                "end": {
366                  "line": 18,
367                  "column": 6,
368                  "program": "objectLiteralInterface.ets"
369                }
370              }
371            },
372            "accessibility": "public",
373            "static": true,
374            "readonly": false,
375            "declare": false,
376            "optional": false,
377            "computed": false,
378            "typeAnnotation": {
379              "type": "ETSTypeReference",
380              "part": {
381                "type": "ETSTypeReferencePart",
382                "name": {
383                  "type": "Identifier",
384                  "name": "C",
385                  "decorators": [],
386                  "loc": {
387                    "start": {
388                      "line": 18,
389                      "column": 8,
390                      "program": "objectLiteralInterface.ets"
391                    },
392                    "end": {
393                      "line": 18,
394                      "column": 9,
395                      "program": "objectLiteralInterface.ets"
396                    }
397                  }
398                },
399                "loc": {
400                  "start": {
401                    "line": 18,
402                    "column": 8,
403                    "program": "objectLiteralInterface.ets"
404                  },
405                  "end": {
406                    "line": 18,
407                    "column": 11,
408                    "program": "objectLiteralInterface.ets"
409                  }
410                }
411              },
412              "loc": {
413                "start": {
414                  "line": 18,
415                  "column": 8,
416                  "program": "objectLiteralInterface.ets"
417                },
418                "end": {
419                  "line": 18,
420                  "column": 11,
421                  "program": "objectLiteralInterface.ets"
422                }
423              }
424            },
425            "definite": false,
426            "decorators": [],
427            "loc": {
428              "start": {
429                "line": 18,
430                "column": 5,
431                "program": "objectLiteralInterface.ets"
432              },
433              "end": {
434                "line": 18,
435                "column": 14,
436                "program": "objectLiteralInterface.ets"
437              }
438            }
439          }
440        ],
441        "loc": {
442          "start": {
443            "line": 1,
444            "column": 1,
445            "program": "objectLiteralInterface.ets"
446          },
447          "end": {
448            "line": 1,
449            "column": 1,
450            "program": "objectLiteralInterface.ets"
451          }
452        }
453      },
454      "loc": {
455        "start": {
456          "line": 1,
457          "column": 1,
458          "program": "objectLiteralInterface.ets"
459        },
460        "end": {
461          "line": 1,
462          "column": 1,
463          "program": "objectLiteralInterface.ets"
464        }
465      }
466    }
467  ],
468  "loc": {
469    "start": {
470      "line": 1,
471      "column": 1,
472      "program": "objectLiteralInterface.ets"
473    },
474    "end": {
475      "line": 19,
476      "column": 1,
477      "program": "objectLiteralInterface.ets"
478    }
479  }
480}
481