• 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": "NativeModule",
10          "decorators": [],
11          "loc": {
12            "start": {
13              "line": 21,
14              "column": 7,
15              "program": "globalVarInLambdaInStatic.ets"
16            },
17            "end": {
18              "line": 21,
19              "column": 19,
20              "program": "globalVarInLambdaInStatic.ets"
21            }
22          }
23        },
24        "superClass": null,
25        "implements": [],
26        "body": [
27          {
28            "type": "MethodDefinition",
29            "key": {
30              "type": "Identifier",
31              "name": "MethodeOfClass",
32              "decorators": [],
33              "loc": {
34                "start": {
35                  "line": 22,
36                  "column": 5,
37                  "program": "globalVarInLambdaInStatic.ets"
38                },
39                "end": {
40                  "line": 22,
41                  "column": 19,
42                  "program": "globalVarInLambdaInStatic.ets"
43                }
44              }
45            },
46            "kind": "method",
47            "accessibility": "public",
48            "static": false,
49            "optional": false,
50            "computed": false,
51            "value": {
52              "type": "FunctionExpression",
53              "function": {
54                "type": "ScriptFunction",
55                "id": {
56                  "type": "Identifier",
57                  "name": "MethodeOfClass",
58                  "decorators": [],
59                  "loc": {
60                    "start": {
61                      "line": 22,
62                      "column": 5,
63                      "program": "globalVarInLambdaInStatic.ets"
64                    },
65                    "end": {
66                      "line": 22,
67                      "column": 19,
68                      "program": "globalVarInLambdaInStatic.ets"
69                    }
70                  }
71                },
72                "generator": false,
73                "async": false,
74                "expression": false,
75                "params": [
76                  {
77                    "type": "ETSParameterExpression",
78                    "name": {
79                      "type": "Identifier",
80                      "name": "n",
81                      "typeAnnotation": {
82                        "type": "ETSTypeReference",
83                        "part": {
84                          "type": "ETSTypeReferencePart",
85                          "name": {
86                            "type": "Identifier",
87                            "name": "number",
88                            "decorators": [],
89                            "loc": {
90                              "start": {
91                                "line": 22,
92                                "column": 23,
93                                "program": "globalVarInLambdaInStatic.ets"
94                              },
95                              "end": {
96                                "line": 22,
97                                "column": 29,
98                                "program": "globalVarInLambdaInStatic.ets"
99                              }
100                            }
101                          },
102                          "loc": {
103                            "start": {
104                              "line": 22,
105                              "column": 23,
106                              "program": "globalVarInLambdaInStatic.ets"
107                            },
108                            "end": {
109                              "line": 22,
110                              "column": 30,
111                              "program": "globalVarInLambdaInStatic.ets"
112                            }
113                          }
114                        },
115                        "loc": {
116                          "start": {
117                            "line": 22,
118                            "column": 23,
119                            "program": "globalVarInLambdaInStatic.ets"
120                          },
121                          "end": {
122                            "line": 22,
123                            "column": 30,
124                            "program": "globalVarInLambdaInStatic.ets"
125                          }
126                        }
127                      },
128                      "decorators": [],
129                      "loc": {
130                        "start": {
131                          "line": 22,
132                          "column": 20,
133                          "program": "globalVarInLambdaInStatic.ets"
134                        },
135                        "end": {
136                          "line": 22,
137                          "column": 30,
138                          "program": "globalVarInLambdaInStatic.ets"
139                        }
140                      }
141                    },
142                    "loc": {
143                      "start": {
144                        "line": 22,
145                        "column": 20,
146                        "program": "globalVarInLambdaInStatic.ets"
147                      },
148                      "end": {
149                        "line": 22,
150                        "column": 30,
151                        "program": "globalVarInLambdaInStatic.ets"
152                      }
153                    }
154                  }
155                ],
156                "returnType": {
157                  "type": "ETSPrimitiveType",
158                  "loc": {
159                    "start": {
160                      "line": 22,
161                      "column": 31,
162                      "program": "globalVarInLambdaInStatic.ets"
163                    },
164                    "end": {
165                      "line": 22,
166                      "column": 35,
167                      "program": "globalVarInLambdaInStatic.ets"
168                    }
169                  }
170                },
171                "body": {
172                  "type": "BlockStatement",
173                  "statements": [],
174                  "loc": {
175                    "start": {
176                      "line": 22,
177                      "column": 36,
178                      "program": "globalVarInLambdaInStatic.ets"
179                    },
180                    "end": {
181                      "line": 22,
182                      "column": 38,
183                      "program": "globalVarInLambdaInStatic.ets"
184                    }
185                  }
186                },
187                "loc": {
188                  "start": {
189                    "line": 22,
190                    "column": 19,
191                    "program": "globalVarInLambdaInStatic.ets"
192                  },
193                  "end": {
194                    "line": 22,
195                    "column": 38,
196                    "program": "globalVarInLambdaInStatic.ets"
197                  }
198                }
199              },
200              "loc": {
201                "start": {
202                  "line": 22,
203                  "column": 19,
204                  "program": "globalVarInLambdaInStatic.ets"
205                },
206                "end": {
207                  "line": 22,
208                  "column": 38,
209                  "program": "globalVarInLambdaInStatic.ets"
210                }
211              }
212            },
213            "overloads": [],
214            "decorators": [],
215            "loc": {
216              "start": {
217                "line": 22,
218                "column": 5,
219                "program": "globalVarInLambdaInStatic.ets"
220              },
221              "end": {
222                "line": 22,
223                "column": 38,
224                "program": "globalVarInLambdaInStatic.ets"
225              }
226            }
227          },
228          {
229            "type": "MethodDefinition",
230            "key": {
231              "type": "Identifier",
232              "name": "constructor",
233              "decorators": [],
234              "loc": {
235                "start": {
236                  "line": 21,
237                  "column": 21,
238                  "program": "globalVarInLambdaInStatic.ets"
239                },
240                "end": {
241                  "line": 21,
242                  "column": 21,
243                  "program": "globalVarInLambdaInStatic.ets"
244                }
245              }
246            },
247            "kind": "constructor",
248            "static": false,
249            "optional": false,
250            "computed": false,
251            "value": {
252              "type": "FunctionExpression",
253              "function": {
254                "type": "ScriptFunction",
255                "id": {
256                  "type": "Identifier",
257                  "name": "constructor",
258                  "decorators": [],
259                  "loc": {
260                    "start": {
261                      "line": 21,
262                      "column": 21,
263                      "program": "globalVarInLambdaInStatic.ets"
264                    },
265                    "end": {
266                      "line": 21,
267                      "column": 21,
268                      "program": "globalVarInLambdaInStatic.ets"
269                    }
270                  }
271                },
272                "generator": false,
273                "async": false,
274                "expression": false,
275                "params": [],
276                "body": {
277                  "type": "BlockStatement",
278                  "statements": [],
279                  "loc": {
280                    "start": {
281                      "line": 21,
282                      "column": 21,
283                      "program": "globalVarInLambdaInStatic.ets"
284                    },
285                    "end": {
286                      "line": 21,
287                      "column": 21,
288                      "program": "globalVarInLambdaInStatic.ets"
289                    }
290                  }
291                },
292                "loc": {
293                  "start": {
294                    "line": 21,
295                    "column": 21,
296                    "program": "globalVarInLambdaInStatic.ets"
297                  },
298                  "end": {
299                    "line": 21,
300                    "column": 21,
301                    "program": "globalVarInLambdaInStatic.ets"
302                  }
303                }
304              },
305              "loc": {
306                "start": {
307                  "line": 21,
308                  "column": 21,
309                  "program": "globalVarInLambdaInStatic.ets"
310                },
311                "end": {
312                  "line": 21,
313                  "column": 21,
314                  "program": "globalVarInLambdaInStatic.ets"
315                }
316              }
317            },
318            "overloads": [],
319            "decorators": [],
320            "loc": {
321              "start": {
322                "line": 1,
323                "column": 1,
324                "program": null
325              },
326              "end": {
327                "line": 1,
328                "column": 1,
329                "program": null
330              }
331            }
332          }
333        ],
334        "loc": {
335          "start": {
336            "line": 21,
337            "column": 20,
338            "program": "globalVarInLambdaInStatic.ets"
339          },
340          "end": {
341            "line": 25,
342            "column": 9,
343            "program": "globalVarInLambdaInStatic.ets"
344          }
345        }
346      },
347      "loc": {
348        "start": {
349          "line": 21,
350          "column": 1,
351          "program": "globalVarInLambdaInStatic.ets"
352        },
353        "end": {
354          "line": 25,
355          "column": 9,
356          "program": "globalVarInLambdaInStatic.ets"
357        }
358      }
359    },
360    {
361      "type": "ClassDeclaration",
362      "definition": {
363        "id": {
364          "type": "Identifier",
365          "name": "NativeString",
366          "decorators": [],
367          "loc": {
368            "start": {
369              "line": 29,
370              "column": 7,
371              "program": "globalVarInLambdaInStatic.ets"
372            },
373            "end": {
374              "line": 29,
375              "column": 19,
376              "program": "globalVarInLambdaInStatic.ets"
377            }
378          }
379        },
380        "superClass": null,
381        "implements": [],
382        "body": [
383          {
384            "type": "MethodDefinition",
385            "key": {
386              "type": "Identifier",
387              "name": "MethodeOfStatic",
388              "decorators": [],
389              "loc": {
390                "start": {
391                  "line": 30,
392                  "column": 12,
393                  "program": "globalVarInLambdaInStatic.ets"
394                },
395                "end": {
396                  "line": 30,
397                  "column": 27,
398                  "program": "globalVarInLambdaInStatic.ets"
399                }
400              }
401            },
402            "kind": "method",
403            "accessibility": "public",
404            "static": true,
405            "optional": false,
406            "computed": false,
407            "value": {
408              "type": "FunctionExpression",
409              "function": {
410                "type": "ScriptFunction",
411                "id": {
412                  "type": "Identifier",
413                  "name": "MethodeOfStatic",
414                  "decorators": [],
415                  "loc": {
416                    "start": {
417                      "line": 30,
418                      "column": 12,
419                      "program": "globalVarInLambdaInStatic.ets"
420                    },
421                    "end": {
422                      "line": 30,
423                      "column": 27,
424                      "program": "globalVarInLambdaInStatic.ets"
425                    }
426                  }
427                },
428                "generator": false,
429                "async": false,
430                "expression": false,
431                "params": [],
432                "body": {
433                  "type": "BlockStatement",
434                  "statements": [
435                    {
436                      "type": "ExpressionStatement",
437                      "expression": {
438                        "type": "CallExpression",
439                        "callee": {
440                          "type": "Identifier",
441                          "name": "globalFunction",
442                          "decorators": [],
443                          "loc": {
444                            "start": {
445                              "line": 31,
446                              "column": 9,
447                              "program": "globalVarInLambdaInStatic.ets"
448                            },
449                            "end": {
450                              "line": 31,
451                              "column": 23,
452                              "program": "globalVarInLambdaInStatic.ets"
453                            }
454                          }
455                        },
456                        "arguments": [
457                          {
458                            "type": "ArrowFunctionExpression",
459                            "function": {
460                              "type": "ScriptFunction",
461                              "id": null,
462                              "generator": false,
463                              "async": false,
464                              "expression": false,
465                              "params": [
466                                {
467                                  "type": "ETSParameterExpression",
468                                  "name": {
469                                    "type": "Identifier",
470                                    "name": "len",
471                                    "typeAnnotation": {
472                                      "type": "ETSTypeReference",
473                                      "part": {
474                                        "type": "ETSTypeReferencePart",
475                                        "name": {
476                                          "type": "Identifier",
477                                          "name": "number",
478                                          "decorators": [],
479                                          "loc": {
480                                            "start": {
481                                              "line": 31,
482                                              "column": 30,
483                                              "program": "globalVarInLambdaInStatic.ets"
484                                            },
485                                            "end": {
486                                              "line": 31,
487                                              "column": 36,
488                                              "program": "globalVarInLambdaInStatic.ets"
489                                            }
490                                          }
491                                        },
492                                        "loc": {
493                                          "start": {
494                                            "line": 31,
495                                            "column": 30,
496                                            "program": "globalVarInLambdaInStatic.ets"
497                                          },
498                                          "end": {
499                                            "line": 31,
500                                            "column": 37,
501                                            "program": "globalVarInLambdaInStatic.ets"
502                                          }
503                                        }
504                                      },
505                                      "loc": {
506                                        "start": {
507                                          "line": 31,
508                                          "column": 30,
509                                          "program": "globalVarInLambdaInStatic.ets"
510                                        },
511                                        "end": {
512                                          "line": 31,
513                                          "column": 37,
514                                          "program": "globalVarInLambdaInStatic.ets"
515                                        }
516                                      }
517                                    },
518                                    "decorators": [],
519                                    "loc": {
520                                      "start": {
521                                        "line": 31,
522                                        "column": 25,
523                                        "program": "globalVarInLambdaInStatic.ets"
524                                      },
525                                      "end": {
526                                        "line": 31,
527                                        "column": 37,
528                                        "program": "globalVarInLambdaInStatic.ets"
529                                      }
530                                    }
531                                  },
532                                  "loc": {
533                                    "start": {
534                                      "line": 31,
535                                      "column": 25,
536                                      "program": "globalVarInLambdaInStatic.ets"
537                                    },
538                                    "end": {
539                                      "line": 31,
540                                      "column": 37,
541                                      "program": "globalVarInLambdaInStatic.ets"
542                                    }
543                                  }
544                                }
545                              ],
546                              "returnType": {
547                                "type": "ETSPrimitiveType",
548                                "loc": {
549                                  "start": {
550                                    "line": 31,
551                                    "column": 38,
552                                    "program": "globalVarInLambdaInStatic.ets"
553                                  },
554                                  "end": {
555                                    "line": 31,
556                                    "column": 42,
557                                    "program": "globalVarInLambdaInStatic.ets"
558                                  }
559                                }
560                              },
561                              "body": {
562                                "type": "BlockStatement",
563                                "statements": [
564                                  {
565                                    "type": "ExpressionStatement",
566                                    "expression": {
567                                      "type": "CallExpression",
568                                      "callee": {
569                                        "type": "MemberExpression",
570                                        "object": {
571                                          "type": "CallExpression",
572                                          "callee": {
573                                            "type": "Identifier",
574                                            "name": "nativeModule",
575                                            "decorators": [],
576                                            "loc": {
577                                              "start": {
578                                                "line": 32,
579                                                "column": 13,
580                                                "program": "globalVarInLambdaInStatic.ets"
581                                              },
582                                              "end": {
583                                                "line": 32,
584                                                "column": 25,
585                                                "program": "globalVarInLambdaInStatic.ets"
586                                              }
587                                            }
588                                          },
589                                          "arguments": [],
590                                          "optional": false,
591                                          "loc": {
592                                            "start": {
593                                              "line": 32,
594                                              "column": 13,
595                                              "program": "globalVarInLambdaInStatic.ets"
596                                            },
597                                            "end": {
598                                              "line": 32,
599                                              "column": 27,
600                                              "program": "globalVarInLambdaInStatic.ets"
601                                            }
602                                          }
603                                        },
604                                        "property": {
605                                          "type": "Identifier",
606                                          "name": "MethodeOfClass",
607                                          "decorators": [],
608                                          "loc": {
609                                            "start": {
610                                              "line": 32,
611                                              "column": 28,
612                                              "program": "globalVarInLambdaInStatic.ets"
613                                            },
614                                            "end": {
615                                              "line": 32,
616                                              "column": 42,
617                                              "program": "globalVarInLambdaInStatic.ets"
618                                            }
619                                          }
620                                        },
621                                        "computed": false,
622                                        "optional": false,
623                                        "loc": {
624                                          "start": {
625                                            "line": 32,
626                                            "column": 13,
627                                            "program": "globalVarInLambdaInStatic.ets"
628                                          },
629                                          "end": {
630                                            "line": 32,
631                                            "column": 42,
632                                            "program": "globalVarInLambdaInStatic.ets"
633                                          }
634                                        }
635                                      },
636                                      "arguments": [
637                                        {
638                                          "type": "Identifier",
639                                          "name": "len",
640                                          "decorators": [],
641                                          "loc": {
642                                            "start": {
643                                              "line": 32,
644                                              "column": 43,
645                                              "program": "globalVarInLambdaInStatic.ets"
646                                            },
647                                            "end": {
648                                              "line": 32,
649                                              "column": 46,
650                                              "program": "globalVarInLambdaInStatic.ets"
651                                            }
652                                          }
653                                        }
654                                      ],
655                                      "optional": false,
656                                      "loc": {
657                                        "start": {
658                                          "line": 32,
659                                          "column": 13,
660                                          "program": "globalVarInLambdaInStatic.ets"
661                                        },
662                                        "end": {
663                                          "line": 32,
664                                          "column": 47,
665                                          "program": "globalVarInLambdaInStatic.ets"
666                                        }
667                                      }
668                                    },
669                                    "loc": {
670                                      "start": {
671                                        "line": 32,
672                                        "column": 13,
673                                        "program": "globalVarInLambdaInStatic.ets"
674                                      },
675                                      "end": {
676                                        "line": 32,
677                                        "column": 48,
678                                        "program": "globalVarInLambdaInStatic.ets"
679                                      }
680                                    }
681                                  }
682                                ],
683                                "loc": {
684                                  "start": {
685                                    "line": 31,
686                                    "column": 46,
687                                    "program": "globalVarInLambdaInStatic.ets"
688                                  },
689                                  "end": {
690                                    "line": 33,
691                                    "column": 10,
692                                    "program": "globalVarInLambdaInStatic.ets"
693                                  }
694                                }
695                              },
696                              "loc": {
697                                "start": {
698                                  "line": 31,
699                                  "column": 24,
700                                  "program": "globalVarInLambdaInStatic.ets"
701                                },
702                                "end": {
703                                  "line": 33,
704                                  "column": 10,
705                                  "program": "globalVarInLambdaInStatic.ets"
706                                }
707                              }
708                            },
709                            "loc": {
710                              "start": {
711                                "line": 31,
712                                "column": 24,
713                                "program": "globalVarInLambdaInStatic.ets"
714                              },
715                              "end": {
716                                "line": 33,
717                                "column": 10,
718                                "program": "globalVarInLambdaInStatic.ets"
719                              }
720                            }
721                          }
722                        ],
723                        "optional": false,
724                        "loc": {
725                          "start": {
726                            "line": 31,
727                            "column": 9,
728                            "program": "globalVarInLambdaInStatic.ets"
729                          },
730                          "end": {
731                            "line": 33,
732                            "column": 11,
733                            "program": "globalVarInLambdaInStatic.ets"
734                          }
735                        }
736                      },
737                      "loc": {
738                        "start": {
739                          "line": 31,
740                          "column": 9,
741                          "program": "globalVarInLambdaInStatic.ets"
742                        },
743                        "end": {
744                          "line": 33,
745                          "column": 12,
746                          "program": "globalVarInLambdaInStatic.ets"
747                        }
748                      }
749                    }
750                  ],
751                  "loc": {
752                    "start": {
753                      "line": 30,
754                      "column": 30,
755                      "program": "globalVarInLambdaInStatic.ets"
756                    },
757                    "end": {
758                      "line": 34,
759                      "column": 6,
760                      "program": "globalVarInLambdaInStatic.ets"
761                    }
762                  }
763                },
764                "loc": {
765                  "start": {
766                    "line": 30,
767                    "column": 27,
768                    "program": "globalVarInLambdaInStatic.ets"
769                  },
770                  "end": {
771                    "line": 34,
772                    "column": 6,
773                    "program": "globalVarInLambdaInStatic.ets"
774                  }
775                }
776              },
777              "loc": {
778                "start": {
779                  "line": 30,
780                  "column": 27,
781                  "program": "globalVarInLambdaInStatic.ets"
782                },
783                "end": {
784                  "line": 34,
785                  "column": 6,
786                  "program": "globalVarInLambdaInStatic.ets"
787                }
788              }
789            },
790            "overloads": [],
791            "decorators": [],
792            "loc": {
793              "start": {
794                "line": 30,
795                "column": 5,
796                "program": "globalVarInLambdaInStatic.ets"
797              },
798              "end": {
799                "line": 34,
800                "column": 6,
801                "program": "globalVarInLambdaInStatic.ets"
802              }
803            }
804          },
805          {
806            "type": "MethodDefinition",
807            "key": {
808              "type": "Identifier",
809              "name": "constructor",
810              "decorators": [],
811              "loc": {
812                "start": {
813                  "line": 29,
814                  "column": 21,
815                  "program": "globalVarInLambdaInStatic.ets"
816                },
817                "end": {
818                  "line": 29,
819                  "column": 21,
820                  "program": "globalVarInLambdaInStatic.ets"
821                }
822              }
823            },
824            "kind": "constructor",
825            "static": false,
826            "optional": false,
827            "computed": false,
828            "value": {
829              "type": "FunctionExpression",
830              "function": {
831                "type": "ScriptFunction",
832                "id": {
833                  "type": "Identifier",
834                  "name": "constructor",
835                  "decorators": [],
836                  "loc": {
837                    "start": {
838                      "line": 29,
839                      "column": 21,
840                      "program": "globalVarInLambdaInStatic.ets"
841                    },
842                    "end": {
843                      "line": 29,
844                      "column": 21,
845                      "program": "globalVarInLambdaInStatic.ets"
846                    }
847                  }
848                },
849                "generator": false,
850                "async": false,
851                "expression": false,
852                "params": [],
853                "body": {
854                  "type": "BlockStatement",
855                  "statements": [],
856                  "loc": {
857                    "start": {
858                      "line": 29,
859                      "column": 21,
860                      "program": "globalVarInLambdaInStatic.ets"
861                    },
862                    "end": {
863                      "line": 29,
864                      "column": 21,
865                      "program": "globalVarInLambdaInStatic.ets"
866                    }
867                  }
868                },
869                "loc": {
870                  "start": {
871                    "line": 29,
872                    "column": 21,
873                    "program": "globalVarInLambdaInStatic.ets"
874                  },
875                  "end": {
876                    "line": 29,
877                    "column": 21,
878                    "program": "globalVarInLambdaInStatic.ets"
879                  }
880                }
881              },
882              "loc": {
883                "start": {
884                  "line": 29,
885                  "column": 21,
886                  "program": "globalVarInLambdaInStatic.ets"
887                },
888                "end": {
889                  "line": 29,
890                  "column": 21,
891                  "program": "globalVarInLambdaInStatic.ets"
892                }
893              }
894            },
895            "overloads": [],
896            "decorators": [],
897            "loc": {
898              "start": {
899                "line": 1,
900                "column": 1,
901                "program": null
902              },
903              "end": {
904                "line": 1,
905                "column": 1,
906                "program": null
907              }
908            }
909          }
910        ],
911        "loc": {
912          "start": {
913            "line": 29,
914            "column": 20,
915            "program": "globalVarInLambdaInStatic.ets"
916          },
917          "end": {
918            "line": 36,
919            "column": 1,
920            "program": "globalVarInLambdaInStatic.ets"
921          }
922        }
923      },
924      "loc": {
925        "start": {
926          "line": 29,
927          "column": 1,
928          "program": "globalVarInLambdaInStatic.ets"
929        },
930        "end": {
931          "line": 36,
932          "column": 1,
933          "program": "globalVarInLambdaInStatic.ets"
934        }
935      }
936    },
937    {
938      "type": "ClassDeclaration",
939      "definition": {
940        "id": {
941          "type": "Identifier",
942          "name": "ETSGLOBAL",
943          "decorators": [],
944          "loc": {
945            "start": {
946              "line": 1,
947              "column": 1,
948              "program": "globalVarInLambdaInStatic.ets"
949            },
950            "end": {
951              "line": 1,
952              "column": 1,
953              "program": "globalVarInLambdaInStatic.ets"
954            }
955          }
956        },
957        "superClass": null,
958        "implements": [],
959        "body": [
960          {
961            "type": "MethodDefinition",
962            "key": {
963              "type": "Identifier",
964              "name": "main",
965              "decorators": [],
966              "loc": {
967                "start": {
968                  "line": 1,
969                  "column": 1,
970                  "program": null
971                },
972                "end": {
973                  "line": 1,
974                  "column": 1,
975                  "program": null
976                }
977              }
978            },
979            "kind": "method",
980            "accessibility": "public",
981            "static": true,
982            "optional": false,
983            "computed": false,
984            "value": {
985              "type": "FunctionExpression",
986              "function": {
987                "type": "ScriptFunction",
988                "id": {
989                  "type": "Identifier",
990                  "name": "main",
991                  "decorators": [],
992                  "loc": {
993                    "start": {
994                      "line": 1,
995                      "column": 1,
996                      "program": null
997                    },
998                    "end": {
999                      "line": 1,
1000                      "column": 1,
1001                      "program": null
1002                    }
1003                  }
1004                },
1005                "generator": false,
1006                "async": false,
1007                "expression": false,
1008                "params": [],
1009                "body": {
1010                  "type": "BlockStatement",
1011                  "statements": [],
1012                  "loc": {
1013                    "start": {
1014                      "line": 1,
1015                      "column": 1,
1016                      "program": null
1017                    },
1018                    "end": {
1019                      "line": 1,
1020                      "column": 1,
1021                      "program": null
1022                    }
1023                  }
1024                },
1025                "loc": {
1026                  "start": {
1027                    "line": 1,
1028                    "column": 1,
1029                    "program": null
1030                  },
1031                  "end": {
1032                    "line": 1,
1033                    "column": 1,
1034                    "program": null
1035                  }
1036                }
1037              },
1038              "loc": {
1039                "start": {
1040                  "line": 1,
1041                  "column": 1,
1042                  "program": null
1043                },
1044                "end": {
1045                  "line": 1,
1046                  "column": 1,
1047                  "program": null
1048                }
1049              }
1050            },
1051            "overloads": [],
1052            "decorators": [],
1053            "loc": {
1054              "start": {
1055                "line": 1,
1056                "column": 1,
1057                "program": "globalVarInLambdaInStatic.ets"
1058              },
1059              "end": {
1060                "line": 1,
1061                "column": 1,
1062                "program": "globalVarInLambdaInStatic.ets"
1063              }
1064            }
1065          },
1066          {
1067            "type": "MethodDefinition",
1068            "key": {
1069              "type": "Identifier",
1070              "name": "_$init$_",
1071              "decorators": [],
1072              "loc": {
1073                "start": {
1074                  "line": 1,
1075                  "column": 1,
1076                  "program": null
1077                },
1078                "end": {
1079                  "line": 1,
1080                  "column": 1,
1081                  "program": null
1082                }
1083              }
1084            },
1085            "kind": "method",
1086            "accessibility": "public",
1087            "static": true,
1088            "optional": false,
1089            "computed": false,
1090            "value": {
1091              "type": "FunctionExpression",
1092              "function": {
1093                "type": "ScriptFunction",
1094                "id": {
1095                  "type": "Identifier",
1096                  "name": "_$init$_",
1097                  "decorators": [],
1098                  "loc": {
1099                    "start": {
1100                      "line": 1,
1101                      "column": 1,
1102                      "program": null
1103                    },
1104                    "end": {
1105                      "line": 1,
1106                      "column": 1,
1107                      "program": null
1108                    }
1109                  }
1110                },
1111                "generator": false,
1112                "async": false,
1113                "expression": false,
1114                "params": [],
1115                "body": {
1116                  "type": "BlockStatement",
1117                  "statements": [],
1118                  "loc": {
1119                    "start": {
1120                      "line": 1,
1121                      "column": 1,
1122                      "program": null
1123                    },
1124                    "end": {
1125                      "line": 1,
1126                      "column": 1,
1127                      "program": null
1128                    }
1129                  }
1130                },
1131                "loc": {
1132                  "start": {
1133                    "line": 1,
1134                    "column": 1,
1135                    "program": null
1136                  },
1137                  "end": {
1138                    "line": 1,
1139                    "column": 1,
1140                    "program": null
1141                  }
1142                }
1143              },
1144              "loc": {
1145                "start": {
1146                  "line": 1,
1147                  "column": 1,
1148                  "program": null
1149                },
1150                "end": {
1151                  "line": 1,
1152                  "column": 1,
1153                  "program": null
1154                }
1155              }
1156            },
1157            "overloads": [],
1158            "decorators": [],
1159            "loc": {
1160              "start": {
1161                "line": 1,
1162                "column": 1,
1163                "program": "globalVarInLambdaInStatic.ets"
1164              },
1165              "end": {
1166                "line": 1,
1167                "column": 1,
1168                "program": "globalVarInLambdaInStatic.ets"
1169              }
1170            }
1171          },
1172          {
1173            "type": "MethodDefinition",
1174            "key": {
1175              "type": "Identifier",
1176              "name": "globalFunction",
1177              "decorators": [],
1178              "loc": {
1179                "start": {
1180                  "line": 16,
1181                  "column": 10,
1182                  "program": "globalVarInLambdaInStatic.ets"
1183                },
1184                "end": {
1185                  "line": 16,
1186                  "column": 24,
1187                  "program": "globalVarInLambdaInStatic.ets"
1188                }
1189              }
1190            },
1191            "kind": "method",
1192            "accessibility": "public",
1193            "static": true,
1194            "optional": false,
1195            "computed": false,
1196            "value": {
1197              "type": "FunctionExpression",
1198              "function": {
1199                "type": "ScriptFunction",
1200                "id": {
1201                  "type": "Identifier",
1202                  "name": "globalFunction",
1203                  "decorators": [],
1204                  "loc": {
1205                    "start": {
1206                      "line": 16,
1207                      "column": 10,
1208                      "program": "globalVarInLambdaInStatic.ets"
1209                    },
1210                    "end": {
1211                      "line": 16,
1212                      "column": 24,
1213                      "program": "globalVarInLambdaInStatic.ets"
1214                    }
1215                  }
1216                },
1217                "generator": false,
1218                "async": false,
1219                "expression": false,
1220                "params": [
1221                  {
1222                    "type": "ETSParameterExpression",
1223                    "name": {
1224                      "type": "Identifier",
1225                      "name": "exec",
1226                      "typeAnnotation": {
1227                        "type": "ETSFunctionType",
1228                        "params": [
1229                          {
1230                            "type": "ETSParameterExpression",
1231                            "name": {
1232                              "type": "Identifier",
1233                              "name": "len",
1234                              "typeAnnotation": {
1235                                "type": "ETSTypeReference",
1236                                "part": {
1237                                  "type": "ETSTypeReferencePart",
1238                                  "name": {
1239                                    "type": "Identifier",
1240                                    "name": "number",
1241                                    "decorators": [],
1242                                    "loc": {
1243                                      "start": {
1244                                        "line": 16,
1245                                        "column": 37,
1246                                        "program": "globalVarInLambdaInStatic.ets"
1247                                      },
1248                                      "end": {
1249                                        "line": 16,
1250                                        "column": 43,
1251                                        "program": "globalVarInLambdaInStatic.ets"
1252                                      }
1253                                    }
1254                                  },
1255                                  "loc": {
1256                                    "start": {
1257                                      "line": 16,
1258                                      "column": 37,
1259                                      "program": "globalVarInLambdaInStatic.ets"
1260                                    },
1261                                    "end": {
1262                                      "line": 16,
1263                                      "column": 44,
1264                                      "program": "globalVarInLambdaInStatic.ets"
1265                                    }
1266                                  }
1267                                },
1268                                "loc": {
1269                                  "start": {
1270                                    "line": 16,
1271                                    "column": 37,
1272                                    "program": "globalVarInLambdaInStatic.ets"
1273                                  },
1274                                  "end": {
1275                                    "line": 16,
1276                                    "column": 44,
1277                                    "program": "globalVarInLambdaInStatic.ets"
1278                                  }
1279                                }
1280                              },
1281                              "decorators": [],
1282                              "loc": {
1283                                "start": {
1284                                  "line": 16,
1285                                  "column": 32,
1286                                  "program": "globalVarInLambdaInStatic.ets"
1287                                },
1288                                "end": {
1289                                  "line": 16,
1290                                  "column": 44,
1291                                  "program": "globalVarInLambdaInStatic.ets"
1292                                }
1293                              }
1294                            },
1295                            "loc": {
1296                              "start": {
1297                                "line": 16,
1298                                "column": 32,
1299                                "program": "globalVarInLambdaInStatic.ets"
1300                              },
1301                              "end": {
1302                                "line": 16,
1303                                "column": 44,
1304                                "program": "globalVarInLambdaInStatic.ets"
1305                              }
1306                            }
1307                          }
1308                        ],
1309                        "returnType": {
1310                          "type": "ETSPrimitiveType",
1311                          "loc": {
1312                            "start": {
1313                              "line": 16,
1314                              "column": 47,
1315                              "program": "globalVarInLambdaInStatic.ets"
1316                            },
1317                            "end": {
1318                              "line": 16,
1319                              "column": 51,
1320                              "program": "globalVarInLambdaInStatic.ets"
1321                            }
1322                          }
1323                        },
1324                        "loc": {
1325                          "start": {
1326                            "line": 16,
1327                            "column": 31,
1328                            "program": "globalVarInLambdaInStatic.ets"
1329                          },
1330                          "end": {
1331                            "line": 16,
1332                            "column": 51,
1333                            "program": "globalVarInLambdaInStatic.ets"
1334                          }
1335                        }
1336                      },
1337                      "decorators": [],
1338                      "loc": {
1339                        "start": {
1340                          "line": 16,
1341                          "column": 25,
1342                          "program": "globalVarInLambdaInStatic.ets"
1343                        },
1344                        "end": {
1345                          "line": 16,
1346                          "column": 51,
1347                          "program": "globalVarInLambdaInStatic.ets"
1348                        }
1349                      }
1350                    },
1351                    "loc": {
1352                      "start": {
1353                        "line": 16,
1354                        "column": 25,
1355                        "program": "globalVarInLambdaInStatic.ets"
1356                      },
1357                      "end": {
1358                        "line": 16,
1359                        "column": 51,
1360                        "program": "globalVarInLambdaInStatic.ets"
1361                      }
1362                    }
1363                  }
1364                ],
1365                "body": {
1366                  "type": "BlockStatement",
1367                  "statements": [
1368                    {
1369                      "type": "VariableDeclaration",
1370                      "declarations": [
1371                        {
1372                          "type": "VariableDeclarator",
1373                          "id": {
1374                            "type": "Identifier",
1375                            "name": "length",
1376                            "typeAnnotation": {
1377                              "type": "ETSTypeReference",
1378                              "part": {
1379                                "type": "ETSTypeReferencePart",
1380                                "name": {
1381                                  "type": "Identifier",
1382                                  "name": "number",
1383                                  "decorators": [],
1384                                  "loc": {
1385                                    "start": {
1386                                      "line": 17,
1387                                      "column": 17,
1388                                      "program": "globalVarInLambdaInStatic.ets"
1389                                    },
1390                                    "end": {
1391                                      "line": 17,
1392                                      "column": 23,
1393                                      "program": "globalVarInLambdaInStatic.ets"
1394                                    }
1395                                  }
1396                                },
1397                                "loc": {
1398                                  "start": {
1399                                    "line": 17,
1400                                    "column": 17,
1401                                    "program": "globalVarInLambdaInStatic.ets"
1402                                  },
1403                                  "end": {
1404                                    "line": 17,
1405                                    "column": 25,
1406                                    "program": "globalVarInLambdaInStatic.ets"
1407                                  }
1408                                }
1409                              },
1410                              "loc": {
1411                                "start": {
1412                                  "line": 17,
1413                                  "column": 17,
1414                                  "program": "globalVarInLambdaInStatic.ets"
1415                                },
1416                                "end": {
1417                                  "line": 17,
1418                                  "column": 25,
1419                                  "program": "globalVarInLambdaInStatic.ets"
1420                                }
1421                              }
1422                            },
1423                            "decorators": [],
1424                            "loc": {
1425                              "start": {
1426                                "line": 17,
1427                                "column": 9,
1428                                "program": "globalVarInLambdaInStatic.ets"
1429                              },
1430                              "end": {
1431                                "line": 17,
1432                                "column": 15,
1433                                "program": "globalVarInLambdaInStatic.ets"
1434                              }
1435                            }
1436                          },
1437                          "init": {
1438                            "type": "NumberLiteral",
1439                            "value": 0,
1440                            "loc": {
1441                              "start": {
1442                                "line": 17,
1443                                "column": 26,
1444                                "program": "globalVarInLambdaInStatic.ets"
1445                              },
1446                              "end": {
1447                                "line": 17,
1448                                "column": 27,
1449                                "program": "globalVarInLambdaInStatic.ets"
1450                              }
1451                            }
1452                          },
1453                          "loc": {
1454                            "start": {
1455                              "line": 17,
1456                              "column": 9,
1457                              "program": "globalVarInLambdaInStatic.ets"
1458                            },
1459                            "end": {
1460                              "line": 17,
1461                              "column": 27,
1462                              "program": "globalVarInLambdaInStatic.ets"
1463                            }
1464                          }
1465                        }
1466                      ],
1467                      "kind": "let",
1468                      "loc": {
1469                        "start": {
1470                          "line": 17,
1471                          "column": 5,
1472                          "program": "globalVarInLambdaInStatic.ets"
1473                        },
1474                        "end": {
1475                          "line": 17,
1476                          "column": 28,
1477                          "program": "globalVarInLambdaInStatic.ets"
1478                        }
1479                      }
1480                    },
1481                    {
1482                      "type": "ExpressionStatement",
1483                      "expression": {
1484                        "type": "CallExpression",
1485                        "callee": {
1486                          "type": "Identifier",
1487                          "name": "exec",
1488                          "decorators": [],
1489                          "loc": {
1490                            "start": {
1491                              "line": 18,
1492                              "column": 5,
1493                              "program": "globalVarInLambdaInStatic.ets"
1494                            },
1495                            "end": {
1496                              "line": 18,
1497                              "column": 9,
1498                              "program": "globalVarInLambdaInStatic.ets"
1499                            }
1500                          }
1501                        },
1502                        "arguments": [
1503                          {
1504                            "type": "Identifier",
1505                            "name": "length",
1506                            "decorators": [],
1507                            "loc": {
1508                              "start": {
1509                                "line": 18,
1510                                "column": 10,
1511                                "program": "globalVarInLambdaInStatic.ets"
1512                              },
1513                              "end": {
1514                                "line": 18,
1515                                "column": 16,
1516                                "program": "globalVarInLambdaInStatic.ets"
1517                              }
1518                            }
1519                          }
1520                        ],
1521                        "optional": false,
1522                        "loc": {
1523                          "start": {
1524                            "line": 18,
1525                            "column": 5,
1526                            "program": "globalVarInLambdaInStatic.ets"
1527                          },
1528                          "end": {
1529                            "line": 18,
1530                            "column": 17,
1531                            "program": "globalVarInLambdaInStatic.ets"
1532                          }
1533                        }
1534                      },
1535                      "loc": {
1536                        "start": {
1537                          "line": 18,
1538                          "column": 5,
1539                          "program": "globalVarInLambdaInStatic.ets"
1540                        },
1541                        "end": {
1542                          "line": 18,
1543                          "column": 18,
1544                          "program": "globalVarInLambdaInStatic.ets"
1545                        }
1546                      }
1547                    }
1548                  ],
1549                  "loc": {
1550                    "start": {
1551                      "line": 16,
1552                      "column": 52,
1553                      "program": "globalVarInLambdaInStatic.ets"
1554                    },
1555                    "end": {
1556                      "line": 19,
1557                      "column": 2,
1558                      "program": "globalVarInLambdaInStatic.ets"
1559                    }
1560                  }
1561                },
1562                "loc": {
1563                  "start": {
1564                    "line": 16,
1565                    "column": 10,
1566                    "program": "globalVarInLambdaInStatic.ets"
1567                  },
1568                  "end": {
1569                    "line": 19,
1570                    "column": 2,
1571                    "program": "globalVarInLambdaInStatic.ets"
1572                  }
1573                }
1574              },
1575              "loc": {
1576                "start": {
1577                  "line": 16,
1578                  "column": 10,
1579                  "program": "globalVarInLambdaInStatic.ets"
1580                },
1581                "end": {
1582                  "line": 19,
1583                  "column": 2,
1584                  "program": "globalVarInLambdaInStatic.ets"
1585                }
1586              }
1587            },
1588            "overloads": [],
1589            "decorators": [],
1590            "loc": {
1591              "start": {
1592                "line": 16,
1593                "column": 1,
1594                "program": "globalVarInLambdaInStatic.ets"
1595              },
1596              "end": {
1597                "line": 19,
1598                "column": 2,
1599                "program": "globalVarInLambdaInStatic.ets"
1600              }
1601            }
1602          },
1603          {
1604            "type": "MethodDefinition",
1605            "key": {
1606              "type": "Identifier",
1607              "name": "nativeModule",
1608              "decorators": [],
1609              "loc": {
1610                "start": {
1611                  "line": 25,
1612                  "column": 10,
1613                  "program": "globalVarInLambdaInStatic.ets"
1614                },
1615                "end": {
1616                  "line": 25,
1617                  "column": 22,
1618                  "program": "globalVarInLambdaInStatic.ets"
1619                }
1620              }
1621            },
1622            "kind": "method",
1623            "accessibility": "public",
1624            "static": true,
1625            "optional": false,
1626            "computed": false,
1627            "value": {
1628              "type": "FunctionExpression",
1629              "function": {
1630                "type": "ScriptFunction",
1631                "id": {
1632                  "type": "Identifier",
1633                  "name": "nativeModule",
1634                  "decorators": [],
1635                  "loc": {
1636                    "start": {
1637                      "line": 25,
1638                      "column": 10,
1639                      "program": "globalVarInLambdaInStatic.ets"
1640                    },
1641                    "end": {
1642                      "line": 25,
1643                      "column": 22,
1644                      "program": "globalVarInLambdaInStatic.ets"
1645                    }
1646                  }
1647                },
1648                "generator": false,
1649                "async": false,
1650                "expression": false,
1651                "params": [],
1652                "returnType": {
1653                  "type": "ETSTypeReference",
1654                  "part": {
1655                    "type": "ETSTypeReferencePart",
1656                    "name": {
1657                      "type": "Identifier",
1658                      "name": "NativeModule",
1659                      "decorators": [],
1660                      "loc": {
1661                        "start": {
1662                          "line": 25,
1663                          "column": 26,
1664                          "program": "globalVarInLambdaInStatic.ets"
1665                        },
1666                        "end": {
1667                          "line": 25,
1668                          "column": 38,
1669                          "program": "globalVarInLambdaInStatic.ets"
1670                        }
1671                      }
1672                    },
1673                    "loc": {
1674                      "start": {
1675                        "line": 25,
1676                        "column": 26,
1677                        "program": "globalVarInLambdaInStatic.ets"
1678                      },
1679                      "end": {
1680                        "line": 25,
1681                        "column": 40,
1682                        "program": "globalVarInLambdaInStatic.ets"
1683                      }
1684                    }
1685                  },
1686                  "loc": {
1687                    "start": {
1688                      "line": 25,
1689                      "column": 26,
1690                      "program": "globalVarInLambdaInStatic.ets"
1691                    },
1692                    "end": {
1693                      "line": 25,
1694                      "column": 40,
1695                      "program": "globalVarInLambdaInStatic.ets"
1696                    }
1697                  }
1698                },
1699                "body": {
1700                  "type": "BlockStatement",
1701                  "statements": [
1702                    {
1703                      "type": "ReturnStatement",
1704                      "argument": {
1705                        "type": "ETSNewClassInstanceExpression",
1706                        "typeReference": {
1707                          "type": "ETSTypeReference",
1708                          "part": {
1709                            "type": "ETSTypeReferencePart",
1710                            "name": {
1711                              "type": "Identifier",
1712                              "name": "NativeModule",
1713                              "decorators": [],
1714                              "loc": {
1715                                "start": {
1716                                  "line": 26,
1717                                  "column": 16,
1718                                  "program": "globalVarInLambdaInStatic.ets"
1719                                },
1720                                "end": {
1721                                  "line": 26,
1722                                  "column": 28,
1723                                  "program": "globalVarInLambdaInStatic.ets"
1724                                }
1725                              }
1726                            },
1727                            "loc": {
1728                              "start": {
1729                                "line": 26,
1730                                "column": 16,
1731                                "program": "globalVarInLambdaInStatic.ets"
1732                              },
1733                              "end": {
1734                                "line": 26,
1735                                "column": 29,
1736                                "program": "globalVarInLambdaInStatic.ets"
1737                              }
1738                            }
1739                          },
1740                          "loc": {
1741                            "start": {
1742                              "line": 26,
1743                              "column": 16,
1744                              "program": "globalVarInLambdaInStatic.ets"
1745                            },
1746                            "end": {
1747                              "line": 26,
1748                              "column": 29,
1749                              "program": "globalVarInLambdaInStatic.ets"
1750                            }
1751                          }
1752                        },
1753                        "arguments": [],
1754                        "loc": {
1755                          "start": {
1756                            "line": 26,
1757                            "column": 12,
1758                            "program": "globalVarInLambdaInStatic.ets"
1759                          },
1760                          "end": {
1761                            "line": 26,
1762                            "column": 31,
1763                            "program": "globalVarInLambdaInStatic.ets"
1764                          }
1765                        }
1766                      },
1767                      "loc": {
1768                        "start": {
1769                          "line": 26,
1770                          "column": 5,
1771                          "program": "globalVarInLambdaInStatic.ets"
1772                        },
1773                        "end": {
1774                          "line": 26,
1775                          "column": 31,
1776                          "program": "globalVarInLambdaInStatic.ets"
1777                        }
1778                      }
1779                    }
1780                  ],
1781                  "loc": {
1782                    "start": {
1783                      "line": 25,
1784                      "column": 39,
1785                      "program": "globalVarInLambdaInStatic.ets"
1786                    },
1787                    "end": {
1788                      "line": 27,
1789                      "column": 2,
1790                      "program": "globalVarInLambdaInStatic.ets"
1791                    }
1792                  }
1793                },
1794                "loc": {
1795                  "start": {
1796                    "line": 25,
1797                    "column": 10,
1798                    "program": "globalVarInLambdaInStatic.ets"
1799                  },
1800                  "end": {
1801                    "line": 27,
1802                    "column": 2,
1803                    "program": "globalVarInLambdaInStatic.ets"
1804                  }
1805                }
1806              },
1807              "loc": {
1808                "start": {
1809                  "line": 25,
1810                  "column": 10,
1811                  "program": "globalVarInLambdaInStatic.ets"
1812                },
1813                "end": {
1814                  "line": 27,
1815                  "column": 2,
1816                  "program": "globalVarInLambdaInStatic.ets"
1817                }
1818              }
1819            },
1820            "overloads": [],
1821            "decorators": [],
1822            "loc": {
1823              "start": {
1824                "line": 25,
1825                "column": 1,
1826                "program": "globalVarInLambdaInStatic.ets"
1827              },
1828              "end": {
1829                "line": 27,
1830                "column": 2,
1831                "program": "globalVarInLambdaInStatic.ets"
1832              }
1833            }
1834          }
1835        ],
1836        "loc": {
1837          "start": {
1838            "line": 1,
1839            "column": 1,
1840            "program": "globalVarInLambdaInStatic.ets"
1841          },
1842          "end": {
1843            "line": 1,
1844            "column": 1,
1845            "program": "globalVarInLambdaInStatic.ets"
1846          }
1847        }
1848      },
1849      "loc": {
1850        "start": {
1851          "line": 1,
1852          "column": 1,
1853          "program": "globalVarInLambdaInStatic.ets"
1854        },
1855        "end": {
1856          "line": 1,
1857          "column": 1,
1858          "program": "globalVarInLambdaInStatic.ets"
1859        }
1860      }
1861    }
1862  ],
1863  "loc": {
1864    "start": {
1865      "line": 1,
1866      "column": 1,
1867      "program": "globalVarInLambdaInStatic.ets"
1868    },
1869    "end": {
1870      "line": 36,
1871      "column": 1,
1872      "program": "globalVarInLambdaInStatic.ets"
1873    }
1874  }
1875}
1876