export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 35 } }, "range": [ 0, 35 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 35 } }, "range": [ 0, 35 ], "expression": { "type": "ClassExpression", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 33 } }, "range": [ 1, 33 ], "id": null, "superClass": null, "body": { "type": "ClassBody", "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 33 } }, "range": [ 7, 33 ], "body": [ { "type": "MethodDefinition", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 32 } }, "range": [ 8, 32 ], "computed": false, "key": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 17 } }, "range": [ 14, 17 ], "name": "foo" }, "static": false, "kind": "method", "value": { "type": "FunctionExpression", "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 32 } }, "range": [ 17, 32 ], "id": null, "generator": false, "expression": false, "async": true, "params": [ { "type": "Identifier", "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 19 } }, "range": [ 18, 19 ], "name": "a" } ], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 32 } }, "range": [ 21, 32 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 30 } }, "range": [ 23, 30 ], "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" } } } ] } } } ] } } } ], "sourceType": "script", "tokens": [ { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 1 } }, "range": [ 0, 1 ] }, { "type": "Keyword", "value": "class", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 6 } }, "range": [ 1, 6 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } }, "range": [ 7, 8 ] }, { "type": "Identifier", "value": "async", "loc": { "start": { "line": 1, "column": 8 }, "end": { "line": 1, "column": 13 } }, "range": [ 8, 13 ] }, { "type": "Identifier", "value": "foo", "loc": { "start": { "line": 1, "column": 14 }, "end": { "line": 1, "column": 17 } }, "range": [ 14, 17 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 18 } }, "range": [ 17, 18 ] }, { "type": "Identifier", "value": "a", "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": 31 }, "end": { "line": 1, "column": 32 } }, "range": [ 31, 32 ] }, { "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 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 1, "column": 34 }, "end": { "line": 1, "column": 35 } }, "range": [ 34, 35 ] } ] }