• 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                  "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": "lambda",
124              "decorators": [],
125              "loc": {
126                "start": {
127                  "line": 16,
128                  "column": 5
129                },
130                "end": {
131                  "line": 16,
132                  "column": 11
133                }
134              }
135            },
136            "value": {
137              "type": "ArrowFunctionExpression",
138              "function": {
139                "type": "ScriptFunction",
140                "id": null,
141                "generator": false,
142                "async": false,
143                "expression": false,
144                "params": [],
145                "returnType": {
146                  "type": "ETSPrimitiveType",
147                  "loc": {
148                    "start": {
149                      "line": 16,
150                      "column": 37
151                    },
152                    "end": {
153                      "line": 16,
154                      "column": 41
155                    }
156                  }
157                },
158                "body": {
159                  "type": "BlockStatement",
160                  "statements": [],
161                  "loc": {
162                    "start": {
163                      "line": 16,
164                      "column": 52
165                    },
166                    "end": {
167                      "line": 16,
168                      "column": 54
169                    }
170                  }
171                }
172                "throwMarker": "throws",
173                "loc": {
174                  "start": {
175                    "line": 16,
176                    "column": 33
177                  },
178                  "end": {
179                    "line": 16,
180                    "column": 54
181                  }
182                }
183              },
184              "loc": {
185                "start": {
186                  "line": 16,
187                  "column": 33
188                },
189                "end": {
190                  "line": 16,
191                  "column": 54
192                }
193              }
194            },
195            "accessibility": "public",
196            "static": true,
197            "readonly": false,
198            "declare": false,
199            "optional": false,
200            "computed": false,
201            "typeAnnotation": {
202              "type": "ETSFunctionType",
203              "params": [],
204              "returnType": {
205                "type": "ETSPrimitiveType",
206                "loc": {
207                  "start": {
208                    "line": 16,
209                    "column": 19
210                  },
211                  "end": {
212                    "line": 16,
213                    "column": 23
214                  }
215                }
216              }
217              "throwMarker": "throws",
218              "loc": {
219                "start": {
220                  "line": 16,
221                  "column": 13
222                },
223                "end": {
224                  "line": 16,
225                  "column": 23
226                }
227              }
228            },
229            "definite": false,
230            "decorators": [],
231            "loc": {
232              "start": {
233                "line": 16,
234                "column": 5
235              },
236              "end": {
237                "line": 16,
238                "column": 54
239              }
240            }
241          },
242          {
243            "type": "ClassProperty",
244            "key": {
245              "type": "Identifier",
246              "name": "lambda2",
247              "decorators": [],
248              "loc": {
249                "start": {
250                  "line": 18,
251                  "column": 5
252                },
253                "end": {
254                  "line": 18,
255                  "column": 12
256                }
257              }
258            },
259            "value": {
260              "type": "ArrowFunctionExpression",
261              "function": {
262                "type": "ScriptFunction",
263                "id": null,
264                "generator": false,
265                "async": false,
266                "expression": false,
267                "params": [
268                  {
269                    "type": "ETSParameterExpression",
270                    "name": {
271                      "type": "Identifier",
272                      "name": "param",
273                      "typeAnnotation": {
274                        "type": "ETSFunctionType",
275                        "params": [
276                          {
277                            "type": "ETSParameterExpression",
278                            "name": {
279                              "type": "Identifier",
280                              "name": "c",
281                              "typeAnnotation": {
282                                "type": "ETSPrimitiveType",
283                                "loc": {
284                                  "start": {
285                                    "line": 18,
286                                    "column": 84
287                                  },
288                                  "end": {
289                                    "line": 18,
290                                    "column": 87
291                                  }
292                                }
293                              },
294                              "decorators": [],
295                              "loc": {
296                                "start": {
297                                  "line": 18,
298                                  "column": 81
299                                },
300                                "end": {
301                                  "line": 18,
302                                  "column": 87
303                                }
304                              }
305                            },
306                            "loc": {
307                              "start": {
308                                "line": 18,
309                                "column": 81
310                              },
311                              "end": {
312                                "line": 18,
313                                "column": 87
314                              }
315                            }
316                          },
317                          {
318                            "type": "ETSParameterExpression",
319                            "name": {
320                              "type": "Identifier",
321                              "name": "b",
322                              "typeAnnotation": {
323                                "type": "ETSPrimitiveType",
324                                "loc": {
325                                  "start": {
326                                    "line": 18,
327                                    "column": 92
328                                  },
329                                  "end": {
330                                    "line": 18,
331                                    "column": 95
332                                  }
333                                }
334                              },
335                              "decorators": [],
336                              "loc": {
337                                "start": {
338                                  "line": 18,
339                                  "column": 89
340                                },
341                                "end": {
342                                  "line": 18,
343                                  "column": 95
344                                }
345                              }
346                            },
347                            "loc": {
348                              "start": {
349                                "line": 18,
350                                "column": 89
351                              },
352                              "end": {
353                                "line": 18,
354                                "column": 95
355                              }
356                            }
357                          }
358                        ],
359                        "returnType": {
360                          "type": "ETSPrimitiveType",
361                          "loc": {
362                            "start": {
363                              "line": 18,
364                              "column": 100
365                            },
366                            "end": {
367                              "line": 18,
368                              "column": 104
369                            }
370                          }
371                        }
372                        "throwMarker": "throws",
373                        "loc": {
374                          "start": {
375                            "line": 18,
376                            "column": 80
377                          },
378                          "end": {
379                            "line": 18,
380                            "column": 104
381                          }
382                        }
383                      },
384                      "decorators": [],
385                      "loc": {
386                        "start": {
387                          "line": 18,
388                          "column": 73
389                        },
390                        "end": {
391                          "line": 18,
392                          "column": 104
393                        }
394                      }
395                    },
396                    "loc": {
397                      "start": {
398                        "line": 18,
399                        "column": 73
400                      },
401                      "end": {
402                        "line": 18,
403                        "column": 104
404                      }
405                    }
406                  }
407                ],
408                "returnType": {
409                  "type": "ETSPrimitiveType",
410                  "loc": {
411                    "start": {
412                      "line": 18,
413                      "column": 114
414                    },
415                    "end": {
416                      "line": 18,
417                      "column": 118
418                    }
419                  }
420                },
421                "body": {
422                  "type": "BlockStatement",
423                  "statements": [],
424                  "loc": {
425                    "start": {
426                      "line": 18,
427                      "column": 131
428                    },
429                    "end": {
430                      "line": 18,
431                      "column": 133
432                    }
433                  }
434                }
435                "throwMarker": "rethrows",
436                "loc": {
437                  "start": {
438                    "line": 18,
439                    "column": 72
440                  },
441                  "end": {
442                    "line": 18,
443                    "column": 133
444                  }
445                }
446              },
447              "loc": {
448                "start": {
449                  "line": 18,
450                  "column": 72
451                },
452                "end": {
453                  "line": 18,
454                  "column": 133
455                }
456              }
457            },
458            "accessibility": "public",
459            "static": true,
460            "readonly": false,
461            "declare": false,
462            "optional": false,
463            "computed": false,
464            "typeAnnotation": {
465              "type": "ETSFunctionType",
466              "params": [
467                {
468                  "type": "ETSParameterExpression",
469                  "name": {
470                    "type": "Identifier",
471                    "name": "param",
472                    "typeAnnotation": {
473                      "type": "ETSFunctionType",
474                      "params": [
475                        {
476                          "type": "ETSParameterExpression",
477                          "name": {
478                            "type": "Identifier",
479                            "name": "c",
480                            "typeAnnotation": {
481                              "type": "ETSPrimitiveType",
482                              "loc": {
483                                "start": {
484                                  "line": 18,
485                                  "column": 26
486                                },
487                                "end": {
488                                  "line": 18,
489                                  "column": 29
490                                }
491                              }
492                            },
493                            "decorators": [],
494                            "loc": {
495                              "start": {
496                                "line": 18,
497                                "column": 23
498                              },
499                              "end": {
500                                "line": 18,
501                                "column": 29
502                              }
503                            }
504                          },
505                          "loc": {
506                            "start": {
507                              "line": 18,
508                              "column": 23
509                            },
510                            "end": {
511                              "line": 18,
512                              "column": 29
513                            }
514                          }
515                        },
516                        {
517                          "type": "ETSParameterExpression",
518                          "name": {
519                            "type": "Identifier",
520                            "name": "b",
521                            "typeAnnotation": {
522                              "type": "ETSPrimitiveType",
523                              "loc": {
524                                "start": {
525                                  "line": 18,
526                                  "column": 34
527                                },
528                                "end": {
529                                  "line": 18,
530                                  "column": 37
531                                }
532                              }
533                            },
534                            "decorators": [],
535                            "loc": {
536                              "start": {
537                                "line": 18,
538                                "column": 31
539                              },
540                              "end": {
541                                "line": 18,
542                                "column": 37
543                              }
544                            }
545                          },
546                          "loc": {
547                            "start": {
548                              "line": 18,
549                              "column": 31
550                            },
551                            "end": {
552                              "line": 18,
553                              "column": 37
554                            }
555                          }
556                        }
557                      ],
558                      "returnType": {
559                        "type": "ETSPrimitiveType",
560                        "loc": {
561                          "start": {
562                            "line": 18,
563                            "column": 42
564                          },
565                          "end": {
566                            "line": 18,
567                            "column": 46
568                          }
569                        }
570                      }
571                      "throwMarker": "throws",
572                      "loc": {
573                        "start": {
574                          "line": 18,
575                          "column": 22
576                        },
577                        "end": {
578                          "line": 18,
579                          "column": 46
580                        }
581                      }
582                    },
583                    "decorators": [],
584                    "loc": {
585                      "start": {
586                        "line": 18,
587                        "column": 15
588                      },
589                      "end": {
590                        "line": 18,
591                        "column": 46
592                      }
593                    }
594                  },
595                  "loc": {
596                    "start": {
597                      "line": 18,
598                      "column": 15
599                    },
600                    "end": {
601                      "line": 18,
602                      "column": 46
603                    }
604                  }
605                }
606              ],
607              "returnType": {
608                "type": "ETSPrimitiveType",
609                "loc": {
610                  "start": {
611                    "line": 18,
612                    "column": 58
613                  },
614                  "end": {
615                    "line": 18,
616                    "column": 62
617                  }
618                }
619              }
620              "throwMarker": "throws",
621              "loc": {
622                "start": {
623                  "line": 18,
624                  "column": 14
625                },
626                "end": {
627                  "line": 18,
628                  "column": 62
629                }
630              }
631            },
632            "definite": false,
633            "decorators": [],
634            "loc": {
635              "start": {
636                "line": 18,
637                "column": 5
638              },
639              "end": {
640                "line": 18,
641                "column": 133
642              }
643            }
644          }
645        ],
646        "loc": {
647          "start": {
648            "line": 1,
649            "column": 1
650          },
651          "end": {
652            "line": 1,
653            "column": 1
654          }
655        }
656      },
657      "loc": {
658        "start": {
659          "line": 1,
660          "column": 1
661        },
662        "end": {
663          "line": 1,
664          "column": 1
665        }
666      }
667    }
668  ],
669  "loc": {
670    "start": {
671      "line": 1,
672      "column": 1
673    },
674    "end": {
675      "line": 19,
676      "column": 1
677    }
678  }
679}
680