Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/top-level-await-module/inside-arrow/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
4 "errors": [
5 "SyntaxError: 'await' is only allowed within async functions and at the top levels of modules. (1:6)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
16 "expression": {
17 "type": "ArrowFunctionExpression",
18 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
19 "id": null,
20 "generator": false,
21 "async": false,
22 "params": [],
23 "body": {
24 "type": "AwaitExpression",
25 "start":6,"end":13,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":13,"index":13}},
26 "argument": {
27 "type": "NumericLiteral",
28 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
29 "extra": {
30 "rawValue": 0,
31 "raw": "0"
32 },
33 "value": 0
34 }
35 }
36 }
37 }
38 ],
39 "directives": []
40 }
41 }