• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "ExportDefaultDeclaration",
6      "declaration": {
7        "type": "TSDeclareFunction",
8        "function": {
9          "type": "ScriptFunction",
10          "id": {
11            "type": "Identifier",
12            "name": "f",
13            "loc": {
14              "start": {
15                "line": 17,
16                "column": 25
17              },
18              "end": {
19                "line": 17,
20                "column": 26
21              }
22            }
23          },
24          "generator": false,
25          "async": false,
26          "expression": false,
27          "params": [
28            {
29              "type": "Identifier",
30              "name": "x",
31              "typeAnnotation": {
32                "type": "TSNumberKeyword",
33                "loc": {
34                  "start": {
35                    "line": 17,
36                    "column": 31
37                  },
38                  "end": {
39                    "line": 17,
40                    "column": 37
41                  }
42                }
43              },
44              "loc": {
45                "start": {
46                  "line": 17,
47                  "column": 27
48                },
49                "end": {
50                  "line": 17,
51                  "column": 28
52                }
53              }
54            }
55          ],
56          "loc": {
57            "start": {
58              "line": 17,
59              "column": 16
60            },
61            "end": {
62              "line": 17,
63              "column": 39
64            }
65          }
66        },
67        "loc": {
68          "start": {
69            "line": 17,
70            "column": 16
71          },
72          "end": {
73            "line": 17,
74            "column": 39
75          }
76        }
77      },
78      "loc": {
79        "start": {
80          "line": 17,
81          "column": 1
82        },
83        "end": {
84          "line": 17,
85          "column": 39
86        }
87      }
88    },
89    {
90      "type": "ExportDefaultDeclaration",
91      "declaration": {
92        "type": "TSDeclareFunction",
93        "function": {
94          "type": "ScriptFunction",
95          "id": {
96            "type": "Identifier",
97            "name": "f",
98            "loc": {
99              "start": {
100                "line": 18,
101                "column": 25
102              },
103              "end": {
104                "line": 18,
105                "column": 26
106              }
107            }
108          },
109          "generator": false,
110          "async": false,
111          "expression": false,
112          "params": [
113            {
114              "type": "Identifier",
115              "name": "x",
116              "typeAnnotation": {
117                "type": "TSStringKeyword",
118                "loc": {
119                  "start": {
120                    "line": 18,
121                    "column": 31
122                  },
123                  "end": {
124                    "line": 18,
125                    "column": 37
126                  }
127                }
128              },
129              "loc": {
130                "start": {
131                  "line": 18,
132                  "column": 27
133                },
134                "end": {
135                  "line": 18,
136                  "column": 28
137                }
138              }
139            }
140          ],
141          "loc": {
142            "start": {
143              "line": 18,
144              "column": 16
145            },
146            "end": {
147              "line": 18,
148              "column": 39
149            }
150          }
151        },
152        "loc": {
153          "start": {
154            "line": 18,
155            "column": 16
156          },
157          "end": {
158            "line": 18,
159            "column": 39
160          }
161        }
162      },
163      "loc": {
164        "start": {
165          "line": 18,
166          "column": 1
167        },
168        "end": {
169          "line": 18,
170          "column": 39
171        }
172      }
173    },
174    {
175      "type": "ExportDefaultDeclaration",
176      "declaration": {
177        "type": "FunctionDeclaration",
178        "function": {
179          "type": "ScriptFunction",
180          "id": {
181            "type": "Identifier",
182            "name": "f",
183            "loc": {
184              "start": {
185                "line": 19,
186                "column": 25
187              },
188              "end": {
189                "line": 19,
190                "column": 26
191              }
192            }
193          },
194          "generator": false,
195          "async": false,
196          "expression": false,
197          "params": [
198            {
199              "type": "Identifier",
200              "name": "x",
201              "typeAnnotation": {
202                "type": "TSAnyKeyword",
203                "loc": {
204                  "start": {
205                    "line": 19,
206                    "column": 31
207                  },
208                  "end": {
209                    "line": 19,
210                    "column": 34
211                  }
212                }
213              },
214              "loc": {
215                "start": {
216                  "line": 19,
217                  "column": 27
218                },
219                "end": {
220                  "line": 19,
221                  "column": 28
222                }
223              }
224            }
225          ],
226          "body": {
227            "type": "BlockStatement",
228            "statements": [],
229            "loc": {
230              "start": {
231                "line": 19,
232                "column": 36
233              },
234              "end": {
235                "line": 19,
236                "column": 38
237              }
238            }
239          },
240          "loc": {
241            "start": {
242              "line": 19,
243              "column": 16
244            },
245            "end": {
246              "line": 19,
247              "column": 38
248            }
249          }
250        },
251        "loc": {
252          "start": {
253            "line": 19,
254            "column": 16
255          },
256          "end": {
257            "line": 19,
258            "column": 38
259          }
260        }
261      },
262      "loc": {
263        "start": {
264          "line": 19,
265          "column": 1
266        },
267        "end": {
268          "line": 19,
269          "column": 38
270        }
271      }
272    }
273  ],
274  "loc": {
275    "start": {
276      "line": 1,
277      "column": 1
278    },
279    "end": {
280      "line": 21,
281      "column": 1
282    }
283  }
284}
285