swc/crates/swc_ecma_parser/tests/tsc/parserTryStatement1.d.json

58 lines
1.0 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 22,
"ctxt": 0
},
"body": [
{
"type": "TryStatement",
"span": {
"start": 1,
"end": 22,
"ctxt": 0
},
"block": {
"type": "BlockStatement",
"span": {
"start": 5,
"end": 8,
"ctxt": 0
},
"stmts": []
},
"handler": {
"type": "CatchClause",
"span": {
"start": 9,
"end": 22,
"ctxt": 0
},
"param": {
"type": "Identifier",
"span": {
"start": 16,
"end": 17,
"ctxt": 0
},
"value": "e",
"optional": false,
"typeAnnotation": null
},
"body": {
"type": "BlockStatement",
"span": {
"start": 19,
"end": 22,
"ctxt": 0
},
"stmts": []
}
},
"finalizer": null
}
],
"interpreter": null
}