Debian Codegraph @

packages/babel-parser/test/fixtures/flow/declare-class/mixins-multiple/output.json

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