Debian Codegraph @

packages/babel-parser/test/fixtures/flow/scope/dupl-decl-declare-class-declare-class/output.json

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