export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 34 } }, "range": [ 0, 34 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 34 } }, "range": [ 0, 34 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 1, "column": 33 } }, "range": [ 4, 33 ], "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": 1, "column": 33 } }, "range": [ 8, 33 ], "properties": [ { "type": "Property", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 31 } }, "range": [ 10, 31 ], "method": true, "shorthand": false, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 15 } }, "range": [ 11, 15 ], "name": "test" }, "kind": "init", "value": { "type": "FunctionExpression", "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 31 } }, "range": [ 16, 31 ], "id": null, "generator": true, "expression": false, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 31 } }, "range": [ 19, 31 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 29 } }, "range": [ 21, 29 ], "expression": { "type": "YieldExpression", "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 29 } }, "range": [ 21, 29 ], "delegate": true, "argument": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 29 } }, "range": [ 28, 29 ], "name": "v" } } } ] } } } ] } } ], "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": "Punctuator", "value": "*", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 11 } }, "range": [ 10, 11 ] }, { "type": "Identifier", "value": "test", "loc": { "start": { "line": 1, "column": 11 }, "end": { "line": 1, "column": 15 } }, "range": [ 11, 15 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 17 } }, "range": [ 16, 17 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 18 } }, "range": [ 17, 18 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 } }, "range": [ 19, 20 ] }, { "type": "Keyword", "value": "yield", "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 26 } }, "range": [ 21, 26 ] }, { "type": "Punctuator", "value": "*", "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 } }, "range": [ 27, 28 ] }, { "type": "Identifier", "value": "v", "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 29 } }, "range": [ 28, 29 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 31 } }, "range": [ 30, 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 ] } ] };