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