export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 7, "column": 2 } }, "range": [ 0, 72 ], "body": [ { "type": "FunctionDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 7, "column": 1 } }, "range": [ 0, 71 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 } }, "range": [ 9, 10 ], "name": "x" }, "generator": false, "expression": false, "params": [ { "type": "ObjectPattern", "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 14 } }, "range": [ 11, 14 ], "properties": [ { "type": "Property", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } }, "range": [ 12, 13 ], "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } }, "range": [ 12, 13 ], "name": "a" }, "kind": "init", "value": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } }, "range": [ 12, 13 ], "name": "a" } } ] } ], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 7, "column": 1 } }, "range": [ 16, 71 ], "body": [ { "type": "TryStatement", "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 6, "column": 3 } }, "range": [ 20, 69 ], "block": { "type": "BlockStatement", "loc": { "start": { "line": 2, "column": 6 }, "end": { "line": 4, "column": 3 } }, "range": [ 24, 46 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 16 } }, "range": [ 30, 42 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 15 } }, "range": [ 34, 41 ], "id": { "type": "ObjectPattern", "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 11 } }, "range": [ 34, 37 ], "properties": [ { "type": "Property", "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } }, "range": [ 35, 36 ], "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } }, "range": [ 35, 36 ], "name": "b" }, "kind": "init", "value": { "type": "Identifier", "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } }, "range": [ 35, 36 ], "name": "b" } } ] }, "init": { "type": "Identifier", "loc": { "start": { "line": 3, "column": 14 }, "end": { "line": 3, "column": 15 } }, "range": [ 40, 41 ], "name": "a" } } ], "kind": "var" } ] }, "handler": { "type": "CatchClause", "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 6, "column": 3 } }, "range": [ 49, 69 ], "param": { "type": "ArrayPattern", "loc": { "start": { "line": 5, "column": 8 }, "end": { "line": 5, "column": 15 } }, "range": [ 55, 62 ], "elements": [ { "type": "Identifier", "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } }, "range": [ 56, 61 ], "name": "stack" } ] }, "body": { "type": "BlockStatement", "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 6, "column": 3 } }, "range": [ 64, 69 ], "body": [] } }, "finalizer": null } ] } }, { "type": "EmptyStatement", "loc": { "start": { "line": 7, "column": 1 }, "end": { "line": 7, "column": 2 } }, "range": [ 71, 72 ] } ], "sourceType": "script", "tokens": [ { "type": "Keyword", "value": "function", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 8 } }, "range": [ 0, 8 ] }, { "type": "Identifier", "value": "x", "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 } }, "range": [ 9, 10 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 11 } }, "range": [ 10, 11 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 12 } }, "range": [ 11, 12 ] }, { "type": "Identifier", "value": "a", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } }, "range": [ 12, 13 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 14 } }, "range": [ 13, 14 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 15 } }, "range": [ 14, 15 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 17 } }, "range": [ 16, 17 ] }, { "type": "Keyword", "value": "try", "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 2, "column": 5 } }, "range": [ 20, 23 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 2, "column": 6 }, "end": { "line": 2, "column": 7 } }, "range": [ 24, 25 ] }, { "type": "Keyword", "value": "var", "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 7 } }, "range": [ 30, 33 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 9 } }, "range": [ 34, 35 ] }, { "type": "Identifier", "value": "b", "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 10 } }, "range": [ 35, 36 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 3, "column": 10 }, "end": { "line": 3, "column": 11 } }, "range": [ 36, 37 ] }, { "type": "Punctuator", "value": "=", "loc": { "start": { "line": 3, "column": 12 }, "end": { "line": 3, "column": 13 } }, "range": [ 38, 39 ] }, { "type": "Identifier", "value": "a", "loc": { "start": { "line": 3, "column": 14 }, "end": { "line": 3, "column": 15 } }, "range": [ 40, 41 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 3, "column": 16 } }, "range": [ 41, 42 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 3 } }, "range": [ 45, 46 ] }, { "type": "Keyword", "value": "catch", "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 7 } }, "range": [ 49, 54 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } }, "range": [ 54, 55 ] }, { "type": "Punctuator", "value": "[", "loc": { "start": { "line": 5, "column": 8 }, "end": { "line": 5, "column": 9 } }, "range": [ 55, 56 ] }, { "type": "Identifier", "value": "stack", "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } }, "range": [ 56, 61 ] }, { "type": "Punctuator", "value": "]", "loc": { "start": { "line": 5, "column": 14 }, "end": { "line": 5, "column": 15 } }, "range": [ 61, 62 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 16 } }, "range": [ 62, 63 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "column": 18 } }, "range": [ 64, 65 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 6, "column": 2 }, "end": { "line": 6, "column": 3 } }, "range": [ 68, 69 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 1 } }, "range": [ 70, 71 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 7, "column": 1 }, "end": { "line": 7, "column": 2 } }, "range": [ 71, 72 ] } ] };