Debian Codegraph @

tests/fixtures/ecma-version/9/spread-property/valid-a-b-c.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": 12
11 }
12 },
13 "range": [
14 0,
15 12
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 12
28 }
29 },
30 "range": [
31 0,
32 12
33 ],
34 "expression": {
35 "type": "ObjectExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 1
40 },
41 "end": {
42 "line": 1,
43 "column": 11
44 }
45 },
46 "range": [
47 1,
48 11
49 ],
50 "properties": [
51 {
52 "type": "SpreadElement",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 2
57 },
58 "end": {
59 "line": 1,
60 "column": 6
61 }
62 },
63 "range": [
64 2,
65 6
66 ],
67 "argument": {
68 "type": "Identifier",
69 "loc": {
70 "start": {
71 "line": 1,
72 "column": 5
73 },
74 "end": {
75 "line": 1,
76 "column": 6
77 }
78 },
79 "range": [
80 5,
81 6
82 ],
83 "name": "a"
84 }
85 },
86 {
87 "type": "Property",
88 "loc": {
89 "start": {
90 "line": 1,
91 "column": 7
92 },
93 "end": {
94 "line": 1,
95 "column": 8
96 }
97 },
98 "range": [
99 7,
100 8
101 ],
102 "method": false,
103 "shorthand": true,
104 "computed": false,
105 "key": {
106 "type": "Identifier",
107 "loc": {
108 "start": {
109 "line": 1,
110 "column": 7
111 },
112 "end": {
113 "line": 1,
114 "column": 8
115 }
116 },
117 "range": [
118 7,
119 8
120 ],
121 "name": "b"
122 },
123 "kind": "init",
124 "value": {
125 "type": "Identifier",
126 "loc": {
127 "start": {
128 "line": 1,
129 "column": 7
130 },
131 "end": {
132 "line": 1,
133 "column": 8
134 }
135 },
136 "range": [
137 7,
138 8
139 ],
140 "name": "b"
141 }
142 },
143 {
144 "type": "Property",
145 "loc": {
146 "start": {
147 "line": 1,
148 "column": 9
149 },
150 "end": {
151 "line": 1,
152 "column": 10
153 }
154 },
155 "range": [
156 9,
157 10
158 ],
159 "method": false,
160 "shorthand": true,
161 "computed": false,
162 "key": {
163 "type": "Identifier",
164 "loc": {
165 "start": {
166 "line": 1,
167 "column": 9
168 },
169 "end": {
170 "line": 1,
171 "column": 10
172 }
173 },
174 "range": [
175 9,
176 10
177 ],
178 "name": "c"
179 },
180 "kind": "init",
181 "value": {
182 "type": "Identifier",
183 "loc": {
184 "start": {
185 "line": 1,
186 "column": 9
187 },
188 "end": {
189 "line": 1,
190 "column": 10
191 }
192 },
193 "range": [
194 9,
195 10
196 ],
197 "name": "c"
198 }
199 }
200 ]
201 }
202 }
203 ],
204 "sourceType": "script",
205 "tokens": [
206 {
207 "type": "Punctuator",
208 "value": "(",
209 "loc": {
210 "start": {
211 "line": 1,
212 "column": 0
213 },
214 "end": {
215 "line": 1,
216 "column": 1
217 }
218 },
219 "range": [
220 0,
221 1
222 ]
223 },
224 {
225 "type": "Punctuator",
226 "value": "{",
227 "loc": {
228 "start": {
229 "line": 1,
230 "column": 1
231 },
232 "end": {
233 "line": 1,
234 "column": 2
235 }
236 },
237 "range": [
238 1,
239 2
240 ]
241 },
242 {
243 "type": "Punctuator",
244 "value": "...",
245 "loc": {
246 "start": {
247 "line": 1,
248 "column": 2
249 },
250 "end": {
251 "line": 1,
252 "column": 5
253 }
254 },
255 "range": [
256 2,
257 5
258 ]
259 },
260 {
261 "type": "Identifier",
262 "value": "a",
263 "loc": {
264 "start": {
265 "line": 1,
266 "column": 5
267 },
268 "end": {
269 "line": 1,
270 "column": 6
271 }
272 },
273 "range": [
274 5,
275 6
276 ]
277 },
278 {
279 "type": "Punctuator",
280 "value": ",",
281 "loc": {
282 "start": {
283 "line": 1,
284 "column": 6
285 },
286 "end": {
287 "line": 1,
288 "column": 7
289 }
290 },
291 "range": [
292 6,
293 7
294 ]
295 },
296 {
297 "type": "Identifier",
298 "value": "b",
299 "loc": {
300 "start": {
301 "line": 1,
302 "column": 7
303 },
304 "end": {
305 "line": 1,
306 "column": 8
307 }
308 },
309 "range": [
310 7,
311 8
312 ]
313 },
314 {
315 "type": "Punctuator",
316 "value": ",",
317 "loc": {
318 "start": {
319 "line": 1,
320 "column": 8
321 },
322 "end": {
323 "line": 1,
324 "column": 9
325 }
326 },
327 "range": [
328 8,
329 9
330 ]
331 },
332 {
333 "type": "Identifier",
334 "value": "c",
335 "loc": {
336 "start": {
337 "line": 1,
338 "column": 9
339 },
340 "end": {
341 "line": 1,
342 "column": 10
343 }
344 },
345 "range": [
346 9,
347 10
348 ]
349 },
350 {
351 "type": "Punctuator",
352 "value": "}",
353 "loc": {
354 "start": {
355 "line": 1,
356 "column": 10
357 },
358 "end": {
359 "line": 1,
360 "column": 11
361 }
362 },
363 "range": [
364 10,
365 11
366 ]
367 },
368 {
369 "type": "Punctuator",
370 "value": ")",
371 "loc": {
372 "start": {
373 "line": 1,
374 "column": 11
375 },
376 "end": {
377 "line": 1,
378 "column": 12
379 }
380 },
381 "range": [
382 11,
383 12
384 ]
385 }
386 ]
387 };