70 lines
2.7 KiB
JSON
70 lines
2.7 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "FunctionDeclaration",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":15,"end":17,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":17},"identifierName":"fn"},
|
|
"name": "fn"
|
|
},
|
|
"generator": false,
|
|
"async": true,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":20,"end":45,"loc":{"start":{"line":1,"column":20},"end":{"line":3,"column":1}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":24,"end":43,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":21}},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start":24,"end":42,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":20}},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"start":24,"end":29,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":7},"identifierName":"async"},
|
|
"name": "async"
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "AssignmentExpression",
|
|
"start":30,"end":41,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":19}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":30,"end":31,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":9},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"right": {
|
|
"type": "AwaitExpression",
|
|
"start":34,"end":41,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":19}},
|
|
"argument": {
|
|
"type": "NumericLiteral",
|
|
"start":40,"end":41,"loc":{"start":{"line":2,"column":18},"end":{"line":2,"column":19}},
|
|
"extra": {
|
|
"rawValue": 2,
|
|
"raw": "2"
|
|
},
|
|
"value": 2
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |