• 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                      "loc": {
151                        "start": {
152                          "line": 18,
153                          "column": 9
154                        },
155                        "end": {
156                          "line": 18,
157                          "column": 11
158                        }
159                      }
160                    }
161                  ],
162                  "loc": {
163                    "start": {
164                      "line": 18,
165                      "column": 8
166                    },
167                    "end": {
168                      "line": 18,
169                      "column": 11
170                    }
171                  }
172                },
173                "body": {
174                  "type": "BlockStatement",
175                  "statements": [],
176                  "loc": {
177                    "start": {
178                      "line": 18,
179                      "column": 14
180                    },
181                    "end": {
182                      "line": 18,
183                      "column": 16
184                    }
185                  }
186                },
187                "loc": {
188                  "start": {
189                    "line": 18,
190                    "column": 8
191                  },
192                  "end": {
193                    "line": 18,
194                    "column": 16
195                  }
196                }
197              },
198              "loc": {
199                "start": {
200                  "line": 18,
201                  "column": 8
202                },
203                "end": {
204                  "line": 18,
205                  "column": 16
206                }
207              }
208            },
209            "overloads": [],
210            "decorators": [],
211            "loc": {
212              "start": {
213                "line": 18,
214                "column": 5
215              },
216              "end": {
217                "line": 18,
218                "column": 16
219              }
220            }
221          }
222        ],
223        "indexSignatures": [],
224        "loc": {
225          "start": {
226            "line": 17,
227            "column": 8
228          },
229          "end": {
230            "line": 19,
231            "column": 2
232          }
233        }
234      },
235      "decorators": [],
236      "loc": {
237        "start": {
238          "line": 17,
239          "column": 1
240        },
241        "end": {
242          "line": 19,
243          "column": 2
244        }
245      }
246    }
247  ],
248  "loc": {
249    "start": {
250      "line": 1,
251      "column": 1
252    },
253    "end": {
254      "line": 20,
255      "column": 1
256    }
257  }
258}
259