/
output.json
242 lines (242 loc) 路 8.25 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
{
"type": "File",
"start":0,"end":137,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":43}},
"program": {
"type": "Program",
"start":0,"end":137,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":43}},
"sourceType": "module",
"interpreter": null,
"body": [
{
"type": "ExportNamedDeclaration",
"start":6,"end":93,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":93}},
"leadingComments": [
{
"type": "CommentBlock",
"value": "1",
"start":0,"end":5,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "1",
"start":94,"end":99,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}
}
],
"exportKind": "value",
"specifiers": [
{
"type": "ExportSpecifier",
"start":27,"end":28,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":28}},
"leadingComments": [
{
"type": "CommentBlock",
"value": "2",
"start":13,"end":18,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":18}}
},
{
"type": "CommentBlock",
"value": "3",
"start":21,"end":26,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":26}}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "4",
"start":29,"end":34,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":34}}
},
{
"type": "CommentBlock",
"value": "5",
"start":36,"end":41,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":41}}
}
],
"local": {
"type": "Identifier",
"start":27,"end":28,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":28},"identifierName":"A"},
"name": "A"
},
"exported": {
"type": "Identifier",
"start":27,"end":28,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":28},"identifierName":"A"},
"name": "A"
}
},
{
"type": "ExportSpecifier",
"start":42,"end":60,"loc":{"start":{"line":1,"column":42},"end":{"line":1,"column":60}},
"trailingComments": [
{
"type": "CommentBlock",
"value": "8",
"start":61,"end":66,"loc":{"start":{"line":1,"column":61},"end":{"line":1,"column":66}}
},
{
"type": "CommentBlock",
"value": "9",
"start":69,"end":74,"loc":{"start":{"line":1,"column":69},"end":{"line":1,"column":74}}
},
{
"type": "CommentBlock",
"value": "10",
"start":80,"end":86,"loc":{"start":{"line":1,"column":80},"end":{"line":1,"column":86}}
}
],
"local": {
"type": "Identifier",
"start":42,"end":43,"loc":{"start":{"line":1,"column":42},"end":{"line":1,"column":43},"identifierName":"B"},
"trailingComments": [
{
"type": "CommentBlock",
"value": "6",
"start":44,"end":49,"loc":{"start":{"line":1,"column":44},"end":{"line":1,"column":49}}
}
],
"name": "B"
},
"exported": {
"type": "Identifier",
"start":59,"end":60,"loc":{"start":{"line":1,"column":59},"end":{"line":1,"column":60},"identifierName":"C"},
"leadingComments": [
{
"type": "CommentBlock",
"value": "6",
"start":44,"end":49,"loc":{"start":{"line":1,"column":44},"end":{"line":1,"column":49}}
},
{
"type": "CommentBlock",
"value": "7",
"start":53,"end":58,"loc":{"start":{"line":1,"column":53},"end":{"line":1,"column":58}}
}
],
"name": "C"
}
}
],
"source": {
"type": "StringLiteral",
"start":87,"end":92,"loc":{"start":{"line":1,"column":87},"end":{"line":1,"column":92}},
"extra": {
"rawValue": "foo",
"raw": "\"foo\""
},
"value": "foo"
},
"declaration": null
},
{
"type": "ExportAllDeclaration",
"start":100,"end":137,"loc":{"start":{"line":2,"column":6},"end":{"line":2,"column":43}},
"leadingComments": [
{
"type": "CommentBlock",
"value": "1",
"start":94,"end":99,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}
}
],
"exportKind": "value",
"source": {
"type": "StringLiteral",
"start":132,"end":137,"loc":{"start":{"line":2,"column":38},"end":{"line":2,"column":43}},
"leadingComments": [
{
"type": "CommentBlock",
"value": "2",
"start":107,"end":112,"loc":{"start":{"line":2,"column":13},"end":{"line":2,"column":18}}
},
{
"type": "CommentBlock",
"value": "3",
"start":115,"end":120,"loc":{"start":{"line":2,"column":21},"end":{"line":2,"column":26}}
},
{
"type": "CommentBlock",
"value": "4",
"start":126,"end":131,"loc":{"start":{"line":2,"column":32},"end":{"line":2,"column":37}}
}
],
"extra": {
"rawValue": "foo",
"raw": "\"foo\""
},
"value": "foo"
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "1",
"start":0,"end":5,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":5}}
},
{
"type": "CommentBlock",
"value": "2",
"start":13,"end":18,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":18}}
},
{
"type": "CommentBlock",
"value": "3",
"start":21,"end":26,"loc":{"start":{"line":1,"column":21},"end":{"line":1,"column":26}}
},
{
"type": "CommentBlock",
"value": "4",
"start":29,"end":34,"loc":{"start":{"line":1,"column":29},"end":{"line":1,"column":34}}
},
{
"type": "CommentBlock",
"value": "5",
"start":36,"end":41,"loc":{"start":{"line":1,"column":36},"end":{"line":1,"column":41}}
},
{
"type": "CommentBlock",
"value": "6",
"start":44,"end":49,"loc":{"start":{"line":1,"column":44},"end":{"line":1,"column":49}}
},
{
"type": "CommentBlock",
"value": "7",
"start":53,"end":58,"loc":{"start":{"line":1,"column":53},"end":{"line":1,"column":58}}
},
{
"type": "CommentBlock",
"value": "8",
"start":61,"end":66,"loc":{"start":{"line":1,"column":61},"end":{"line":1,"column":66}}
},
{
"type": "CommentBlock",
"value": "9",
"start":69,"end":74,"loc":{"start":{"line":1,"column":69},"end":{"line":1,"column":74}}
},
{
"type": "CommentBlock",
"value": "10",
"start":80,"end":86,"loc":{"start":{"line":1,"column":80},"end":{"line":1,"column":86}}
},
{
"type": "CommentBlock",
"value": "1",
"start":94,"end":99,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":5}}
},
{
"type": "CommentBlock",
"value": "2",
"start":107,"end":112,"loc":{"start":{"line":2,"column":13},"end":{"line":2,"column":18}}
},
{
"type": "CommentBlock",
"value": "3",
"start":115,"end":120,"loc":{"start":{"line":2,"column":21},"end":{"line":2,"column":26}}
},
{
"type": "CommentBlock",
"value": "4",
"start":126,"end":131,"loc":{"start":{"line":2,"column":32},"end":{"line":2,"column":37}}
}
]
}