Debian Codegraph @

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

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