{ "type": "File", "start": 0, "end": 29, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 2, "column": 6 } }, "program": { "type": "Program", "start": 0, "end": 29, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 2, "column": 6 } }, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start": 0, "end": 22, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 22 } }, "id": { "type": "Identifier", "start": 15, "end": 17, "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 17 }, "identifierName": "fn" }, "name": "fn" }, "generator": false, "async": true, "params": [], "body": { "type": "BlockStatement", "start": 20, "end": 22, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 22 } }, "body": [], "directives": [] } }, { "type": "ExpressionStatement", "start": 23, "end": 29, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } }, "expression": { "type": "RegExpLiteral", "start": 23, "end": 29, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } }, "extra": { "raw": "/foo/g" }, "pattern": "foo", "flags": "g" } } ], "directives": [] } }