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

80 lines
1.4 KiB
JSON

{
"type": "Script",
"span": {
"start": 36,
"end": 93,
"ctxt": 0
},
"body": [
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 51,
"end": 52,
"ctxt": 0
},
"value": "f",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 36,
"end": 57,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 55,
"end": 57,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 86,
"end": 87,
"ctxt": 0
},
"value": "g",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 77,
"end": 93,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 90,
"end": 93,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
],
"interpreter": null
}