Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/async-await-as-arrow-binding-identifier/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
4 "errors": [
5 "SyntaxError: Can not use 'await' as identifier inside an async function. (1:6)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
16 "expression": {
17 "type": "ArrowFunctionExpression",
18 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
19 "id": null,
20 "generator": false,
21 "async": true,
22 "params": [
23 {
24 "type": "Identifier",
25 "start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"await"},
26 "name": "await"
27 }
28 ],
29 "body": {
30 "type": "BlockStatement",
31 "start":15,"end":17,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":17,"index":17}},
32 "body": [],
33 "directives": []
34 }
35 }
36 }
37 ],
38 "directives": []
39 }
40 }