export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 51 } }, "range": [ 0, 51 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 51 } }, "range": [ 0, 51 ], "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": 51 } }, "range": [ 8, 51 ], "body": [ { "type": "MethodDefinition", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 49 } }, "range": [ 10, 49 ], "kind": "method", "static": true, "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 25 } }, "range": [ 24, 25 ], "name": "f" }, "value": { "type": "FunctionExpression", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 49 } }, "range": [ 25, 49 ], "id": null, "generator": true, "expression": false, "async": true, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 49 } }, "range": [ 28, 49 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 38 } }, "range": [ 30, 38 ], "expression": { "type": "AwaitExpression", "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 37 } }, "range": [ 30, 37 ], "argument": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } }, "range": [ 36, 37 ], "name": "a" } } }, { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 39 }, "end": { "line": 1, "column": 47 } }, "range": [ 39, 47 ], "expression": { "type": "YieldExpression", "loc": { "start": { "line": 1, "column": 39 }, "end": { "line": 1, "column": 46 } }, "range": [ 39, 46 ], "delegate": false, "argument": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 46 } }, "range": [ 45, 46 ], "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": "Keyword", "value": "static", "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 16 } }, "range": [ 10, 16 ] }, { "type": "Identifier", "value": "async", "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 22 } }, "range": [ 17, 22 ] }, { "type": "Punctuator", "value": "*", "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } }, "range": [ 22, 23 ] }, { "type": "Identifier", "value": "f", "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 25 } }, "range": [ 24, 25 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 26 } }, "range": [ 25, 26 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 27 } }, "range": [ 26, 27 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 28 }, "end": { "line": 1, "column": 29 } }, "range": [ 28, 29 ] }, { "type": "Identifier", "value": "await", "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 35 } }, "range": [ 30, 35 ] }, { "type": "Identifier", "value": "a", "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } }, "range": [ 36, 37 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 38 } }, "range": [ 37, 38 ] }, { "type": "Keyword", "value": "yield", "loc": { "start": { "line": 1, "column": 39 }, "end": { "line": 1, "column": 44 } }, "range": [ 39, 44 ] }, { "type": "Identifier", "value": "b", "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 46 } }, "range": [ 45, 46 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 1, "column": 46 }, "end": { "line": 1, "column": 47 } }, "range": [ 46, 47 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 48 }, "end": { "line": 1, "column": 49 } }, "range": [ 48, 49 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 50 }, "end": { "line": 1, "column": 51 } }, "range": [ 50, 51 ] } ] };