Debian Codegraph @

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

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