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