export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 37 } }, "range": [ 0, 37 ], "body": [ { "type": "FunctionDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 36 } }, "range": [ 0, 36 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 18 } }, "range": [ 15, 18 ], "name": "foo" }, "generator": false, "expression": false, "async": true, "params": [ { "type": "Identifier", "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 } }, "range": [ 19, 20 ], "name": "a" }, { "type": "Identifier", "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } }, "range": [ 22, 23 ], "name": "b" } ], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 36 } }, "range": [ 25, 36 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 34 } }, "range": [ 27, 34 ], "expression": { "type": "AwaitExpression", "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 34 } }, "range": [ 27, 34 ], "argument": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 34 } }, "range": [ 33, 34 ], "name": "a" } } } ] } }, { "type": "EmptyStatement", "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } }, "range": [ 36, 37 ] } ], "sourceType": "script", "tokens": [ { "type": "Identifier", "value": "async", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 5 } }, "range": [ 0, 5 ] }, { "type": "Keyword", "value": "function", "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 14 } }, "range": [ 6, 14 ] }, { "type": "Identifier", "value": "foo", "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 18 } }, "range": [ 15, 18 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 1, "column": 18 }, "end": { "line": 1, "column": 19 } }, "range": [ 18, 19 ] }, { "type": "Identifier", "value": "a", "loc": { "start": { "line": 1, "column": 19 }, "end": { "line": 1, "column": 20 } }, "range": [ 19, 20 ] }, { "type": "Punctuator", "value": ",", "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 21 } }, "range": [ 20, 21 ] }, { "type": "Identifier", "value": "b", "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } }, "range": [ 22, 23 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } }, "range": [ 23, 24 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 25 }, "end": { "line": 1, "column": 26 } }, "range": [ 25, 26 ] }, { "type": "Identifier", "value": "await", "loc": { "start": { "line": 1, "column": 27 }, "end": { "line": 1, "column": 32 } }, "range": [ 27, 32 ] }, { "type": "Identifier", "value": "a", "loc": { "start": { "line": 1, "column": 33 }, "end": { "line": 1, "column": 34 } }, "range": [ 33, 34 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 36 } }, "range": [ 35, 36 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 37 } }, "range": [ 36, 37 ] } ] }