Debian Codegraph @

packages/babel-parser/test/fixtures/flow/interfaces-as-identifier/binary-expression/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: Unexpected reserved word 'interface'. (1:0)"
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": "BinaryExpression",
18 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
19 "left": {
20 "type": "Identifier",
21 "start":0,"end":9,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":9,"index":9},"identifierName":"interface"},
22 "name": "interface"
23 },
24 "operator": "+",
25 "right": {
26 "type": "NumericLiteral",
27 "start":12,"end":13,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":13,"index":13}},
28 "extra": {
29 "rawValue": 3,
30 "raw": "3"
31 },
32 "value": 3
33 }
34 }
35 }
36 ],
37 "directives": []
38 }
39 }