Debian Codegraph @

packages/babel-parser/test/fixtures/flow/declare-module/9/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "DeclareModule",
12 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
13 "id": {
14 "type": "Identifier",
15 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"A"},
16 "name": "A"
17 },
18 "body": {
19 "type": "BlockStatement",
20 "start":17,"end":52,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":52,"index":52}},
21 "body": [
22 {
23 "type": "DeclareModuleExports",
24 "start":19,"end":50,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":50,"index":50}},
25 "typeAnnotation": {
26 "type": "TypeAnnotation",
27 "start":41,"end":49,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":49,"index":49}},
28 "typeAnnotation": {
29 "type": "NumberTypeAnnotation",
30 "start":43,"end":49,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":49,"index":49}}
31 }
32 }
33 }
34 ]
35 },
36 "kind": "CommonJS"
37 }
38 ],
39 "directives": []
40 }
41 }