Debian Codegraph @

tests/fixtures/ecma-version/9/spread-property/valid-1.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": 10
11 }
12 },
13 "range": [
14 0,
15 10
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": 10
28 }
29 },
30 "range": [
31 0,
32 10
33 ],
34 "expression": {
35 "type": "ObjectExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 1
40 },
41 "end": {
42 "line": 1,
43 "column": 9
44 }
45 },
46 "range": [
47 1,
48 9
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": 8
61 }
62 },
63 "range": [
64 2,
65 8
66 ],
67 "argument": {
68 "type": "Identifier",
69 "loc": {
70 "start": {
71 "line": 1,
72 "column": 5
73 },
74 "end": {
75 "line": 1,
76 "column": 8
77 }
78 },
79 "range": [
80 5,
81 8
82 ],
83 "name": "obj"
84 }
85 }
86 ]
87 }
88 }
89 ],
90 "sourceType": "script",
91 "tokens": [
92 {
93 "type": "Punctuator",
94 "value": "(",
95 "loc": {
96 "start": {
97 "line": 1,
98 "column": 0
99 },
100 "end": {
101 "line": 1,
102 "column": 1
103 }
104 },
105 "range": [
106 0,
107 1
108 ]
109 },
110 {
111 "type": "Punctuator",
112 "value": "{",
113 "loc": {
114 "start": {
115 "line": 1,
116 "column": 1
117 },
118 "end": {
119 "line": 1,
120 "column": 2
121 }
122 },
123 "range": [
124 1,
125 2
126 ]
127 },
128 {
129 "type": "Punctuator",
130 "value": "...",
131 "loc": {
132 "start": {
133 "line": 1,
134 "column": 2
135 },
136 "end": {
137 "line": 1,
138 "column": 5
139 }
140 },
141 "range": [
142 2,
143 5
144 ]
145 },
146 {
147 "type": "Identifier",
148 "value": "obj",
149 "loc": {
150 "start": {
151 "line": 1,
152 "column": 5
153 },
154 "end": {
155 "line": 1,
156 "column": 8
157 }
158 },
159 "range": [
160 5,
161 8
162 ]
163 },
164 {
165 "type": "Punctuator",
166 "value": "}",
167 "loc": {
168 "start": {
169 "line": 1,
170 "column": 8
171 },
172 "end": {
173 "line": 1,
174 "column": 9
175 }
176 },
177 "range": [
178 8,
179 9
180 ]
181 },
182 {
183 "type": "Punctuator",
184 "value": ")",
185 "loc": {
186 "start": {
187 "line": 1,
188 "column": 9
189 },
190 "end": {
191 "line": 1,
192 "column": 10
193 }
194 },
195 "range": [
196 9,
197 10
198 ]
199 }
200 ]
201 };