• 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": "float_pont_format_2.ets"
16            },
17            "end": {
18              "line": 1,
19              "column": 1,
20              "program": "float_pont_format_2.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": "float_pont_format_2.ets"
125              },
126              "end": {
127                "line": 1,
128                "column": 1,
129                "program": "float_pont_format_2.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": "float_pont_format_2.ets"
144                },
145                "end": {
146                  "line": 16,
147                  "column": 14,
148                  "program": "float_pont_format_2.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": "float_pont_format_2.ets"
170                    },
171                    "end": {
172                      "line": 16,
173                      "column": 14,
174                      "program": "float_pont_format_2.ets"
175                    }
176                  }
177                },
178                "generator": false,
179                "async": false,
180                "expression": false,
181                "params": [],
182                "body": {
183                  "type": "BlockStatement",
184                  "statements": [
185                    {
186                      "type": "VariableDeclaration",
187                      "declarations": [
188                        {
189                          "type": "VariableDeclarator",
190                          "id": {
191                            "type": "Identifier",
192                            "name": "a",
193                            "decorators": [],
194                            "loc": {
195                              "start": {
196                                "line": 17,
197                                "column": 9,
198                                "program": "float_pont_format_2.ets"
199                              },
200                              "end": {
201                                "line": 17,
202                                "column": 10,
203                                "program": "float_pont_format_2.ets"
204                              }
205                            }
206                          },
207                          "init": {
208                            "type": "BinaryExpression",
209                            "operator": "+",
210                            "left": {
211                              "type": "NumberLiteral",
212                              "value": 0.5,
213                              "loc": {
214                                "start": {
215                                  "line": 17,
216                                  "column": 13,
217                                  "program": "float_pont_format_2.ets"
218                                },
219                                "end": {
220                                  "line": 17,
221                                  "column": 15,
222                                  "program": "float_pont_format_2.ets"
223                                }
224                              }
225                            },
226                            "right": {
227                              "type": "NumberLiteral",
228                              "value": 0.5,
229                              "loc": {
230                                "start": {
231                                  "line": 17,
232                                  "column": 18,
233                                  "program": "float_pont_format_2.ets"
234                                },
235                                "end": {
236                                  "line": 17,
237                                  "column": 20,
238                                  "program": "float_pont_format_2.ets"
239                                }
240                              }
241                            },
242                            "loc": {
243                              "start": {
244                                "line": 17,
245                                "column": 13,
246                                "program": "float_pont_format_2.ets"
247                              },
248                              "end": {
249                                "line": 17,
250                                "column": 20,
251                                "program": "float_pont_format_2.ets"
252                              }
253                            }
254                          },
255                          "loc": {
256                            "start": {
257                              "line": 17,
258                              "column": 9,
259                              "program": "float_pont_format_2.ets"
260                            },
261                            "end": {
262                              "line": 17,
263                              "column": 20,
264                              "program": "float_pont_format_2.ets"
265                            }
266                          }
267                        }
268                      ],
269                      "kind": "let",
270                      "loc": {
271                        "start": {
272                          "line": 17,
273                          "column": 5,
274                          "program": "float_pont_format_2.ets"
275                        },
276                        "end": {
277                          "line": 17,
278                          "column": 20,
279                          "program": "float_pont_format_2.ets"
280                        }
281                      }
282                    }
283                  ],
284                  "loc": {
285                    "start": {
286                      "line": 16,
287                      "column": 17,
288                      "program": "float_pont_format_2.ets"
289                    },
290                    "end": {
291                      "line": 18,
292                      "column": 2,
293                      "program": "float_pont_format_2.ets"
294                    }
295                  }
296                },
297                "loc": {
298                  "start": {
299                    "line": 16,
300                    "column": 10,
301                    "program": "float_pont_format_2.ets"
302                  },
303                  "end": {
304                    "line": 18,
305                    "column": 2,
306                    "program": "float_pont_format_2.ets"
307                  }
308                }
309              },
310              "loc": {
311                "start": {
312                  "line": 16,
313                  "column": 10,
314                  "program": "float_pont_format_2.ets"
315                },
316                "end": {
317                  "line": 18,
318                  "column": 2,
319                  "program": "float_pont_format_2.ets"
320                }
321              }
322            },
323            "overloads": [],
324            "decorators": [],
325            "loc": {
326              "start": {
327                "line": 16,
328                "column": 1,
329                "program": "float_pont_format_2.ets"
330              },
331              "end": {
332                "line": 18,
333                "column": 2,
334                "program": "float_pont_format_2.ets"
335              }
336            }
337          }
338        ],
339        "loc": {
340          "start": {
341            "line": 1,
342            "column": 1,
343            "program": "float_pont_format_2.ets"
344          },
345          "end": {
346            "line": 1,
347            "column": 1,
348            "program": "float_pont_format_2.ets"
349          }
350        }
351      },
352      "loc": {
353        "start": {
354          "line": 1,
355          "column": 1,
356          "program": "float_pont_format_2.ets"
357        },
358        "end": {
359          "line": 1,
360          "column": 1,
361          "program": "float_pont_format_2.ets"
362        }
363      }
364    }
365  ],
366  "loc": {
367    "start": {
368      "line": 1,
369      "column": 1,
370      "program": "float_pont_format_2.ets"
371    },
372    "end": {
373      "line": 19,
374      "column": 1,
375      "program": "float_pont_format_2.ets"
376    }
377  }
378}
379