Debian Codegraph @

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

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