{ "type": "File", "start": 0, "end": 50, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 50 } }, "program": { "type": "Program", "start": 0, "end": 50, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 50 } }, "sourceType": "script", "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 50, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 50 } }, "id": { "type": "Identifier", "start": 9, "end": 33, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 33 }, "identifierName": "singleElementWithLeading" }, "name": "singleElementWithLeading" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 34, "end": 35, "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 35 }, "identifierName": "x" }, "name": "x" }, { "type": "RestElement", "start": 37, "end": 46, "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 46 } }, "argument": { "type": "ObjectPattern", "start": 40, "end": 46, "loc": { "start": { "line": 1, "column": 40 }, "end": { "line": 1, "column": 46 } }, "properties": [ { "type": "ObjectProperty", "start": 41, "end": 45, "loc": { "start": { "line": 1, "column": 41 }, "end": { "line": 1, "column": 45 } }, "method": false, "computed": false, "key": { "type": "Identifier", "start": 41, "end": 42, "loc": { "start": { "line": 1, "column": 41 }, "end": { "line": 1, "column": 42 }, "identifierName": "a" }, "name": "a" }, "shorthand": false, "value": { "type": "Identifier", "start": 44, "end": 45, "loc": { "start": { "line": 1, "column": 44 }, "end": { "line": 1, "column": 45 }, "identifierName": "b" }, "name": "b" } } ] } } ], "body": { "type": "BlockStatement", "start": 48, "end": 50, "loc": { "start": { "line": 1, "column": 48 }, "end": { "line": 1, "column": 50 } }, "body": [], "directives": [] } } ], "directives": [] } }