export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 31 } }, "range": [ 0, 31 ], "body": [ { "type": "FunctionDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 30 } }, "range": [ 0, 30 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 14 } }, "range": [ 10, 14 ], "name": "test" }, "generator": true, "expression": false, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 30 } }, "range": [ 18, 30 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 28 } }, "range": [ 20, 28 ], "expression": { "type": "YieldExpression", "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 28 } }, "range": [ 20, 28 ], "delegate": true, "argument": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 } }, "range": [ 27, 28 ], "name": "v" } } } ] } }, { "type": "EmptyStatement", "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 31 } }, "range": [ 30, 31 ] } ], "sourceType": "script", "tokens": [ { "type": "Keyword", "value": "function", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 8 } }, "range": [ 0, 8 ] }, { "type": "Punctuator", "value": "*", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 9 } }, "range": [ 8, 9 ] }, { "type": "Identifier", "value": "test", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 14 } }, "range": [ 10, 14 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 16 } }, "range": [ 15, 16 ] }, { "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": 18 }, "end": { "line": 1, "column": 19 } }, "range": [ 18, 19 ] }, { "type": "Keyword", "value": "yield", "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 25 } }, "range": [ 20, 25 ] }, { "type": "Punctuator", "value": "*", "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 27 } }, "range": [ 26, 27 ] }, { "type": "Identifier", "value": "v", "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 28 } }, "range": [ 27, 28 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 30 } }, "range": [ 29, 30 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 31 } }, "range": [ 30, 31 ] } ] };