Debian Codegraph @

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