Debian Codegraph @

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

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