Debian Codegraph @

packages/babel-parser/test/fixtures/flow/declare-statements/16/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 {
21 "type": "InterfaceExtends",
22 "start":24,"end":29,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":29,"index":29}},
23 "id": {
24 "type": "QualifiedTypeIdentifier",
25 "start":24,"end":29,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":29,"index":29}},
26 "qualification": {
27 "type": "QualifiedTypeIdentifier",
28 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27}},
29 "qualification": {
30 "type": "Identifier",
31 "start":24,"end":25,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":25,"index":25},"identifierName":"C"},
32 "name": "C"
33 },
34 "id": {
35 "type": "Identifier",
36 "start":26,"end":27,"loc":{"start":{"line":1,"column":26,"index":26},"end":{"line":1,"column":27,"index":27},"identifierName":"B"},
37 "name": "B"
38 }
39 },
40 "id": {
41 "type": "Identifier",
42 "start":28,"end":29,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":29,"index":29},"identifierName":"D"},
43 "name": "D"
44 }
45 },
46 "typeParameters": null
47 }
48 ],
49 "implements": [],
50 "mixins": [],
51 "body": {
52 "type": "ObjectTypeAnnotation",
53 "start":30,"end":33,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":33,"index":33}},
54 "callProperties": [],
55 "properties": [],
56 "indexers": [],
57 "internalSlots": [],
58 "exact": false
59 }
60 }
61 ],
62 "directives": []
63 }
64 }