export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 2 } }, "range": [ 0, 50 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 2 } }, "range": [ 0, 50 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 5, "column": 1 } }, "range": [ 4, 49 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 1, "column": 5 } }, "range": [ 4, 5 ], "name": "x" }, "init": { "type": "ObjectExpression", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 5, "column": 1 } }, "range": [ 8, 49 ], "properties": [ { "type": "Property", "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 4, "column": 5 } }, "range": [ 14, 47 ], "method": true, "shorthand": false, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 7 } }, "range": [ 14, 17 ], "name": "foo" }, "kind": "init", "value": { "type": "FunctionExpression", "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 4, "column": 5 } }, "range": [ 17, 47 ], "id": null, "generator": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 4, "column": 5 } }, "range": [ 20, 47 ], "body": [ { "type": "ReturnStatement", "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 19 } }, "range": [ 30, 41 ], "argument": { "type": "Identifier", "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 3, "column": 18 } }, "range": [ 37, 40 ], "name": "bar" } } ] } } } ] } } ], "kind": "var" } ], "sourceType": "script", "tokens": [ { "type": "Keyword", "value": "var", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 3 } }, "range": [ 0, 3 ] }, { "type": "Identifier", "value": "x", "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 1, "column": 5 } }, "range": [ 4, 5 ] }, { "type": "Punctuator", "value": "=", "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 } }, "range": [ 6, 7 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 9 } }, "range": [ 8, 9 ] }, { "type": "Identifier", "value": "foo", "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 7 } }, "range": [ 14, 17 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } }, "range": [ 17, 18 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 2, "column": 8 }, "end": { "line": 2, "column": 9 } }, "range": [ 18, 19 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 11 } }, "range": [ 20, 21 ] }, { "type": "Keyword", "value": "return", "loc": { "start": { "line": 3, "column": 8 }, "end": { "line": 3, "column": 14 } }, "range": [ 30, 36 ] }, { "type": "Identifier", "value": "bar", "loc": { "start": { "line": 3, "column": 15 }, "end": { "line": 3, "column": 18 } }, "range": [ 37, 40 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 19 } }, "range": [ 40, 41 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 5 } }, "range": [ 46, 47 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 1 } }, "range": [ 48, 49 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 5, "column": 1 }, "end": { "line": 5, "column": 2 } }, "range": [ 49, 50 ] } ] };