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": "MethodDefinition",
121            "key": {
122              "type": "Identifier",
123              "name": "main",
124              "decorators": [],
125              "loc": {
126                "start": {
127                  "line": 16,
128                  "column": 10
129                },
130                "end": {
131                  "line": 16,
132                  "column": 14
133                }
134              }
135            },
136            "kind": "method",
137            "accessibility": "public",
138            "static": true,
139            "optional": false,
140            "computed": false,
141            "value": {
142              "type": "FunctionExpression",
143              "function": {
144                "type": "ScriptFunction",
145                "id": {
146                  "type": "Identifier",
147                  "name": "main",
148                  "decorators": [],
149                  "loc": {
150                    "start": {
151                      "line": 16,
152                      "column": 10
153                    },
154                    "end": {
155                      "line": 16,
156                      "column": 14
157                    }
158                  }
159                },
160                "generator": false,
161                "async": false,
162                "expression": false,
163                "params": [],
164                "returnType": {
165                  "type": "ETSPrimitiveType",
166                  "loc": {
167                    "start": {
168                      "line": 16,
169                      "column": 18
170                    },
171                    "end": {
172                      "line": 16,
173                      "column": 22
174                    }
175                  }
176                },
177                "body": {
178                  "type": "BlockStatement",
179                  "statements": [
180                    {
181                      "type": "VariableDeclaration",
182                      "declarations": [
183                        {
184                          "type": "VariableDeclarator",
185                          "id": {
186                            "type": "Identifier",
187                            "name": "x",
188                            "typeAnnotation": {
189                              "type": "ETSTypeReference",
190                              "part": {
191                                "type": "ETSTypeReferencePart",
192                                "name": {
193                                  "type": "Identifier",
194                                  "name": "Boolean",
195                                  "decorators": [],
196                                  "loc": {
197                                    "start": {
198                                      "line": 17,
199                                      "column": 10
200                                    },
201                                    "end": {
202                                      "line": 17,
203                                      "column": 17
204                                    }
205                                  }
206                                },
207                                "loc": {
208                                  "start": {
209                                    "line": 17,
210                                    "column": 10
211                                  },
212                                  "end": {
213                                    "line": 17,
214                                    "column": 19
215                                  }
216                                }
217                              },
218                              "loc": {
219                                "start": {
220                                  "line": 17,
221                                  "column": 10
222                                },
223                                "end": {
224                                  "line": 17,
225                                  "column": 19
226                                }
227                              }
228                            },
229                            "decorators": [],
230                            "loc": {
231                              "start": {
232                                "line": 17,
233                                "column": 7
234                              },
235                              "end": {
236                                "line": 17,
237                                "column": 8
238                              }
239                            }
240                          },
241                          "init": {
242                            "type": "BooleanLiteral",
243                            "value": true,
244                            "loc": {
245                              "start": {
246                                "line": 17,
247                                "column": 20
248                              },
249                              "end": {
250                                "line": 17,
251                                "column": 24
252                              }
253                            }
254                          },
255                          "loc": {
256                            "start": {
257                              "line": 17,
258                              "column": 7
259                            },
260                            "end": {
261                              "line": 17,
262                              "column": 24
263                            }
264                          }
265                        }
266                      ],
267                      "kind": "let",
268                      "loc": {
269                        "start": {
270                          "line": 17,
271                          "column": 3
272                        },
273                        "end": {
274                          "line": 17,
275                          "column": 25
276                        }
277                      }
278                    },
279                    {
280                      "type": "VariableDeclaration",
281                      "declarations": [
282                        {
283                          "type": "VariableDeclarator",
284                          "id": {
285                            "type": "Identifier",
286                            "name": "y",
287                            "typeAnnotation": {
288                              "type": "ETSTypeReference",
289                              "part": {
290                                "type": "ETSTypeReferencePart",
291                                "name": {
292                                  "type": "Identifier",
293                                  "name": "Boolean",
294                                  "decorators": [],
295                                  "loc": {
296                                    "start": {
297                                      "line": 18,
298                                      "column": 10
299                                    },
300                                    "end": {
301                                      "line": 18,
302                                      "column": 17
303                                    }
304                                  }
305                                },
306                                "loc": {
307                                  "start": {
308                                    "line": 18,
309                                    "column": 10
310                                  },
311                                  "end": {
312                                    "line": 18,
313                                    "column": 19
314                                  }
315                                }
316                              },
317                              "loc": {
318                                "start": {
319                                  "line": 18,
320                                  "column": 10
321                                },
322                                "end": {
323                                  "line": 18,
324                                  "column": 19
325                                }
326                              }
327                            },
328                            "decorators": [],
329                            "loc": {
330                              "start": {
331                                "line": 18,
332                                "column": 7
333                              },
334                              "end": {
335                                "line": 18,
336                                "column": 8
337                              }
338                            }
339                          },
340                          "init": {
341                            "type": "BooleanLiteral",
342                            "value": false,
343                            "loc": {
344                              "start": {
345                                "line": 18,
346                                "column": 20
347                              },
348                              "end": {
349                                "line": 18,
350                                "column": 25
351                              }
352                            }
353                          },
354                          "loc": {
355                            "start": {
356                              "line": 18,
357                              "column": 7
358                            },
359                            "end": {
360                              "line": 18,
361                              "column": 25
362                            }
363                          }
364                        }
365                      ],
366                      "kind": "let",
367                      "loc": {
368                        "start": {
369                          "line": 18,
370                          "column": 3
371                        },
372                        "end": {
373                          "line": 18,
374                          "column": 26
375                        }
376                      }
377                    },
378                    {
379                      "type": "VariableDeclaration",
380                      "declarations": [
381                        {
382                          "type": "VariableDeclarator",
383                          "id": {
384                            "type": "Identifier",
385                            "name": "dest",
386                            "typeAnnotation": {
387                              "type": "ETSTypeReference",
388                              "part": {
389                                "type": "ETSTypeReferencePart",
390                                "name": {
391                                  "type": "Identifier",
392                                  "name": "Boolean",
393                                  "decorators": [],
394                                  "loc": {
395                                    "start": {
396                                      "line": 19,
397                                      "column": 13
398                                    },
399                                    "end": {
400                                      "line": 19,
401                                      "column": 20
402                                    }
403                                  }
404                                },
405                                "loc": {
406                                  "start": {
407                                    "line": 19,
408                                    "column": 13
409                                  },
410                                  "end": {
411                                    "line": 19,
412                                    "column": 22
413                                  }
414                                }
415                              },
416                              "loc": {
417                                "start": {
418                                  "line": 19,
419                                  "column": 13
420                                },
421                                "end": {
422                                  "line": 19,
423                                  "column": 22
424                                }
425                              }
426                            },
427                            "decorators": [],
428                            "loc": {
429                              "start": {
430                                "line": 19,
431                                "column": 7
432                              },
433                              "end": {
434                                "line": 19,
435                                "column": 11
436                              }
437                            }
438                          },
439                          "init": {
440                            "type": "BinaryExpression",
441                            "operator": "|",
442                            "left": {
443                              "type": "Identifier",
444                              "name": "x",
445                              "decorators": [],
446                              "loc": {
447                                "start": {
448                                  "line": 19,
449                                  "column": 23
450                                },
451                                "end": {
452                                  "line": 19,
453                                  "column": 24
454                                }
455                              }
456                            },
457                            "right": {
458                              "type": "Identifier",
459                              "name": "y",
460                              "decorators": [],
461                              "loc": {
462                                "start": {
463                                  "line": 19,
464                                  "column": 27
465                                },
466                                "end": {
467                                  "line": 19,
468                                  "column": 28
469                                }
470                              }
471                            },
472                            "loc": {
473                              "start": {
474                                "line": 19,
475                                "column": 23
476                              },
477                              "end": {
478                                "line": 19,
479                                "column": 28
480                              }
481                            }
482                          },
483                          "loc": {
484                            "start": {
485                              "line": 19,
486                              "column": 7
487                            },
488                            "end": {
489                              "line": 19,
490                              "column": 28
491                            }
492                          }
493                        }
494                      ],
495                      "kind": "let",
496                      "loc": {
497                        "start": {
498                          "line": 19,
499                          "column": 3
500                        },
501                        "end": {
502                          "line": 19,
503                          "column": 29
504                        }
505                      }
506                    }
507                  ],
508                  "loc": {
509                    "start": {
510                      "line": 16,
511                      "column": 23
512                    },
513                    "end": {
514                      "line": 20,
515                      "column": 2
516                    }
517                  }
518                },
519                "loc": {
520                  "start": {
521                    "line": 16,
522                    "column": 14
523                  },
524                  "end": {
525                    "line": 20,
526                    "column": 2
527                  }
528                }
529              },
530              "loc": {
531                "start": {
532                  "line": 16,
533                  "column": 14
534                },
535                "end": {
536                  "line": 20,
537                  "column": 2
538                }
539              }
540            },
541            "overloads": [],
542            "decorators": [],
543            "loc": {
544              "start": {
545                "line": 16,
546                "column": 1
547              },
548              "end": {
549                "line": 20,
550                "column": 2
551              }
552            }
553          }
554        ],
555        "loc": {
556          "start": {
557            "line": 1,
558            "column": 1
559          },
560          "end": {
561            "line": 1,
562            "column": 1
563          }
564        }
565      },
566      "loc": {
567        "start": {
568          "line": 1,
569          "column": 1
570        },
571        "end": {
572          "line": 1,
573          "column": 1
574        }
575      }
576    }
577  ],
578  "loc": {
579    "start": {
580      "line": 1,
581      "column": 1
582    },
583    "end": {
584      "line": 20,
585      "column": 2
586    }
587  }
588}
589