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

46 lines
807 B
JSON

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