Debian Codegraph @

tests/fixtures/ecma-version/8/not-strict/async-shorthand-property-3.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": 18
11 }
12 },
13 "range": [
14 0,
15 18
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": 18
28 }
29 },
30 "range": [
31 0,
32 18
33 ],
34 "expression": {
35 "type": "AssignmentExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 1
40 },
41 "end": {
42 "line": 1,
43 "column": 17
44 }
45 },
46 "range": [
47 1,
48 17
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": 12
61 }
62 },
63 "range": [
64 1,
65 12
66 ],
67 "properties": [
68 {
69 "type": "Property",
70 "loc": {
71 "start": {
72 "line": 1,
73 "column": 2
74 },
75 "end": {
76 "line": 1,
77 "column": 11
78 }
79 },
80 "range": [
81 2,
82 11
83 ],
84 "method": false,
85 "shorthand": true,
86 "computed": false,
87 "key": {
88 "type": "Identifier",
89 "loc": {
90 "start": {
91 "line": 1,
92 "column": 2
93 },
94 "end": {
95 "line": 1,
96 "column": 7
97 }
98 },
99 "range": [
100 2,
101 7
102 ],
103 "name": "async"
104 },
105 "kind": "init",
106 "value": {
107 "type": "AssignmentPattern",
108 "loc": {
109 "start": {
110 "line": 1,
111 "column": 2
112 },
113 "end": {
114 "line": 1,
115 "column": 11
116 }
117 },
118 "range": [
119 2,
120 11
121 ],
122 "left": {
123 "type": "Identifier",
124 "loc": {
125 "start": {
126 "line": 1,
127 "column": 2
128 },
129 "end": {
130 "line": 1,
131 "column": 7
132 }
133 },
134 "range": [
135 2,
136 7
137 ],
138 "name": "async"
139 },
140 "right": {
141 "type": "Literal",
142 "loc": {
143 "start": {
144 "line": 1,
145 "column": 10
146 },
147 "end": {
148 "line": 1,
149 "column": 11
150 }
151 },
152 "range": [
153 10,
154 11
155 ],
156 "value": 0,
157 "raw": "0"
158 }
159 }
160 }
161 ]
162 },
163 "right": {
164 "type": "ObjectExpression",
165 "loc": {
166 "start": {
167 "line": 1,
168 "column": 15
169 },
170 "end": {
171 "line": 1,
172 "column": 17
173 }
174 },
175 "range": [
176 15,
177 17
178 ],
179 "properties": []
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": "Identifier",
224 "value": "async",
225 "loc": {
226 "start": {
227 "line": 1,
228 "column": 2
229 },
230 "end": {
231 "line": 1,
232 "column": 7
233 }
234 },
235 "range": [
236 2,
237 7
238 ]
239 },
240 {
241 "type": "Punctuator",
242 "value": "=",
243 "loc": {
244 "start": {
245 "line": 1,
246 "column": 8
247 },
248 "end": {
249 "line": 1,
250 "column": 9
251 }
252 },
253 "range": [
254 8,
255 9
256 ]
257 },
258 {
259 "type": "Numeric",
260 "value": "0",
261 "loc": {
262 "start": {
263 "line": 1,
264 "column": 10
265 },
266 "end": {
267 "line": 1,
268 "column": 11
269 }
270 },
271 "range": [
272 10,
273 11
274 ]
275 },
276 {
277 "type": "Punctuator",
278 "value": "}",
279 "loc": {
280 "start": {
281 "line": 1,
282 "column": 11
283 },
284 "end": {
285 "line": 1,
286 "column": 12
287 }
288 },
289 "range": [
290 11,
291 12
292 ]
293 },
294 {
295 "type": "Punctuator",
296 "value": "=",
297 "loc": {
298 "start": {
299 "line": 1,
300 "column": 13
301 },
302 "end": {
303 "line": 1,
304 "column": 14
305 }
306 },
307 "range": [
308 13,
309 14
310 ]
311 },
312 {
313 "type": "Punctuator",
314 "value": "{",
315 "loc": {
316 "start": {
317 "line": 1,
318 "column": 15
319 },
320 "end": {
321 "line": 1,
322 "column": 16
323 }
324 },
325 "range": [
326 15,
327 16
328 ]
329 },
330 {
331 "type": "Punctuator",
332 "value": "}",
333 "loc": {
334 "start": {
335 "line": 1,
336 "column": 16
337 },
338 "end": {
339 "line": 1,
340 "column": 17
341 }
342 },
343 "range": [
344 16,
345 17
346 ]
347 },
348 {
349 "type": "Punctuator",
350 "value": ")",
351 "loc": {
352 "start": {
353 "line": 1,
354 "column": 17
355 },
356 "end": {
357 "line": 1,
358 "column": 18
359 }
360 },
361 "range": [
362 17,
363 18
364 ]
365 }
366 ]
367 };