Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":52,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}},
13 "expression": {
14 "type": "FunctionExpression",
15 "start":1,"end":51,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":51,"index":51}},
16 "id": null,
17 "generator": false,
18 "async": false,
19 "params": [
20 {
21 "type": "Identifier",
22 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"x"},
23 "name": "x"
24 }
25 ],
26 "body": {
27 "type": "BlockStatement",
28 "start":13,"end":51,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":51,"index":51}},
29 "body": [
30 {
31 "type": "FunctionDeclaration",
32 "start":15,"end":49,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":49,"index":49}},
33 "id": {
34 "type": "Identifier",
35 "start":30,"end":35,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":35,"index":35},"identifierName":"inner"},
36 "name": "inner"
37 },
38 "generator": false,
39 "async": true,
40 "params": [],
41 "body": {
42 "type": "BlockStatement",
43 "start":38,"end":49,"loc":{"start":{"line":1,"column":38,"index":38},"end":{"line":1,"column":49,"index":49}},
44 "body": [
45 {
46 "type": "ExpressionStatement",
47 "start":40,"end":47,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":47,"index":47}},
48 "expression": {
49 "type": "AwaitExpression",
50 "start":40,"end":47,"loc":{"start":{"line":1,"column":40,"index":40},"end":{"line":1,"column":47,"index":47}},
51 "argument": {
52 "type": "Identifier",
53 "start":46,"end":47,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":47,"index":47},"identifierName":"x"},
54 "name": "x"
55 }
56 }
57 }
58 ],
59 "directives": []
60 }
61 }
62 ],
63 "directives": []
64 },
65 "extra": {
66 "parenthesized": true,
67 "parenStart": 0
68 }
69 }
70 }
71 ],
72 "directives": []
73 }
74 }