Debian Codegraph @

packages/babel-parser/test/fixtures/flow/declare-export/export-default-class/output.json

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