172 lines
3.8 KiB
JSON

{
"type": "File",
"start": 0,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 27
}
},
"program": {
"type": "Program",
"start": 0,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 27
}
},
"sourceType": "script",
"body": [
{
"type": "TryStatement",
"start": 0,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 27
}
},
"block": {
"type": "BlockStatement",
"start": 4,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 4
},
"end": {
"line": 1,
"column": 6
}
},
"body": [],
"directives": []
},
"handler": {
"type": "CatchClause",
"start": 7,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 27
}
},
"param": {
"type": "ObjectPattern",
"start": 14,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 14
},
"end": {
"line": 1,
"column": 23
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 15,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 22
}
},
"method": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 15,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "message"
},
"name": "message"
},
"shorthand": true,
"value": {
"type": "Identifier",
"start": 15,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "message"
},
"name": "message"
},
"extra": {
"shorthand": true
}
}
]
},
"body": {
"type": "BlockStatement",
"start": 25,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 27
}
},
"body": [],
"directives": []
}
},
"guardedHandlers": [],
"finalizer": null
}
],
"directives": []
}
}