Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "errors": [
5 "SyntaxError: Unexpected reserved word 'interface'. (1:1)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
16 "expression": {
17 "type": "SequenceExpression",
18 "start":1,"end":17,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":17,"index":17}},
19 "expressions": [
20 {
21 "type": "Identifier",
22 "start":1,"end":10,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":10,"index":10},"identifierName":"interface"},
23 "name": "interface"
24 },
25 {
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 "extra": {
36 "parenthesized": true,
37 "parenStart": 0
38 }
39 }
40 }
41 ],
42 "directives": []
43 }
44 }