Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/367/output.json

raw
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: Can not use 'await' as identifier inside an async function. (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": "ClassDeclaration",
15 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
16 "id": {
17 "type": "Identifier",
18 "start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"await"},
19 "name": "await"
20 },
21 "superClass": null,
22 "body": {
23 "type": "ClassBody",
24 "start":12,"end":14,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":14,"index":14}},
25 "body": []
26 }
27 }
28 ],
29 "directives": []
30 }
31 }