swc/crates/swc_ecma_parser/tests/tsc/asyncFunctionDeclaration4_es6.json

46 lines
807 B
JSON

{
"type": "Script",
"span": {
"start": 41,
"end": 61,
"ctxt": 0
},
"body": [
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 50,
"end": 55,
"ctxt": 0
},
"value": "await",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 41,
"end": 61,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 58,
"end": 61,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
],
"interpreter": null
}