Debian Codegraph @

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