export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 44 } }, "range": [ 0, 44 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 44 } }, "range": [ 0, 44 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 7 } }, "range": [ 6, 7 ], "name": "A" }, "superClass": null, "body": { "type": "ClassBody", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 44 } }, "range": [ 8, 44 ], "body": [ { "type": "MethodDefinition", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 42 } }, "range": [ 10, 42 ], "kind": "method", "static": false, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 18 } }, "range": [ 17, 18 ], "name": "f" }, "value": { "type": "FunctionExpression", "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 42 } }, "range": [ 18, 42 ], "id": null, "generator": true, "expression": false, "async": true, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 42 } }, "range": [ 21, 42 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 31 } }, "range": [ 23, 31 ], "expression": { "type": "AwaitExpression", "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 30 } }, "range": [ 23, 30 ], "argument": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 30 } }, "range": [ 29, 30 ], "name": "a" } } }, { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 40 } }, "range": [ 32, 40 ], "expression": { "type": "YieldExpression", "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 39 } }, "range": [ 32, 39 ], "delegate": false, "argument": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 39 } }, "range": [ 38, 39 ], "name": "b" } } } ] } } } ] } } ], "sourceType": "script", "tokens": [ { "type": "Keyword", "value": "class", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 5 } }, "range": [ 0, 5 ] }, { "type": "Identifier", "value": "A", "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": "async", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 15 } }, "range": [ 10, 15 ] }, { "type": "Punctuator", "value": "*", "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 16 } }, "range": [ 15, 16 ] }, { "type": "Identifier", "value": "f", "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 18 } }, "range": [ 17, 18 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 19 } }, "range": [ 18, 19 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 } }, "range": [ 19, 20 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } }, "range": [ 21, 22 ] }, { "type": "Identifier", "value": "await", "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 28 } }, "range": [ 23, 28 ] }, { "type": "Identifier", "value": "a", "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 ] }, { "type": "Keyword", "value": "yield", "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 37 } }, "range": [ 32, 37 ] }, { "type": "Identifier", "value": "b", "loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 1, "column": 39 } }, "range": [ 38, 39 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 1, "column": 39 }, "end": { "line": 1, "column": 40 } }, "range": [ 39, 40 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 41 }, "end": { "line": 1, "column": 42 } }, "range": [ 41, 42 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 43 }, "end": { "line": 1, "column": 44 } }, "range": [ 43, 44 ] } ] };