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