Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/top-level-await-script/top-level/output.json

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