Debian Codegraph @

packages/babel-parser/test/fixtures/flow/declare-statements/13/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "DeclareClass",
12 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":33,"index":33}},
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":27,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":27,"index":27}},
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": {
31 "type": "TypeParameterInstantiation",
32 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27}},
33 "params": [
34 {
35 "type": "GenericTypeAnnotation",
36 "start":25,"end":26,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":26,"index":26}},
37 "typeParameters": null,
38 "id": {
39 "type": "Identifier",
40 "start":25,"end":26,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":26,"index":26},"identifierName":"T"},
41 "name": "T"
42 }
43 }
44 ]
45 }
46 },
47 {
48 "type": "InterfaceExtends",
49 "start":29,"end":30,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":30,"index":30}},
50 "id": {
51 "type": "Identifier",
52 "start":29,"end":30,"loc":{"start":{"line":1,"column":29,"index":29},"end":{"line":1,"column":30,"index":30},"identifierName":"C"},
53 "name": "C"
54 },
55 "typeParameters": null
56 }
57 ],
58 "body": {
59 "type": "ObjectTypeAnnotation",
60 "start":31,"end":33,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":33,"index":33}},
61 "callProperties": [],
62 "properties": [],
63 "indexers": [],
64 "internalSlots": [],
65 "exact": false
66 }
67 }
68 ],
69 "directives": []
70 }
71 }