• 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": "C",
10          "loc": {
11            "start": {
12              "line": 17,
13              "column": 7
14            },
15            "end": {
16              "line": 17,
17              "column": 8
18            }
19          }
20        },
21        "superClass": null,
22        "implements": [],
23        "constructor": {
24          "type": "MethodDefinition",
25          "key": {
26            "type": "Identifier",
27            "name": "constructor",
28            "loc": {
29              "start": {
30                "line": 1,
31                "column": 1
32              },
33              "end": {
34                "line": 1,
35                "column": 1
36              }
37            }
38          },
39          "kind": "constructor",
40          "static": false,
41          "optional": false,
42          "computed": false,
43          "value": {
44            "type": "FunctionExpression",
45            "function": {
46              "type": "ScriptFunction",
47              "id": null,
48              "generator": false,
49              "async": false,
50              "expression": false,
51              "params": [],
52              "body": {
53                "type": "BlockStatement",
54                "statements": [],
55                "loc": {
56                  "start": {
57                    "line": 1,
58                    "column": 1
59                  },
60                  "end": {
61                    "line": 1,
62                    "column": 1
63                  }
64                }
65              },
66              "loc": {
67                "start": {
68                  "line": 1,
69                  "column": 1
70                },
71                "end": {
72                  "line": 1,
73                  "column": 1
74                }
75              }
76            },
77            "loc": {
78              "start": {
79                "line": 1,
80                "column": 1
81              },
82              "end": {
83                "line": 1,
84                "column": 1
85              }
86            }
87          },
88          "overloads": [],
89          "decorators": [],
90          "loc": {
91            "start": {
92              "line": 17,
93              "column": 1
94            },
95            "end": {
96              "line": 19,
97              "column": 2
98            }
99          }
100        },
101        "body": [
102          {
103            "type": "MethodDefinition",
104            "key": {
105              "type": "Identifier",
106              "name": "get",
107              "loc": {
108                "start": {
109                  "line": 18,
110                  "column": 5
111                },
112                "end": {
113                  "line": 18,
114                  "column": 8
115                }
116              }
117            },
118            "kind": "method",
119            "static": false,
120            "optional": false,
121            "computed": false,
122            "value": {
123              "type": "FunctionExpression",
124              "function": {
125                "type": "ScriptFunction",
126                "id": null,
127                "generator": false,
128                "async": false,
129                "expression": false,
130                "params": [],
131                "typeParameters": {
132                  "type": "TSTypeParameterDeclaration",
133                  "params": [
134                    {
135                      "type": "TSTypeParameter",
136                      "name": {
137                        "type": "Identifier",
138                        "name": "T",
139                        "loc": {
140                          "start": {
141                            "line": 18,
142                            "column": 9
143                          },
144                          "end": {
145                            "line": 18,
146                            "column": 10
147                          }
148                        }
149                      },
150                      "in": false,
151                      "out": false,
152                      "loc": {
153                        "start": {
154                          "line": 18,
155                          "column": 9
156                        },
157                        "end": {
158                          "line": 18,
159                          "column": 11
160                        }
161                      }
162                    }
163                  ],
164                  "loc": {
165                    "start": {
166                      "line": 18,
167                      "column": 8
168                    },
169                    "end": {
170                      "line": 18,
171                      "column": 11
172                    }
173                  }
174                },
175                "body": {
176                  "type": "BlockStatement",
177                  "statements": [],
178                  "loc": {
179                    "start": {
180                      "line": 18,
181                      "column": 14
182                    },
183                    "end": {
184                      "line": 18,
185                      "column": 16
186                    }
187                  }
188                },
189                "loc": {
190                  "start": {
191                    "line": 18,
192                    "column": 8
193                  },
194                  "end": {
195                    "line": 18,
196                    "column": 16
197                  }
198                }
199              },
200              "loc": {
201                "start": {
202                  "line": 18,
203                  "column": 8
204                },
205                "end": {
206                  "line": 18,
207                  "column": 16
208                }
209              }
210            },
211            "overloads": [],
212            "decorators": [],
213            "loc": {
214              "start": {
215                "line": 18,
216                "column": 5
217              },
218              "end": {
219                "line": 18,
220                "column": 16
221              }
222            }
223          }
224        ],
225        "indexSignatures": [],
226        "loc": {
227          "start": {
228            "line": 17,
229            "column": 8
230          },
231          "end": {
232            "line": 19,
233            "column": 2
234          }
235        }
236      },
237      "decorators": [],
238      "loc": {
239        "start": {
240          "line": 17,
241          "column": 1
242        },
243        "end": {
244          "line": 19,
245          "column": 2
246        }
247      }
248    }
249  ],
250  "loc": {
251    "start": {
252      "line": 1,
253      "column": 1
254    },
255    "end": {
256      "line": 20,
257      "column": 1
258    }
259  }
260}
261