Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/module-string-names/named-export/output.json

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