Debian Codegraph @

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

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