• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "ImportDeclaration",
6      "source": {
7        "type": "StringLiteral",
8        "value": "std/math",
9        "loc": {
10          "start": {
11            "line": 16,
12            "column": 22,
13            "program": "from-soft-keyword-0.ets"
14          },
15          "end": {
16            "line": 16,
17            "column": 32,
18            "program": "from-soft-keyword-0.ets"
19          }
20        }
21      },
22      "specifiers": [
23        {
24          "type": "ImportNamespaceSpecifier",
25          "local": {
26            "type": "Identifier",
27            "name": "all",
28            "decorators": [],
29            "loc": {
30              "start": {
31                "line": 16,
32                "column": 13,
33                "program": "from-soft-keyword-0.ets"
34              },
35              "end": {
36                "line": 16,
37                "column": 16,
38                "program": "from-soft-keyword-0.ets"
39              }
40            }
41          },
42          "loc": {
43            "start": {
44              "line": 16,
45              "column": 8,
46              "program": "from-soft-keyword-0.ets"
47            },
48            "end": {
49              "line": 16,
50              "column": 16,
51              "program": "from-soft-keyword-0.ets"
52            }
53          }
54        }
55      ],
56      "loc": {
57        "start": {
58          "line": 16,
59          "column": 1,
60          "program": "from-soft-keyword-0.ets"
61        },
62        "end": {
63          "line": 16,
64          "column": 33,
65          "program": "from-soft-keyword-0.ets"
66        }
67      }
68    },
69    {
70      "type": "ClassDeclaration",
71      "definition": {
72        "id": {
73          "type": "Identifier",
74          "name": "from",
75          "decorators": [],
76          "loc": {
77            "start": {
78              "line": 18,
79              "column": 7,
80              "program": "from-soft-keyword-0.ets"
81            },
82            "end": {
83              "line": 18,
84              "column": 11,
85              "program": "from-soft-keyword-0.ets"
86            }
87          }
88        },
89        "superClass": null,
90        "implements": [],
91        "body": [
92          {
93            "type": "ClassProperty",
94            "key": {
95              "type": "Identifier",
96              "name": "from",
97              "decorators": [],
98              "loc": {
99                "start": {
100                  "line": 19,
101                  "column": 5,
102                  "program": "from-soft-keyword-0.ets"
103                },
104                "end": {
105                  "line": 19,
106                  "column": 9,
107                  "program": "from-soft-keyword-0.ets"
108                }
109              }
110            },
111            "accessibility": "public",
112            "static": false,
113            "readonly": false,
114            "declare": false,
115            "optional": false,
116            "computed": false,
117            "typeAnnotation": {
118              "type": "ETSPrimitiveType",
119              "loc": {
120                "start": {
121                  "line": 19,
122                  "column": 11,
123                  "program": "from-soft-keyword-0.ets"
124                },
125                "end": {
126                  "line": 19,
127                  "column": 14,
128                  "program": "from-soft-keyword-0.ets"
129                }
130              }
131            },
132            "definite": false,
133            "decorators": [],
134            "loc": {
135              "start": {
136                "line": 19,
137                "column": 5,
138                "program": "from-soft-keyword-0.ets"
139              },
140              "end": {
141                "line": 19,
142                "column": 14,
143                "program": "from-soft-keyword-0.ets"
144              }
145            }
146          },
147          {
148            "type": "MethodDefinition",
149            "key": {
150              "type": "Identifier",
151              "name": "constructor",
152              "decorators": [],
153              "loc": {
154                "start": {
155                  "line": 18,
156                  "column": 13,
157                  "program": "from-soft-keyword-0.ets"
158                },
159                "end": {
160                  "line": 18,
161                  "column": 13,
162                  "program": "from-soft-keyword-0.ets"
163                }
164              }
165            },
166            "kind": "constructor",
167            "static": false,
168            "optional": false,
169            "computed": false,
170            "value": {
171              "type": "FunctionExpression",
172              "function": {
173                "type": "ScriptFunction",
174                "id": {
175                  "type": "Identifier",
176                  "name": "constructor",
177                  "decorators": [],
178                  "loc": {
179                    "start": {
180                      "line": 18,
181                      "column": 13,
182                      "program": "from-soft-keyword-0.ets"
183                    },
184                    "end": {
185                      "line": 18,
186                      "column": 13,
187                      "program": "from-soft-keyword-0.ets"
188                    }
189                  }
190                },
191                "generator": false,
192                "async": false,
193                "expression": false,
194                "params": [],
195                "body": {
196                  "type": "BlockStatement",
197                  "statements": [],
198                  "loc": {
199                    "start": {
200                      "line": 18,
201                      "column": 13,
202                      "program": "from-soft-keyword-0.ets"
203                    },
204                    "end": {
205                      "line": 18,
206                      "column": 13,
207                      "program": "from-soft-keyword-0.ets"
208                    }
209                  }
210                },
211                "loc": {
212                  "start": {
213                    "line": 18,
214                    "column": 13,
215                    "program": "from-soft-keyword-0.ets"
216                  },
217                  "end": {
218                    "line": 18,
219                    "column": 13,
220                    "program": "from-soft-keyword-0.ets"
221                  }
222                }
223              },
224              "loc": {
225                "start": {
226                  "line": 18,
227                  "column": 13,
228                  "program": "from-soft-keyword-0.ets"
229                },
230                "end": {
231                  "line": 18,
232                  "column": 13,
233                  "program": "from-soft-keyword-0.ets"
234                }
235              }
236            },
237            "overloads": [],
238            "decorators": [],
239            "loc": {
240              "start": {
241                "line": 1,
242                "column": 1,
243                "program": null
244              },
245              "end": {
246                "line": 1,
247                "column": 1,
248                "program": null
249              }
250            }
251          }
252        ],
253        "loc": {
254          "start": {
255            "line": 18,
256            "column": 12,
257            "program": "from-soft-keyword-0.ets"
258          },
259          "end": {
260            "line": 22,
261            "column": 6,
262            "program": "from-soft-keyword-0.ets"
263          }
264        }
265      },
266      "loc": {
267        "start": {
268          "line": 18,
269          "column": 1,
270          "program": "from-soft-keyword-0.ets"
271        },
272        "end": {
273          "line": 22,
274          "column": 6,
275          "program": "from-soft-keyword-0.ets"
276        }
277      }
278    },
279    {
280      "type": "ClassDeclaration",
281      "definition": {
282        "id": {
283          "type": "Identifier",
284          "name": "cls",
285          "decorators": [],
286          "loc": {
287            "start": {
288              "line": 22,
289              "column": 7,
290              "program": "from-soft-keyword-0.ets"
291            },
292            "end": {
293              "line": 22,
294              "column": 10,
295              "program": "from-soft-keyword-0.ets"
296            }
297          }
298        },
299        "superClass": null,
300        "implements": [],
301        "body": [
302          {
303            "type": "MethodDefinition",
304            "key": {
305              "type": "Identifier",
306              "name": "from",
307              "decorators": [],
308              "loc": {
309                "start": {
310                  "line": 23,
311                  "column": 5,
312                  "program": "from-soft-keyword-0.ets"
313                },
314                "end": {
315                  "line": 23,
316                  "column": 9,
317                  "program": "from-soft-keyword-0.ets"
318                }
319              }
320            },
321            "kind": "method",
322            "accessibility": "public",
323            "static": false,
324            "optional": false,
325            "computed": false,
326            "value": {
327              "type": "FunctionExpression",
328              "function": {
329                "type": "ScriptFunction",
330                "id": {
331                  "type": "Identifier",
332                  "name": "from",
333                  "decorators": [],
334                  "loc": {
335                    "start": {
336                      "line": 23,
337                      "column": 5,
338                      "program": "from-soft-keyword-0.ets"
339                    },
340                    "end": {
341                      "line": 23,
342                      "column": 9,
343                      "program": "from-soft-keyword-0.ets"
344                    }
345                  }
346                },
347                "generator": false,
348                "async": false,
349                "expression": false,
350                "params": [],
351                "returnType": {
352                  "type": "ETSPrimitiveType",
353                  "loc": {
354                    "start": {
355                      "line": 23,
356                      "column": 13,
357                      "program": "from-soft-keyword-0.ets"
358                    },
359                    "end": {
360                      "line": 23,
361                      "column": 17,
362                      "program": "from-soft-keyword-0.ets"
363                    }
364                  }
365                },
366                "body": {
367                  "type": "BlockStatement",
368                  "statements": [],
369                  "loc": {
370                    "start": {
371                      "line": 23,
372                      "column": 18,
373                      "program": "from-soft-keyword-0.ets"
374                    },
375                    "end": {
376                      "line": 23,
377                      "column": 20,
378                      "program": "from-soft-keyword-0.ets"
379                    }
380                  }
381                },
382                "loc": {
383                  "start": {
384                    "line": 23,
385                    "column": 9,
386                    "program": "from-soft-keyword-0.ets"
387                  },
388                  "end": {
389                    "line": 23,
390                    "column": 20,
391                    "program": "from-soft-keyword-0.ets"
392                  }
393                }
394              },
395              "loc": {
396                "start": {
397                  "line": 23,
398                  "column": 9,
399                  "program": "from-soft-keyword-0.ets"
400                },
401                "end": {
402                  "line": 23,
403                  "column": 20,
404                  "program": "from-soft-keyword-0.ets"
405                }
406              }
407            },
408            "overloads": [],
409            "decorators": [],
410            "loc": {
411              "start": {
412                "line": 23,
413                "column": 5,
414                "program": "from-soft-keyword-0.ets"
415              },
416              "end": {
417                "line": 23,
418                "column": 20,
419                "program": "from-soft-keyword-0.ets"
420              }
421            }
422          },
423          {
424            "type": "MethodDefinition",
425            "key": {
426              "type": "Identifier",
427              "name": "constructor",
428              "decorators": [],
429              "loc": {
430                "start": {
431                  "line": 22,
432                  "column": 12,
433                  "program": "from-soft-keyword-0.ets"
434                },
435                "end": {
436                  "line": 22,
437                  "column": 12,
438                  "program": "from-soft-keyword-0.ets"
439                }
440              }
441            },
442            "kind": "constructor",
443            "static": false,
444            "optional": false,
445            "computed": false,
446            "value": {
447              "type": "FunctionExpression",
448              "function": {
449                "type": "ScriptFunction",
450                "id": {
451                  "type": "Identifier",
452                  "name": "constructor",
453                  "decorators": [],
454                  "loc": {
455                    "start": {
456                      "line": 22,
457                      "column": 12,
458                      "program": "from-soft-keyword-0.ets"
459                    },
460                    "end": {
461                      "line": 22,
462                      "column": 12,
463                      "program": "from-soft-keyword-0.ets"
464                    }
465                  }
466                },
467                "generator": false,
468                "async": false,
469                "expression": false,
470                "params": [],
471                "body": {
472                  "type": "BlockStatement",
473                  "statements": [],
474                  "loc": {
475                    "start": {
476                      "line": 22,
477                      "column": 12,
478                      "program": "from-soft-keyword-0.ets"
479                    },
480                    "end": {
481                      "line": 22,
482                      "column": 12,
483                      "program": "from-soft-keyword-0.ets"
484                    }
485                  }
486                },
487                "loc": {
488                  "start": {
489                    "line": 22,
490                    "column": 12,
491                    "program": "from-soft-keyword-0.ets"
492                  },
493                  "end": {
494                    "line": 22,
495                    "column": 12,
496                    "program": "from-soft-keyword-0.ets"
497                  }
498                }
499              },
500              "loc": {
501                "start": {
502                  "line": 22,
503                  "column": 12,
504                  "program": "from-soft-keyword-0.ets"
505                },
506                "end": {
507                  "line": 22,
508                  "column": 12,
509                  "program": "from-soft-keyword-0.ets"
510                }
511              }
512            },
513            "overloads": [],
514            "decorators": [],
515            "loc": {
516              "start": {
517                "line": 1,
518                "column": 1,
519                "program": null
520              },
521              "end": {
522                "line": 1,
523                "column": 1,
524                "program": null
525              }
526            }
527          }
528        ],
529        "loc": {
530          "start": {
531            "line": 22,
532            "column": 11,
533            "program": "from-soft-keyword-0.ets"
534          },
535          "end": {
536            "line": 26,
537            "column": 9,
538            "program": "from-soft-keyword-0.ets"
539          }
540        }
541      },
542      "loc": {
543        "start": {
544          "line": 22,
545          "column": 1,
546          "program": "from-soft-keyword-0.ets"
547        },
548        "end": {
549          "line": 26,
550          "column": 9,
551          "program": "from-soft-keyword-0.ets"
552        }
553      }
554    },
555    {
556      "type": "ClassDeclaration",
557      "definition": {
558        "id": {
559          "type": "Identifier",
560          "name": "ETSGLOBAL",
561          "decorators": [],
562          "loc": {
563            "start": {
564              "line": 1,
565              "column": 1,
566              "program": "from-soft-keyword-0.ets"
567            },
568            "end": {
569              "line": 1,
570              "column": 1,
571              "program": "from-soft-keyword-0.ets"
572            }
573          }
574        },
575        "superClass": null,
576        "implements": [],
577        "body": [
578          {
579            "type": "MethodDefinition",
580            "key": {
581              "type": "Identifier",
582              "name": "_$init$_",
583              "decorators": [],
584              "loc": {
585                "start": {
586                  "line": 1,
587                  "column": 1,
588                  "program": null
589                },
590                "end": {
591                  "line": 1,
592                  "column": 1,
593                  "program": null
594                }
595              }
596            },
597            "kind": "method",
598            "accessibility": "public",
599            "static": true,
600            "optional": false,
601            "computed": false,
602            "value": {
603              "type": "FunctionExpression",
604              "function": {
605                "type": "ScriptFunction",
606                "id": {
607                  "type": "Identifier",
608                  "name": "_$init$_",
609                  "decorators": [],
610                  "loc": {
611                    "start": {
612                      "line": 1,
613                      "column": 1,
614                      "program": null
615                    },
616                    "end": {
617                      "line": 1,
618                      "column": 1,
619                      "program": null
620                    }
621                  }
622                },
623                "generator": false,
624                "async": false,
625                "expression": false,
626                "params": [],
627                "body": {
628                  "type": "BlockStatement",
629                  "statements": [],
630                  "loc": {
631                    "start": {
632                      "line": 1,
633                      "column": 1,
634                      "program": null
635                    },
636                    "end": {
637                      "line": 1,
638                      "column": 1,
639                      "program": null
640                    }
641                  }
642                },
643                "loc": {
644                  "start": {
645                    "line": 1,
646                    "column": 1,
647                    "program": null
648                  },
649                  "end": {
650                    "line": 1,
651                    "column": 1,
652                    "program": null
653                  }
654                }
655              },
656              "loc": {
657                "start": {
658                  "line": 1,
659                  "column": 1,
660                  "program": null
661                },
662                "end": {
663                  "line": 1,
664                  "column": 1,
665                  "program": null
666                }
667              }
668            },
669            "overloads": [],
670            "decorators": [],
671            "loc": {
672              "start": {
673                "line": 1,
674                "column": 1,
675                "program": "from-soft-keyword-0.ets"
676              },
677              "end": {
678                "line": 1,
679                "column": 1,
680                "program": "from-soft-keyword-0.ets"
681              }
682            }
683          },
684          {
685            "type": "MethodDefinition",
686            "key": {
687              "type": "Identifier",
688              "name": "main",
689              "decorators": [],
690              "loc": {
691                "start": {
692                  "line": 26,
693                  "column": 10,
694                  "program": "from-soft-keyword-0.ets"
695                },
696                "end": {
697                  "line": 26,
698                  "column": 14,
699                  "program": "from-soft-keyword-0.ets"
700                }
701              }
702            },
703            "kind": "method",
704            "accessibility": "public",
705            "static": true,
706            "optional": false,
707            "computed": false,
708            "value": {
709              "type": "FunctionExpression",
710              "function": {
711                "type": "ScriptFunction",
712                "id": {
713                  "type": "Identifier",
714                  "name": "main",
715                  "decorators": [],
716                  "loc": {
717                    "start": {
718                      "line": 26,
719                      "column": 10,
720                      "program": "from-soft-keyword-0.ets"
721                    },
722                    "end": {
723                      "line": 26,
724                      "column": 14,
725                      "program": "from-soft-keyword-0.ets"
726                    }
727                  }
728                },
729                "generator": false,
730                "async": false,
731                "expression": false,
732                "params": [],
733                "returnType": {
734                  "type": "ETSPrimitiveType",
735                  "loc": {
736                    "start": {
737                      "line": 26,
738                      "column": 18,
739                      "program": "from-soft-keyword-0.ets"
740                    },
741                    "end": {
742                      "line": 26,
743                      "column": 22,
744                      "program": "from-soft-keyword-0.ets"
745                    }
746                  }
747                },
748                "body": {
749                  "type": "BlockStatement",
750                  "statements": [
751                    {
752                      "type": "VariableDeclaration",
753                      "declarations": [
754                        {
755                          "type": "VariableDeclarator",
756                          "id": {
757                            "type": "Identifier",
758                            "name": "from",
759                            "typeAnnotation": {
760                              "type": "ETSPrimitiveType",
761                              "loc": {
762                                "start": {
763                                  "line": 27,
764                                  "column": 15,
765                                  "program": "from-soft-keyword-0.ets"
766                                },
767                                "end": {
768                                  "line": 27,
769                                  "column": 18,
770                                  "program": "from-soft-keyword-0.ets"
771                                }
772                              }
773                            },
774                            "decorators": [],
775                            "loc": {
776                              "start": {
777                                "line": 27,
778                                "column": 9,
779                                "program": "from-soft-keyword-0.ets"
780                              },
781                              "end": {
782                                "line": 27,
783                                "column": 13,
784                                "program": "from-soft-keyword-0.ets"
785                              }
786                            }
787                          },
788                          "init": {
789                            "type": "NumberLiteral",
790                            "value": 84,
791                            "loc": {
792                              "start": {
793                                "line": 27,
794                                "column": 21,
795                                "program": "from-soft-keyword-0.ets"
796                              },
797                              "end": {
798                                "line": 27,
799                                "column": 23,
800                                "program": "from-soft-keyword-0.ets"
801                              }
802                            }
803                          },
804                          "loc": {
805                            "start": {
806                              "line": 27,
807                              "column": 9,
808                              "program": "from-soft-keyword-0.ets"
809                            },
810                            "end": {
811                              "line": 27,
812                              "column": 23,
813                              "program": "from-soft-keyword-0.ets"
814                            }
815                          }
816                        }
817                      ],
818                      "kind": "let",
819                      "loc": {
820                        "start": {
821                          "line": 27,
822                          "column": 5,
823                          "program": "from-soft-keyword-0.ets"
824                        },
825                        "end": {
826                          "line": 27,
827                          "column": 24,
828                          "program": "from-soft-keyword-0.ets"
829                        }
830                      }
831                    }
832                  ],
833                  "loc": {
834                    "start": {
835                      "line": 26,
836                      "column": 23,
837                      "program": "from-soft-keyword-0.ets"
838                    },
839                    "end": {
840                      "line": 28,
841                      "column": 2,
842                      "program": "from-soft-keyword-0.ets"
843                    }
844                  }
845                },
846                "loc": {
847                  "start": {
848                    "line": 26,
849                    "column": 10,
850                    "program": "from-soft-keyword-0.ets"
851                  },
852                  "end": {
853                    "line": 28,
854                    "column": 2,
855                    "program": "from-soft-keyword-0.ets"
856                  }
857                }
858              },
859              "loc": {
860                "start": {
861                  "line": 26,
862                  "column": 10,
863                  "program": "from-soft-keyword-0.ets"
864                },
865                "end": {
866                  "line": 28,
867                  "column": 2,
868                  "program": "from-soft-keyword-0.ets"
869                }
870              }
871            },
872            "overloads": [],
873            "decorators": [],
874            "loc": {
875              "start": {
876                "line": 26,
877                "column": 1,
878                "program": "from-soft-keyword-0.ets"
879              },
880              "end": {
881                "line": 28,
882                "column": 2,
883                "program": "from-soft-keyword-0.ets"
884              }
885            }
886          }
887        ],
888        "loc": {
889          "start": {
890            "line": 1,
891            "column": 1,
892            "program": "from-soft-keyword-0.ets"
893          },
894          "end": {
895            "line": 1,
896            "column": 1,
897            "program": "from-soft-keyword-0.ets"
898          }
899        }
900      },
901      "loc": {
902        "start": {
903          "line": 1,
904          "column": 1,
905          "program": "from-soft-keyword-0.ets"
906        },
907        "end": {
908          "line": 1,
909          "column": 1,
910          "program": "from-soft-keyword-0.ets"
911        }
912      }
913    }
914  ],
915  "loc": {
916    "start": {
917      "line": 1,
918      "column": 1,
919      "program": "from-soft-keyword-0.ets"
920    },
921    "end": {
922      "line": 29,
923      "column": 1,
924      "program": "from-soft-keyword-0.ets"
925    }
926  }
927}
928