Debian Codegraph @

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