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

46 lines
807 B
JSON

{
"type": "Script",
"span": {
"start": 68,
"end": 88,
"ctxt": 0
},
"body": [
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 77,
"end": 82,
"ctxt": 0
},
"value": "await",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 68,
"end": 88,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 85,
"end": 88,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
],
"interpreter": null
}