Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/export-default-newline/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":17,"index":38}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":17,"index":38}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportDefaultDeclaration",
12 "start":0,"end":20,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":20,"index":20}},
13 "declaration": {
14 "type": "Identifier",
15 "start":15,"end":20,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":20,"index":20},"identifierName":"async"},
16 "name": "async"
17 }
18 },
19 {
20 "type": "FunctionDeclaration",
21 "start":21,"end":38,"loc":{"start":{"line":2,"column":0,"index":21},"end":{"line":2,"column":17,"index":38}},
22 "id": {
23 "type": "Identifier",
24 "start":30,"end":33,"loc":{"start":{"line":2,"column":9,"index":30},"end":{"line":2,"column":12,"index":33},"identifierName":"bar"},
25 "name": "bar"
26 },
27 "generator": false,
28 "async": false,
29 "params": [],
30 "body": {
31 "type": "BlockStatement",
32 "start":36,"end":38,"loc":{"start":{"line":2,"column":15,"index":36},"end":{"line":2,"column":17,"index":38}},
33 "body": [],
34 "directives": []
35 }
36 }
37 ],
38 "directives": []
39 }
40 }