{ "type": "Program", "body": [ { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "foo", "range": [ 16, 19 ], "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 19 } } }, "params": [], "body": { "type": "BlockStatement", "body": [], "range": [ 23, 25 ], "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 25 } } }, "generator": false, "expression": false, "async": false, "range": [ 7, 25 ], "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 25 } } }, "specifiers": [], "source": null, "range": [ 0, 25 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } } } ], "sourceType": "module", "tokens": [ { "type": "Keyword", "value": "export", "range": [ 0, 6 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": "Keyword", "value": "function", "range": [ 7, 15 ], "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 15 } } }, { "type": "Identifier", "value": "foo", "range": [ 16, 19 ], "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 19 } } }, { "type": "Punctuator", "value": "(", "range": [ 20, 21 ], "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 21 } } }, { "type": "Punctuator", "value": ")", "range": [ 21, 22 ], "loc": { "start": { "line": 1, "column": 21 }, "end": { "line": 1, "column": 22 } } }, { "type": "Punctuator", "value": "{", "range": [ 23, 24 ], "loc": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 24 } } }, { "type": "Punctuator", "value": "}", "range": [ 24, 25 ], "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 25 } } } ], "range": [ 0, 25 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } } }