Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-assertions/valid-export-class/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportNamedDeclaration",
12 "start":0,"end":19,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":19,"index":19}},
13 "specifiers": [],
14 "source": null,
15 "assertions": [],
16 "declaration": {
17 "type": "ClassDeclaration",
18 "start":7,"end":19,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":19,"index":19}},
19 "id": {
20 "type": "Identifier",
21 "start":13,"end":16,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":16,"index":16},"identifierName":"Foo"},
22 "name": "Foo"
23 },
24 "superClass": null,
25 "body": {
26 "type": "ClassBody",
27 "start":17,"end":19,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":19,"index":19}},
28 "body": []
29 }
30 }
31 }
32 ],
33 "directives": []
34 }
35 }