56 lines
2.1 KiB
JSON
56 lines
2.1 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":36}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1},"identifierName":"f"},
|
|
"name": "f"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":2,"end":3,"loc":{"start":{"line":1,"column":2},"end":{"line":1,"column":3},"identifierName":"a"},
|
|
"name": "a"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start":5,"end":35,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":35}},
|
|
"id": null,
|
|
"generator": false,
|
|
"async": true,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start":11,"end":18,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":18},"identifierName":"promise"},
|
|
"name": "promise"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "AwaitExpression",
|
|
"start":22,"end":35,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":35}},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start":28,"end":35,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":35},"identifierName":"promise"},
|
|
"name": "promise"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |