export default { "type": "Program", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 2 } }, "range": [ 0, 44 ], "body": [ { "type": "FunctionDeclaration", "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 1 } }, "range": [ 0, 43 ], "id": { "type": "Identifier", "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 19 } }, "range": [ 15, 19 ], "name": "wrap" }, "generator": false, "expression": false, "async": true, "params": [], "body": { "type": "BlockStatement", "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 3, "column": 1 } }, "range": [ 22, 43 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 17 } }, "range": [ 28, 41 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { "line": 2, "column": 5 }, "end": { "line": 2, "column": 16 } }, "range": [ 29, 40 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { "line": 2, "column": 5 }, "end": { "line": 2, "column": 6 } }, "range": [ 29, 30 ], "name": "a" }, "right": { "type": "AwaitExpression", "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 16 } }, "range": [ 33, 40 ], "argument": { "type": "Identifier", "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 16 } }, "range": [ 39, 40 ], "name": "b" } } } } ] } }, { "type": "EmptyStatement", "loc": { "start": { "line": 3, "column": 1 }, "end": { "line": 3, "column": 2 } }, "range": [ 43, 44 ] } ], "sourceType": "module", "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": "wrap", "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 19 } }, "range": [ 15, 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": 20 }, "end": { "line": 1, "column": 21 } }, "range": [ 20, 21 ] }, { "type": "Punctuator", "value": "{", "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } }, "range": [ 22, 23 ] }, { "type": "Punctuator", "value": "(", "loc": { "start": { "line": 2, "column": 4 }, "end": { "line": 2, "column": 5 } }, "range": [ 28, 29 ] }, { "type": "Identifier", "value": "a", "loc": { "start": { "line": 2, "column": 5 }, "end": { "line": 2, "column": 6 } }, "range": [ 29, 30 ] }, { "type": "Punctuator", "value": "=", "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } }, "range": [ 31, 32 ] }, { "type": "Identifier", "value": "await", "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 14 } }, "range": [ 33, 38 ] }, { "type": "Identifier", "value": "b", "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 16 } }, "range": [ 39, 40 ] }, { "type": "Punctuator", "value": ")", "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 17 } }, "range": [ 40, 41 ] }, { "type": "Punctuator", "value": "}", "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 1 } }, "range": [ 42, 43 ] }, { "type": "Punctuator", "value": ";", "loc": { "start": { "line": 3, "column": 1 }, "end": { "line": 3, "column": 2 } }, "range": [ 43, 44 ] } ] }