firescript
Version:
Firescript language
40 lines (39 loc) • 712 B
JSON
{
"type": "TryStatement",
"block": {
"type": "BlockStatement",
"body": [
{
"type": "ExpressionStatement",
"expression": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "banana"
},
"arguments": []
}
}
]
},
"handler": {
"type": "CatchClause",
"param": {
"type": "Identifier",
"name": "err"
},
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ThrowStatement",
"argument": {
"type": "Identifier",
"name": "err"
}
}
]
}
},
"finalizer": null
}