Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/modules/export-from-valid-reserved-word/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportNamedDeclaration",
12 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
13 "specifiers": [
14 {
15 "type": "ExportSpecifier",
16 "start":9,"end":11,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":11,"index":11}},
17 "local": {
18 "type": "Identifier",
19 "start":9,"end":11,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":11,"index":11},"identifierName":"if"},
20 "name": "if"
21 },
22 "exported": {
23 "type": "Identifier",
24 "start":9,"end":11,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":11,"index":11},"identifierName":"if"},
25 "name": "if"
26 }
27 }
28 ],
29 "source": {
30 "type": "StringLiteral",
31 "start":19,"end":24,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":24,"index":24}},
32 "extra": {
33 "rawValue": "foo",
34 "raw": "'foo'"
35 },
36 "value": "foo"
37 },
38 "declaration": null
39 }
40 ],
41 "directives": []
42 }
43 }