Debian Codegraph @

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