Debian Codegraph @

packages/babel-parser/test/fixtures/flow/interfaces-module-and-script/2/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "InterfaceDeclaration",
12 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
13 "id": {
14 "type": "Identifier",
15 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"A"},
16 "name": "A"
17 },
18 "typeParameters": null,
19 "extends": [
20 {
21 "type": "InterfaceExtends",
22 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21}},
23 "id": {
24 "type": "Identifier",
25 "start":20,"end":21,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":21,"index":21},"identifierName":"B"},
26 "name": "B"
27 },
28 "typeParameters": null
29 }
30 ],
31 "implements": [],
32 "mixins": [],
33 "body": {
34 "type": "ObjectTypeAnnotation",
35 "start":22,"end":24,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":24,"index":24}},
36 "callProperties": [],
37 "properties": [],
38 "indexers": [],
39 "internalSlots": [],
40 "exact": false
41 }
42 }
43 ],
44 "directives": []
45 }
46 }