Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":4,"end":17,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":17,"index":17}},
17 "id": {
18 "type": "Identifier",
19 "start":4,"end":6,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":6,"index":6},"identifierName":"ok"},
20 "name": "ok"
21 },
22 "init": {
23 "type": "CallExpression",
24 "start":9,"end":17,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":17,"index":17}},
25 "callee": {
26 "type": "Identifier",
27 "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"async"},
28 "name": "async"
29 },
30 "arguments": [
31 {
32 "type": "Identifier",
33 "start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"x"},
34 "name": "x"
35 }
36 ]
37 }
38 }
39 ],
40 "kind": "var"
41 }
42 ],
43 "directives": []
44 }
45 }