Debian Codegraph @

packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/unary-expression/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
4 "errors": [
5 "SyntaxError: Unexpected reserved word 'interface'. (1:5)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
16 "expression": {
17 "type": "UnaryExpression",
18 "start":0,"end":14,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":14,"index":14}},
19 "operator": "void",
20 "prefix": true,
21 "argument": {
22 "type": "Identifier",
23 "start":5,"end":14,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":14,"index":14},"identifierName":"interface"},
24 "name": "interface"
25 }
26 }
27 }
28 ],
29 "directives": []
30 }
31 }