Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":56,"index":56}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":56,"index":56}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "DeclareModule",
12 "start":0,"end":56,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":56,"index":56}},
13 "id": {
14 "type": "StringLiteral",
15 "start":15,"end":20,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":20,"index":20}},
16 "extra": {
17 "rawValue": "foo",
18 "raw": "\"foo\""
19 },
20 "value": "foo"
21 },
22 "body": {
23 "type": "BlockStatement",
24 "start":21,"end":56,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":56,"index":56}},
25 "body": [
26 {
27 "type": "DeclareExportDeclaration",
28 "start":23,"end":54,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":54,"index":54}},
29 "specifiers": [
30 {
31 "type": "ExportSpecifier",
32 "start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40}},
33 "local": {
34 "type": "Identifier",
35 "start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40},"identifierName":"a"},
36 "name": "a"
37 },
38 "exported": {
39 "type": "Identifier",
40 "start":39,"end":40,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":40,"index":40},"identifierName":"a"},
41 "name": "a"
42 }
43 }
44 ],
45 "source": {
46 "type": "StringLiteral",
47 "start":48,"end":53,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":53,"index":53}},
48 "extra": {
49 "rawValue": "bar",
50 "raw": "\"bar\""
51 },
52 "value": "bar"
53 },
54 "declaration": null,
55 "default": false
56 }
57 ]
58 },
59 "kind": "ES"
60 }
61 ],
62 "directives": []
63 }
64 }