Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/22/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": "ClassDeclaration",
12 "start":0,"end":25,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":25,"index":25}},
13 "id": {
14 "type": "Identifier",
15 "start":6,"end":10,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":10,"index":10},"identifierName":"Test"},
16 "name": "Test"
17 },
18 "superClass": null,
19 "body": {
20 "type": "ClassBody",
21 "start":11,"end":25,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":25,"index":25}},
22 "body": [
23 {
24 "type": "ClassMethod",
25 "start":13,"end":23,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":23,"index":23}},
26 "static": false,
27 "key": {
28 "type": "Identifier",
29 "start":13,"end":18,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":18,"index":18},"identifierName":"async"},
30 "name": "async"
31 },
32 "computed": false,
33 "kind": "method",
34 "id": null,
35 "generator": false,
36 "async": false,
37 "params": [],
38 "body": {
39 "type": "BlockStatement",
40 "start":21,"end":23,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":23,"index":23}},
41 "body": [],
42 "directives": []
43 }
44 }
45 ]
46 }
47 }
48 ],
49 "directives": []
50 }
51 }