Debian Codegraph @

tests/fixtures/ecma-version/8/not-strict/async-shorthand-property-2.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": "Property",
53 "loc": {
54 "start": {
55 "line": 1,
56 "column": 2
57 },
58 "end": {
59 "line": 1,
60 "column": 7
61 }
62 },
63 "range": [
64 2,
65 7
66 ],
67 "method": false,
68 "shorthand": true,
69 "computed": false,
70 "key": {
71 "type": "Identifier",
72 "loc": {
73 "start": {
74 "line": 1,
75 "column": 2
76 },
77 "end": {
78 "line": 1,
79 "column": 7
80 }
81 },
82 "range": [
83 2,
84 7
85 ],
86 "name": "async"
87 },
88 "kind": "init",
89 "value": {
90 "type": "Identifier",
91 "loc": {
92 "start": {
93 "line": 1,
94 "column": 2
95 },
96 "end": {
97 "line": 1,
98 "column": 7
99 }
100 },
101 "range": [
102 2,
103 7
104 ],
105 "name": "async"
106 }
107 },
108 {
109 "type": "Property",
110 "loc": {
111 "start": {
112 "line": 1,
113 "column": 9
114 },
115 "end": {
116 "line": 1,
117 "column": 12
118 }
119 },
120 "range": [
121 9,
122 12
123 ],
124 "method": false,
125 "shorthand": true,
126 "computed": false,
127 "key": {
128 "type": "Identifier",
129 "loc": {
130 "start": {
131 "line": 1,
132 "column": 9
133 },
134 "end": {
135 "line": 1,
136 "column": 12
137 }
138 },
139 "range": [
140 9,
141 12
142 ],
143 "name": "foo"
144 },
145 "kind": "init",
146 "value": {
147 "type": "Identifier",
148 "loc": {
149 "start": {
150 "line": 1,
151 "column": 9
152 },
153 "end": {
154 "line": 1,
155 "column": 12
156 }
157 },
158 "range": [
159 9,
160 12
161 ],
162 "name": "foo"
163 }
164 }
165 ]
166 }
167 }
168 ],
169 "sourceType": "script",
170 "tokens": [
171 {
172 "type": "Punctuator",
173 "value": "(",
174 "loc": {
175 "start": {
176 "line": 1,
177 "column": 0
178 },
179 "end": {
180 "line": 1,
181 "column": 1
182 }
183 },
184 "range": [
185 0,
186 1
187 ]
188 },
189 {
190 "type": "Punctuator",
191 "value": "{",
192 "loc": {
193 "start": {
194 "line": 1,
195 "column": 1
196 },
197 "end": {
198 "line": 1,
199 "column": 2
200 }
201 },
202 "range": [
203 1,
204 2
205 ]
206 },
207 {
208 "type": "Identifier",
209 "value": "async",
210 "loc": {
211 "start": {
212 "line": 1,
213 "column": 2
214 },
215 "end": {
216 "line": 1,
217 "column": 7
218 }
219 },
220 "range": [
221 2,
222 7
223 ]
224 },
225 {
226 "type": "Punctuator",
227 "value": ",",
228 "loc": {
229 "start": {
230 "line": 1,
231 "column": 7
232 },
233 "end": {
234 "line": 1,
235 "column": 8
236 }
237 },
238 "range": [
239 7,
240 8
241 ]
242 },
243 {
244 "type": "Identifier",
245 "value": "foo",
246 "loc": {
247 "start": {
248 "line": 1,
249 "column": 9
250 },
251 "end": {
252 "line": 1,
253 "column": 12
254 }
255 },
256 "range": [
257 9,
258 12
259 ]
260 },
261 {
262 "type": "Punctuator",
263 "value": "}",
264 "loc": {
265 "start": {
266 "line": 1,
267 "column": 12
268 },
269 "end": {
270 "line": 1,
271 "column": 13
272 }
273 },
274 "range": [
275 12,
276 13
277 ]
278 },
279 {
280 "type": "Punctuator",
281 "value": ")",
282 "loc": {
283 "start": {
284 "line": 1,
285 "column": 13
286 },
287 "end": {
288 "line": 1,
289 "column": 14
290 }
291 },
292 "range": [
293 13,
294 14
295 ]
296 }
297 ]
298 };