• 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": "boolean_default.ets"
16            },
17            "end": {
18              "line": 1,
19              "column": 1,
20              "program": "boolean_default.ets"
21            }
22          }
23        },
24        "superClass": null,
25        "implements": [],
26        "body": [
27          {
28            "type": "MethodDefinition",
29            "key": {
30              "type": "Identifier",
31              "name": "_$init$_",
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": "_$init$_",
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": "boolean_default.ets"
125              },
126              "end": {
127                "line": 1,
128                "column": 1,
129                "program": "boolean_default.ets"
130              }
131            }
132          },
133          {
134            "type": "MethodDefinition",
135            "key": {
136              "type": "Identifier",
137              "name": "main",
138              "decorators": [],
139              "loc": {
140                "start": {
141                  "line": 16,
142                  "column": 10,
143                  "program": "boolean_default.ets"
144                },
145                "end": {
146                  "line": 16,
147                  "column": 14,
148                  "program": "boolean_default.ets"
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": "main",
164                  "decorators": [],
165                  "loc": {
166                    "start": {
167                      "line": 16,
168                      "column": 10,
169                      "program": "boolean_default.ets"
170                    },
171                    "end": {
172                      "line": 16,
173                      "column": 14,
174                      "program": "boolean_default.ets"
175                    }
176                  }
177                },
178                "generator": false,
179                "async": false,
180                "expression": false,
181                "params": [],
182                "returnType": {
183                  "type": "ETSPrimitiveType",
184                  "loc": {
185                    "start": {
186                      "line": 16,
187                      "column": 18,
188                      "program": "boolean_default.ets"
189                    },
190                    "end": {
191                      "line": 16,
192                      "column": 22,
193                      "program": "boolean_default.ets"
194                    }
195                  }
196                },
197                "body": {
198                  "type": "BlockStatement",
199                  "statements": [
200                    {
201                      "type": "VariableDeclaration",
202                      "declarations": [
203                        {
204                          "type": "VariableDeclarator",
205                          "id": {
206                            "type": "Identifier",
207                            "name": "dest",
208                            "typeAnnotation": {
209                              "type": "ETSPrimitiveType",
210                              "loc": {
211                                "start": {
212                                  "line": 17,
213                                  "column": 15,
214                                  "program": "boolean_default.ets"
215                                },
216                                "end": {
217                                  "line": 17,
218                                  "column": 22,
219                                  "program": "boolean_default.ets"
220                                }
221                              }
222                            },
223                            "decorators": [],
224                            "loc": {
225                              "start": {
226                                "line": 17,
227                                "column": 7,
228                                "program": "boolean_default.ets"
229                              },
230                              "end": {
231                                "line": 17,
232                                "column": 11,
233                                "program": "boolean_default.ets"
234                              }
235                            }
236                          },
237                          "init": null,
238                          "loc": {
239                            "start": {
240                              "line": 17,
241                              "column": 7,
242                              "program": "boolean_default.ets"
243                            },
244                            "end": {
245                              "line": 17,
246                              "column": 11,
247                              "program": "boolean_default.ets"
248                            }
249                          }
250                        }
251                      ],
252                      "kind": "let",
253                      "loc": {
254                        "start": {
255                          "line": 17,
256                          "column": 3,
257                          "program": "boolean_default.ets"
258                        },
259                        "end": {
260                          "line": 17,
261                          "column": 23,
262                          "program": "boolean_default.ets"
263                        }
264                      }
265                    }
266                  ],
267                  "loc": {
268                    "start": {
269                      "line": 16,
270                      "column": 23,
271                      "program": "boolean_default.ets"
272                    },
273                    "end": {
274                      "line": 19,
275                      "column": 2,
276                      "program": "boolean_default.ets"
277                    }
278                  }
279                },
280                "loc": {
281                  "start": {
282                    "line": 16,
283                    "column": 10,
284                    "program": "boolean_default.ets"
285                  },
286                  "end": {
287                    "line": 19,
288                    "column": 2,
289                    "program": "boolean_default.ets"
290                  }
291                }
292              },
293              "loc": {
294                "start": {
295                  "line": 16,
296                  "column": 10,
297                  "program": "boolean_default.ets"
298                },
299                "end": {
300                  "line": 19,
301                  "column": 2,
302                  "program": "boolean_default.ets"
303                }
304              }
305            },
306            "overloads": [],
307            "decorators": [],
308            "loc": {
309              "start": {
310                "line": 16,
311                "column": 1,
312                "program": "boolean_default.ets"
313              },
314              "end": {
315                "line": 19,
316                "column": 2,
317                "program": "boolean_default.ets"
318              }
319            }
320          }
321        ],
322        "loc": {
323          "start": {
324            "line": 1,
325            "column": 1,
326            "program": "boolean_default.ets"
327          },
328          "end": {
329            "line": 1,
330            "column": 1,
331            "program": "boolean_default.ets"
332          }
333        }
334      },
335      "loc": {
336        "start": {
337          "line": 1,
338          "column": 1,
339          "program": "boolean_default.ets"
340        },
341        "end": {
342          "line": 1,
343          "column": 1,
344          "program": "boolean_default.ets"
345        }
346      }
347    }
348  ],
349  "loc": {
350    "start": {
351      "line": 1,
352      "column": 1,
353      "program": "boolean_default.ets"
354    },
355    "end": {
356      "line": 22,
357      "column": 1,
358      "program": "boolean_default.ets"
359    }
360  }
361}
362