export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 39 } }, "range": [ 0, 39 ], "body": [ { "type": "FunctionDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 38 } }, "range": [ 0, 38 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 10 } }, "range": [ 9, 10 ], "name": "a" }, "generator": false, "expression": false, "params": [ { "type": "ObjectPattern", "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 34 } }, "range": [ 11, 34 ], "properties": [ { "type": "Property", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 18 } }, "range": [ 12, 18 ], "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } }, "range": [ 12, 13 ], "name": "x" }, "kind": "init", "value": { "type": "AssignmentPattern", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 18 } }, "range": [ 12, 18 ], "left": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } }, "range": [ 12, 13 ], "name": "x" }, "right": { "type": "Literal", "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 18 } }, "range": [ 16, 18 ], "value": 10, "raw": "10" } } }, { "type": "Property", "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 33 } }, "range": [ 20, 33 ], "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 21 } }, "range": [ 20, 21 ], "name": "y" }, "value": { "type": "ObjectPattern", "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 33 } }, "range": [ 23, 33 ], "properties": [ { "type": "Property", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 31 } }, "range": [ 25, 31 ], "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 26 } }, "range": [ 25, 26 ], "name": "z" }, "kind": "init", "value": { "type": "AssignmentPattern", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 31 } }, "range": [ 25, 31 ], "left": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 26 } }, "range": [ 25, 26 ], "name": "z" }, "right": { "type": "Literal", "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 31 } }, "range": [ 29, 31 ], "value": 10, "raw": "10" } } } ] }, "kind": "init" } ] } ], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 38 } }, "range": [ 36, 38 ], "body": [] } }, { "type": "EmptyStatement", "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 39 } }, "range": [ 38, 39 ] } ], "sourceType": "script", "tokens": [ { "type": "Keyword", "value": "function", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 8 } }, "range": [ 0, 8 ] }, { "type": "Identifier", "value": "a", "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": "x", "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 13 } }, "range": [ 12, 13 ] }, { "type": "Punctuator", "value": "=", "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 15 } }, "range": [ 14, 15 ] }, { "type": "Numeric", "value": "10", "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 18 } }, "range": [ 16, 18 ] }, { "type": "Punctuator", "value": ",", "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 19 } }, "range": [ 18, 19 ] }, { "type": "Identifier", "value": "y", "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 21 } }, "range": [ 20, 21 ] }, { "type": "Punctuator", "value": ":", "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } }, "range": [ 21, 22 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } }, "range": [ 23, 24 ] }, { "type": "Identifier", "value": "z", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 26 } }, "range": [ 25, 26 ] }, { "type": "Punctuator", "value": "=", "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 } }, "range": [ 27, 28 ] }, { "type": "Numeric", "value": "10", "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 31 } }, "range": [ 29, 31 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 33 } }, "range": [ 32, 33 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 34 } }, "range": [ 33, 34 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 35 } }, "range": [ 34, 35 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } }, "range": [ 36, 37 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 38 } }, "range": [ 37, 38 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 39 } }, "range": [ 38, 39 ] } ] };