Debian Codegraph @

packages/babel-parser/test/fixtures/flow/regression/issue-10675-interface/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 "program": {
5 "type": "Program",
6 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "InterfaceDeclaration",
12 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
13 "id": {
14 "type": "Identifier",
15 "start":10,"end":12,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":12,"index":12},"identifierName":"of"},
16 "name": "of"
17 },
18 "typeParameters": {
19 "type": "TypeParameterDeclaration",
20 "start":12,"end":15,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":15,"index":15}},
21 "params": [
22 {
23 "type": "TypeParameter",
24 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14}},
25 "name": "T",
26 "variance": null
27 }
28 ]
29 },
30 "extends": [],
31 "implements": [],
32 "mixins": [],
33 "body": {
34 "type": "ObjectTypeAnnotation",
35 "start":16,"end":18,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":18,"index":18}},
36 "callProperties": [],
37 "properties": [],
38 "indexers": [],
39 "internalSlots": [],
40 "exact": false
41 }
42 }
43 ],
44 "directives": []
45 }
46 }