Debian Codegraph @

tests/fixtures/ecma-version/6/modules/export-from-specifiers.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 29
11 }
12 },
13 "range": [
14 0,
15 29
16 ],
17 "body": [
18 {
19 "type": "ExportNamedDeclaration",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 29
28 }
29 },
30 "range": [
31 0,
32 29
33 ],
34 "declaration": null,
35 "specifiers": [
36 {
37 "type": "ExportSpecifier",
38 "loc": {
39 "start": {
40 "line": 1,
41 "column": 8
42 },
43 "end": {
44 "line": 1,
45 "column": 11
46 }
47 },
48 "range": [
49 8,
50 11
51 ],
52 "local": {
53 "type": "Identifier",
54 "loc": {
55 "start": {
56 "line": 1,
57 "column": 8
58 },
59 "end": {
60 "line": 1,
61 "column": 11
62 }
63 },
64 "range": [
65 8,
66 11
67 ],
68 "name": "foo"
69 },
70 "exported": {
71 "type": "Identifier",
72 "loc": {
73 "start": {
74 "line": 1,
75 "column": 8
76 },
77 "end": {
78 "line": 1,
79 "column": 11
80 }
81 },
82 "range": [
83 8,
84 11
85 ],
86 "name": "foo"
87 }
88 },
89 {
90 "type": "ExportSpecifier",
91 "loc": {
92 "start": {
93 "line": 1,
94 "column": 13
95 },
96 "end": {
97 "line": 1,
98 "column": 16
99 }
100 },
101 "range": [
102 13,
103 16
104 ],
105 "local": {
106 "type": "Identifier",
107 "loc": {
108 "start": {
109 "line": 1,
110 "column": 13
111 },
112 "end": {
113 "line": 1,
114 "column": 16
115 }
116 },
117 "range": [
118 13,
119 16
120 ],
121 "name": "bar"
122 },
123 "exported": {
124 "type": "Identifier",
125 "loc": {
126 "start": {
127 "line": 1,
128 "column": 13
129 },
130 "end": {
131 "line": 1,
132 "column": 16
133 }
134 },
135 "range": [
136 13,
137 16
138 ],
139 "name": "bar"
140 }
141 }
142 ],
143 "source": {
144 "type": "Literal",
145 "loc": {
146 "start": {
147 "line": 1,
148 "column": 23
149 },
150 "end": {
151 "line": 1,
152 "column": 28
153 }
154 },
155 "range": [
156 23,
157 28
158 ],
159 "value": "foo",
160 "raw": "\"foo\""
161 }
162 }
163 ],
164 "sourceType": "module",
165 "tokens": [
166 {
167 "type": "Keyword",
168 "value": "export",
169 "loc": {
170 "start": {
171 "line": 1,
172 "column": 0
173 },
174 "end": {
175 "line": 1,
176 "column": 6
177 }
178 },
179 "range": [
180 0,
181 6
182 ]
183 },
184 {
185 "type": "Punctuator",
186 "value": "{",
187 "loc": {
188 "start": {
189 "line": 1,
190 "column": 7
191 },
192 "end": {
193 "line": 1,
194 "column": 8
195 }
196 },
197 "range": [
198 7,
199 8
200 ]
201 },
202 {
203 "type": "Identifier",
204 "value": "foo",
205 "loc": {
206 "start": {
207 "line": 1,
208 "column": 8
209 },
210 "end": {
211 "line": 1,
212 "column": 11
213 }
214 },
215 "range": [
216 8,
217 11
218 ]
219 },
220 {
221 "type": "Punctuator",
222 "value": ",",
223 "loc": {
224 "start": {
225 "line": 1,
226 "column": 11
227 },
228 "end": {
229 "line": 1,
230 "column": 12
231 }
232 },
233 "range": [
234 11,
235 12
236 ]
237 },
238 {
239 "type": "Identifier",
240 "value": "bar",
241 "loc": {
242 "start": {
243 "line": 1,
244 "column": 13
245 },
246 "end": {
247 "line": 1,
248 "column": 16
249 }
250 },
251 "range": [
252 13,
253 16
254 ]
255 },
256 {
257 "type": "Punctuator",
258 "value": "}",
259 "loc": {
260 "start": {
261 "line": 1,
262 "column": 16
263 },
264 "end": {
265 "line": 1,
266 "column": 17
267 }
268 },
269 "range": [
270 16,
271 17
272 ]
273 },
274 {
275 "type": "Identifier",
276 "value": "from",
277 "loc": {
278 "start": {
279 "line": 1,
280 "column": 18
281 },
282 "end": {
283 "line": 1,
284 "column": 22
285 }
286 },
287 "range": [
288 18,
289 22
290 ]
291 },
292 {
293 "type": "String",
294 "value": "\"foo\"",
295 "loc": {
296 "start": {
297 "line": 1,
298 "column": 23
299 },
300 "end": {
301 "line": 1,
302 "column": 28
303 }
304 },
305 "range": [
306 23,
307 28
308 ]
309 },
310 {
311 "type": "Punctuator",
312 "value": ";",
313 "loc": {
314 "start": {
315 "line": 1,
316 "column": 28
317 },
318 "end": {
319 "line": 1,
320 "column": 29
321 }
322 },
323 "range": [
324 28,
325 29
326 ]
327 }
328 ]
329 };