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": "foo",
30              "decorators": [],
31              "loc": {
32                "start": {
33                  "line": 16,
34                  "column": 18
35                },
36                "end": {
37                  "line": 16,
38                  "column": 21
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": "foo",
54                  "decorators": [],
55                  "loc": {
56                    "start": {
57                      "line": 16,
58                      "column": 18
59                    },
60                    "end": {
61                      "line": 16,
62                      "column": 21
63                    }
64                  }
65                },
66                "generator": false,
67                "async": false,
68                "expression": false,
69                "params": [
70                  {
71                    "type": "ETSParameterExpression",
72                    "name": {
73                      "type": "Identifier",
74                      "name": "p",
75                      "typeAnnotation": {
76                        "type": "ETSTypeReference",
77                        "part": {
78                          "type": "ETSTypeReferencePart",
79                          "name": {
80                            "type": "Identifier",
81                            "name": "string",
82                            "decorators": [],
83                            "loc": {
84                              "start": {
85                                "line": 16,
86                                "column": 25
87                              },
88                              "end": {
89                                "line": 16,
90                                "column": 31
91                              }
92                            }
93                          },
94                          "loc": {
95                            "start": {
96                              "line": 16,
97                              "column": 25
98                            },
99                            "end": {
100                              "line": 16,
101                              "column": 32
102                            }
103                          }
104                        },
105                        "loc": {
106                          "start": {
107                            "line": 16,
108                            "column": 25
109                          },
110                          "end": {
111                            "line": 16,
112                            "column": 32
113                          }
114                        }
115                      },
116                      "decorators": [],
117                      "loc": {
118                        "start": {
119                          "line": 16,
120                          "column": 22
121                        },
122                        "end": {
123                          "line": 16,
124                          "column": 32
125                        }
126                      }
127                    },
128                    "loc": {
129                      "start": {
130                        "line": 16,
131                        "column": 22
132                      },
133                      "end": {
134                        "line": 16,
135                        "column": 32
136                      }
137                    }
138                  }
139                ],
140                "returnType": {
141                  "type": "ETSPrimitiveType",
142                  "loc": {
143                    "start": {
144                      "line": 16,
145                      "column": 34
146                    },
147                    "end": {
148                      "line": 16,
149                      "column": 38
150                    }
151                  }
152                },
153                "declare": true,
154                "loc": {
155                  "start": {
156                    "line": 16,
157                    "column": 21
158                  },
159                  "end": {
160                    "line": 16,
161                    "column": 21
162                  }
163                }
164              },
165              "loc": {
166                "start": {
167                  "line": 16,
168                  "column": 21
169                },
170                "end": {
171                  "line": 16,
172                  "column": 21
173                }
174              }
175            },
176            "overloads": [],
177            "decorators": [],
178            "loc": {
179              "start": {
180                "line": 16,
181                "column": 1
182              },
183              "end": {
184                "line": 16,
185                "column": 21
186              }
187            }
188          }
189        ],
190        "loc": {
191          "start": {
192            "line": 1,
193            "column": 1
194          },
195          "end": {
196            "line": 1,
197            "column": 1
198          }
199        }
200      },
201      "loc": {
202        "start": {
203          "line": 1,
204          "column": 1
205        },
206        "end": {
207          "line": 1,
208          "column": 1
209        }
210      }
211    }
212  ],
213  "loc": {
214    "start": {
215      "line": 1,
216      "column": 1
217    },
218    "end": {
219      "line": 17,
220      "column": 1
221    }
222  }
223}
224