Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-export-declaration/export-default-object/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportDefaultDeclaration",
12 "start":0,"end":26,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":26,"index":26}},
13 "declaration": {
14 "type": "ObjectExpression",
15 "start":15,"end":25,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":25,"index":25}},
16 "properties": [
17 {
18 "type": "ObjectProperty",
19 "start":17,"end":23,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":23,"index":23}},
20 "method": false,
21 "key": {
22 "type": "Identifier",
23 "start":17,"end":20,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":20,"index":20},"identifierName":"foo"},
24 "name": "foo"
25 },
26 "computed": false,
27 "shorthand": false,
28 "value": {
29 "type": "NumericLiteral",
30 "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23}},
31 "extra": {
32 "rawValue": 1,
33 "raw": "1"
34 },
35 "value": 1
36 }
37 }
38 ]
39 }
40 }
41 ],
42 "directives": []
43 }
44 }