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