Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":14,"index":29}},
4 "errors": [
5 "SyntaxError: Unexpected reserved word 'interface'. (2:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":14,"index":29}},
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": "MemberExpression",
18 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
19 "object": {
20 "type": "Identifier",
21 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"foo"},
22 "name": "foo"
23 },
24 "computed": false,
25 "property": {
26 "type": "Identifier",
27 "start":4,"end":13,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":13,"index":13},"identifierName":"interface"},
28 "name": "interface"
29 }
30 }
31 },
32 {
33 "type": "ExpressionStatement",
34 "start":15,"end":29,"loc":{"start":{"line":2,"column":0,"index":15},"end":{"line":2,"column":14,"index":29}},
35 "expression": {
36 "type": "MemberExpression",
37 "start":15,"end":28,"loc":{"start":{"line":2,"column":0,"index":15},"end":{"line":2,"column":13,"index":28}},
38 "object": {
39 "type": "Identifier",
40 "start":15,"end":24,"loc":{"start":{"line":2,"column":0,"index":15},"end":{"line":2,"column":9,"index":24},"identifierName":"interface"},
41 "name": "interface"
42 },
43 "computed": false,
44 "property": {
45 "type": "Identifier",
46 "start":25,"end":28,"loc":{"start":{"line":2,"column":10,"index":25},"end":{"line":2,"column":13,"index":28},"identifierName":"foo"},
47 "name": "foo"
48 }
49 }
50 }
51 ],
52 "directives": []
53 }
54 }