Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
4 "errors": [
5 "SyntaxError: Unexpected reserved word 'interface'. (1:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
16 "expression": {
17 "type": "AssignmentExpression",
18 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
19 "operator": "=",
20 "left": {
21 "type": "Identifier",
22 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9},"identifierName":"interface"},
23 "name": "interface"
24 },
25 "right": {
26 "type": "StringLiteral",
27 "start":12,"end":17,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":17,"index":17}},
28 "extra": {
29 "rawValue": "foo",
30 "raw": "\"foo\""
31 },
32 "value": "foo"
33 }
34 }
35 }
36 ],
37 "directives": []
38 }
39 }