{ "type": "Program", "statements": [ { "type": "ExportNamedDeclaration", "declaration": null, "source": { "type": "StringLiteral", "value": "foo", "loc": { "start": { "line": 20, "column": 26 }, "end": { "line": 20, "column": 31 } } }, "specifiers": [ { "type": "ExportSpecifier", "local": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 11 } } }, "exported": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 16 } } }, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 16 } } }, { "type": "ExportSpecifier", "local": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 19 } } }, "exported": { "type": "Identifier", "name": "c", "decorators": [], "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 19 } } }, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 19 } } } ], "loc": { "start": { "line": 20, "column": 1 }, "end": { "line": 20, "column": 20 } } }, { "type": "ExportNamedDeclaration", "declaration": null, "source": null, "specifiers": [], "loc": { "start": { "line": 21, "column": 1 }, "end": { "line": 21, "column": 10 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "e", "decorators": [], "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, "init": { "type": "NumberLiteral", "value": 1, "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 17 } } }, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 17 } } } ], "kind": "var", "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 18 } } }, "source": null, "specifiers": [], "loc": { "start": { "line": 22, "column": 1 }, "end": { "line": 22, "column": 18 } } }, { "type": "ExportNamedDeclaration", "declaration": null, "source": { "type": "StringLiteral", "value": "bar", "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 21 } } }, "specifiers": [], "loc": { "start": { "line": 23, "column": 1 }, "end": { "line": 23, "column": 10 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "f", "decorators": [], "loc": { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 18 } } }, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 24, "column": 21 }, "end": { "line": 24, "column": 23 } } }, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 23 } } }, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 23 } } }, "source": null, "specifiers": [], "loc": { "start": { "line": 24, "column": 1 }, "end": { "line": 24, "column": 23 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "g", "decorators": [], "loc": { "start": { "line": 25, "column": 23 }, "end": { "line": 25, "column": 24 } } }, "generator": false, "async": true, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 25, "column": 27 }, "end": { "line": 25, "column": 29 } } }, "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 25, "column": 29 } } }, "loc": { "start": { "line": 25, "column": 14 }, "end": { "line": 25, "column": 29 } } }, "source": null, "specifiers": [], "loc": { "start": { "line": 25, "column": 1 }, "end": { "line": 25, "column": 29 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "FunctionDeclaration", "function": { "type": "ScriptFunction", "id": { "type": "Identifier", "name": "h", "decorators": [], "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 19 } } }, "generator": true, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 24 } } }, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 24 } } }, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 24 } } }, "source": null, "specifiers": [], "loc": { "start": { "line": 26, "column": 1 }, "end": { "line": 26, "column": 24 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "i", "decorators": [], "loc": { "start": { "line": 27, "column": 14 }, "end": { "line": 27, "column": 15 } } }, "superClass": null, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "constructor", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 17 } } }, "body": [], "loc": { "start": { "line": 27, "column": 15 }, "end": { "line": 27, "column": 17 } } }, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 17 } } }, "source": null, "specifiers": [], "loc": { "start": { "line": 27, "column": 1 }, "end": { "line": 27, "column": 17 } } }, { "type": "EmptyStatement", "loc": { "start": { "line": 27, "column": 17 }, "end": { "line": 27, "column": 18 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "j", "decorators": [], "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 13 } } }, "init": { "type": "NumberLiteral", "value": 2, "loc": { "start": { "line": 28, "column": 16 }, "end": { "line": 28, "column": 17 } } }, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 17 } } } ], "kind": "let", "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 18 } } }, "source": null, "specifiers": [], "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 28, "column": 18 } } }, { "type": "ExportNamedDeclaration", "declaration": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "k", "decorators": [], "loc": { "start": { "line": 29, "column": 14 }, "end": { "line": 29, "column": 15 } } }, "init": { "type": "BooleanLiteral", "value": true, "loc": { "start": { "line": 29, "column": 18 }, "end": { "line": 29, "column": 22 } } }, "loc": { "start": { "line": 29, "column": 14 }, "end": { "line": 29, "column": 22 } } } ], "kind": "const", "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 23 } } }, "source": null, "specifiers": [], "loc": { "start": { "line": 29, "column": 1 }, "end": { "line": 29, "column": 23 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 29, "column": 23 } } }