Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":6,"end":26,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":26,"index":26}},
17 "id": {
18 "type": "ObjectPattern",
19 "start":6,"end":20,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":20,"index":20}},
20 "properties": [
21 {
22 "type": "ObjectProperty",
23 "start":8,"end":18,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":18,"index":18}},
24 "key": {
25 "type": "Identifier",
26 "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"async"},
27 "name": "async"
28 },
29 "computed": false,
30 "method": false,
31 "shorthand": false,
32 "value": {
33 "type": "Identifier",
34 "start":15,"end":18,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":18,"index":18},"identifierName":"foo"},
35 "name": "foo"
36 }
37 }
38 ]
39 },
40 "init": {
41 "type": "Identifier",
42 "start":23,"end":26,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":26,"index":26},"identifierName":"bar"},
43 "name": "bar"
44 }
45 }
46 ],
47 "kind": "const"
48 }
49 ],
50 "directives": []
51 }
52 }