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

38 lines
650 B
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"body": [
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 9,
"end": 12,
"ctxt": 0
},
"value": "foo",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
}
],
"interpreter": null
}