• 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_7.ets"
16            },
17            "end": {
18              "line": 1,
19              "column": 1,
20              "program": "float_pont_format_7.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_7.ets"
125              },
126              "end": {
127                "line": 1,
128                "column": 1,
129                "program": "float_pont_format_7.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_7.ets"
144                },
145                "end": {
146                  "line": 16,
147                  "column": 14,
148                  "program": "float_pont_format_7.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_7.ets"
170                    },
171                    "end": {
172                      "line": 16,
173                      "column": 14,
174                      "program": "float_pont_format_7.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_7.ets"
199                              },
200                              "end": {
201                                "line": 17,
202                                "column": 10,
203                                "program": "float_pont_format_7.ets"
204                              }
205                            }
206                          },
207                          "init": {
208                            "type": "BinaryExpression",
209                            "operator": "-",
210                            "left": {
211                              "type": "BinaryExpression",
212                              "operator": "+",
213                              "left": {
214                                "type": "NumberLiteral",
215                                "value": 0.5,
216                                "loc": {
217                                  "start": {
218                                    "line": 17,
219                                    "column": 13,
220                                    "program": "float_pont_format_7.ets"
221                                  },
222                                  "end": {
223                                    "line": 17,
224                                    "column": 15,
225                                    "program": "float_pont_format_7.ets"
226                                  }
227                                }
228                              },
229                              "right": {
230                                "type": "NumberLiteral",
231                                "value": 0.7,
232                                "loc": {
233                                  "start": {
234                                    "line": 17,
235                                    "column": 18,
236                                    "program": "float_pont_format_7.ets"
237                                  },
238                                  "end": {
239                                    "line": 17,
240                                    "column": 20,
241                                    "program": "float_pont_format_7.ets"
242                                  }
243                                }
244                              },
245                              "loc": {
246                                "start": {
247                                  "line": 17,
248                                  "column": 13,
249                                  "program": "float_pont_format_7.ets"
250                                },
251                                "end": {
252                                  "line": 17,
253                                  "column": 20,
254                                  "program": "float_pont_format_7.ets"
255                                }
256                              }
257                            },
258                            "right": {
259                              "type": "BinaryExpression",
260                              "operator": "%",
261                              "left": {
262                                "type": "BinaryExpression",
263                                "operator": "*",
264                                "left": {
265                                  "type": "NumberLiteral",
266                                  "value": 0.4,
267                                  "loc": {
268                                    "start": {
269                                      "line": 17,
270                                      "column": 23,
271                                      "program": "float_pont_format_7.ets"
272                                    },
273                                    "end": {
274                                      "line": 17,
275                                      "column": 25,
276                                      "program": "float_pont_format_7.ets"
277                                    }
278                                  }
279                                },
280                                "right": {
281                                  "type": "BinaryExpression",
282                                  "operator": "/",
283                                  "left": {
284                                    "type": "NumberLiteral",
285                                    "value": 0.2,
286                                    "loc": {
287                                      "start": {
288                                        "line": 17,
289                                        "column": 29,
290                                        "program": "float_pont_format_7.ets"
291                                      },
292                                      "end": {
293                                        "line": 17,
294                                        "column": 31,
295                                        "program": "float_pont_format_7.ets"
296                                      }
297                                    }
298                                  },
299                                  "right": {
300                                    "type": "NumberLiteral",
301                                    "value": 0.1,
302                                    "loc": {
303                                      "start": {
304                                        "line": 17,
305                                        "column": 34,
306                                        "program": "float_pont_format_7.ets"
307                                      },
308                                      "end": {
309                                        "line": 17,
310                                        "column": 36,
311                                        "program": "float_pont_format_7.ets"
312                                      }
313                                    }
314                                  },
315                                  "loc": {
316                                    "start": {
317                                      "line": 17,
318                                      "column": 28,
319                                      "program": "float_pont_format_7.ets"
320                                    },
321                                    "end": {
322                                      "line": 17,
323                                      "column": 37,
324                                      "program": "float_pont_format_7.ets"
325                                    }
326                                  }
327                                },
328                                "loc": {
329                                  "start": {
330                                    "line": 17,
331                                    "column": 23,
332                                    "program": "float_pont_format_7.ets"
333                                  },
334                                  "end": {
335                                    "line": 17,
336                                    "column": 37,
337                                    "program": "float_pont_format_7.ets"
338                                  }
339                                }
340                              },
341                              "right": {
342                                "type": "NumberLiteral",
343                                "value": 0.2,
344                                "loc": {
345                                  "start": {
346                                    "line": 17,
347                                    "column": 40,
348                                    "program": "float_pont_format_7.ets"
349                                  },
350                                  "end": {
351                                    "line": 17,
352                                    "column": 42,
353                                    "program": "float_pont_format_7.ets"
354                                  }
355                                }
356                              },
357                              "loc": {
358                                "start": {
359                                  "line": 17,
360                                  "column": 23,
361                                  "program": "float_pont_format_7.ets"
362                                },
363                                "end": {
364                                  "line": 17,
365                                  "column": 42,
366                                  "program": "float_pont_format_7.ets"
367                                }
368                              }
369                            },
370                            "loc": {
371                              "start": {
372                                "line": 17,
373                                "column": 13,
374                                "program": "float_pont_format_7.ets"
375                              },
376                              "end": {
377                                "line": 17,
378                                "column": 42,
379                                "program": "float_pont_format_7.ets"
380                              }
381                            }
382                          },
383                          "loc": {
384                            "start": {
385                              "line": 17,
386                              "column": 9,
387                              "program": "float_pont_format_7.ets"
388                            },
389                            "end": {
390                              "line": 17,
391                              "column": 42,
392                              "program": "float_pont_format_7.ets"
393                            }
394                          }
395                        }
396                      ],
397                      "kind": "let",
398                      "loc": {
399                        "start": {
400                          "line": 17,
401                          "column": 5,
402                          "program": "float_pont_format_7.ets"
403                        },
404                        "end": {
405                          "line": 17,
406                          "column": 42,
407                          "program": "float_pont_format_7.ets"
408                        }
409                      }
410                    }
411                  ],
412                  "loc": {
413                    "start": {
414                      "line": 16,
415                      "column": 17,
416                      "program": "float_pont_format_7.ets"
417                    },
418                    "end": {
419                      "line": 18,
420                      "column": 2,
421                      "program": "float_pont_format_7.ets"
422                    }
423                  }
424                },
425                "loc": {
426                  "start": {
427                    "line": 16,
428                    "column": 10,
429                    "program": "float_pont_format_7.ets"
430                  },
431                  "end": {
432                    "line": 18,
433                    "column": 2,
434                    "program": "float_pont_format_7.ets"
435                  }
436                }
437              },
438              "loc": {
439                "start": {
440                  "line": 16,
441                  "column": 10,
442                  "program": "float_pont_format_7.ets"
443                },
444                "end": {
445                  "line": 18,
446                  "column": 2,
447                  "program": "float_pont_format_7.ets"
448                }
449              }
450            },
451            "overloads": [],
452            "decorators": [],
453            "loc": {
454              "start": {
455                "line": 16,
456                "column": 1,
457                "program": "float_pont_format_7.ets"
458              },
459              "end": {
460                "line": 18,
461                "column": 2,
462                "program": "float_pont_format_7.ets"
463              }
464            }
465          }
466        ],
467        "loc": {
468          "start": {
469            "line": 1,
470            "column": 1,
471            "program": "float_pont_format_7.ets"
472          },
473          "end": {
474            "line": 1,
475            "column": 1,
476            "program": "float_pont_format_7.ets"
477          }
478        }
479      },
480      "loc": {
481        "start": {
482          "line": 1,
483          "column": 1,
484          "program": "float_pont_format_7.ets"
485        },
486        "end": {
487          "line": 1,
488          "column": 1,
489          "program": "float_pont_format_7.ets"
490        }
491      }
492    }
493  ],
494  "loc": {
495    "start": {
496      "line": 1,
497      "column": 1,
498      "program": "float_pont_format_7.ets"
499    },
500    "end": {
501      "line": 19,
502      "column": 1,
503      "program": "float_pont_format_7.ets"
504    }
505  }
506}
507