{ "type": "File", "start": 0, "end": 26, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 26 } }, "program": { "type": "Program", "start": 0, "end": 26, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 26 } }, "sourceType": "script", "body": [ { "type": "ExpressionStatement", "start": 0, "end": 26, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 26 } }, "expression": { "type": "ObjectExpression", "start": 1, "end": 25, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 25 } }, "properties": [ { "type": "ObjectMethod", "start": 3, "end": 23, "loc": { "start": { "line": 1, "column": 3 }, "end": { "line": 1, "column": 23 } }, "method": true, "computed": false, "key": { "type": "Identifier", "start": 4, "end": 7, "loc": { "start": { "line": 1, "column": 4 }, "end": { "line": 1, "column": 7 }, "identifierName": "foo" }, "name": "foo" }, "kind": "method", "id": null, "generator": true, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 10, "end": 23, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 23 } }, "body": [ { "type": "ExpressionStatement", "start": 12, "end": 21, "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 21 } }, "expression": { "type": "YieldExpression", "start": 12, "end": 20, "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 20 } }, "delegate": true, "argument": { "type": "NumericLiteral", "start": 19, "end": 20, "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } } } ], "directives": [] } } ], "extra": { "parenthesized": true, "parenStart": 0 } } } ], "directives": [] } }