{ "type": "Module", "span": { "start": 57, "end": 281, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 57, "end": 96, "ctxt": 0 }, "declaration": { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 73, "end": 76, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 64, "end": 96, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 79, "end": 96, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 81, "end": 94, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 88, "end": 93, "ctxt": 0 }, "value": "foo", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, { "type": "ExpressionStatement", "span": { "start": 117, "end": 131, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 117, "end": 130, "ctxt": 0 }, "callee": { "type": "Import", "span": { "start": 117, "end": 123, "ctxt": 0 } }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 124, "end": 129, "ctxt": 0 }, "value": "./0", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "typeArguments": null } }, { "type": "VariableDeclaration", "span": { "start": 132, "end": 155, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 136, "end": 154, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 136, "end": 138, "ctxt": 0 }, "value": "p1", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 141, "end": 154, "ctxt": 0 }, "callee": { "type": "Import", "span": { "start": 141, "end": 147, "ctxt": 0 } }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 148, "end": 153, "ctxt": 0 }, "value": "./0", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "typeArguments": null }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 156, "end": 199, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 156, "end": 199, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 156, "end": 163, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 156, "end": 158, "ctxt": 0 }, "value": "p1", "optional": false }, "property": { "type": "Identifier", "span": { "start": 159, "end": 163, "ctxt": 0 }, "value": "then", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "ArrowFunctionExpression", "span": { "start": 164, "end": 198, "ctxt": 0 }, "params": [ { "type": "Identifier", "span": { "start": 164, "end": 168, "ctxt": 0 }, "value": "zero", "optional": false, "typeAnnotation": null } ], "body": { "type": "BlockStatement", "span": { "start": 172, "end": 198, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 178, "end": 196, "ctxt": 0 }, "argument": { "type": "CallExpression", "span": { "start": 185, "end": 195, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 185, "end": 193, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 185, "end": 189, "ctxt": 0 }, "value": "zero", "optional": false }, "property": { "type": "Identifier", "span": { "start": 190, "end": 193, "ctxt": 0 }, "value": "foo", "optional": false } }, "arguments": [], "typeArguments": null } } ] }, "async": false, "generator": false, "typeParameters": null, "returnType": null } } ], "typeArguments": null } }, { "type": "ExportDeclaration", "span": { "start": 201, "end": 231, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 208, "end": 231, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 212, "end": 230, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 212, "end": 214, "ctxt": 0 }, "value": "p2", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 217, "end": 230, "ctxt": 0 }, "callee": { "type": "Import", "span": { "start": 217, "end": 223, "ctxt": 0 } }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 224, "end": 229, "ctxt": 0 }, "value": "./0", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "typeArguments": null }, "definite": false } ] } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 242, "end": 245, "ctxt": 0 }, "value": "foo", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 233, "end": 281, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 248, "end": 281, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 254, "end": 279, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 260, "end": 278, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 260, "end": 262, "ctxt": 0 }, "value": "p2", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 265, "end": 278, "ctxt": 0 }, "callee": { "type": "Import", "span": { "start": 265, "end": 271, "ctxt": 0 } }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 272, "end": 277, "ctxt": 0 }, "value": "./0", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "typeArguments": null }, "definite": false } ] } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }