{ "type": "Script", "span": { "start": 135, "end": 275, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 144, "end": 145, "ctxt": 0 }, "value": "a", "optional": false }, "declare": false, "params": [], "decorators": [], "span": { "start": 135, "end": 155, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 153, "end": 155, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 147, "end": 152, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 149, "end": 152, "ctxt": 0 }, "kind": "any" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 166, "end": 167, "ctxt": 0 }, "value": "b", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 168, "end": 191, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 168, "end": 191, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 168, "end": 185, "ctxt": 0 }, "properties": [ { "type": "AssignmentPatternProperty", "span": { "start": 170, "end": 177, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 170, "end": 171, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "CallExpression", "span": { "start": 174, "end": 177, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 174, "end": 175, "ctxt": 0 }, "value": "a", "optional": false }, "arguments": [], "typeArguments": null } }, { "type": "RestElement", "span": { "start": 179, "end": 183, "ctxt": 0 }, "rest": { "start": 179, "end": 182, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 182, "end": 183, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "typeAnnotation": null } ], "optional": false, "typeAnnotation": null }, "right": { "type": "CallExpression", "span": { "start": 188, "end": 191, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 188, "end": 189, "ctxt": 0 }, "value": "a", "optional": false }, "arguments": [], "typeArguments": null }, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 157, "end": 207, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 193, "end": 207, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 199, "end": 205, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 203, "end": 204, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 203, "end": 204, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "VariableDeclaration", "span": { "start": 209, "end": 222, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 215, "end": 221, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 215, "end": 216, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 219, "end": 221, "ctxt": 0 }, "value": "", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "definite": false } ] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 233, "end": 234, "ctxt": 0 }, "value": "c", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 235, "end": 252, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 235, "end": 252, "ctxt": 0 }, "left": { "type": "ObjectPattern", "span": { "start": 235, "end": 246, "ctxt": 0 }, "properties": [ { "type": "AssignmentPatternProperty", "span": { "start": 237, "end": 238, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 237, "end": 238, "ctxt": 0 }, "value": "b", "optional": false }, "value": null }, { "type": "RestElement", "span": { "start": 240, "end": 244, "ctxt": 0 }, "rest": { "start": 240, "end": 243, "ctxt": 0 }, "argument": { "type": "Identifier", "span": { "start": 243, "end": 244, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": null }, "typeAnnotation": null } ], "optional": false, "typeAnnotation": null }, "right": { "type": "CallExpression", "span": { "start": 249, "end": 252, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 249, "end": 250, "ctxt": 0 }, "value": "a", "optional": false }, "arguments": [], "typeArguments": null }, "typeAnnotation": null } }, { "type": "Parameter", "span": { "start": 254, "end": 259, "ctxt": 0 }, "decorators": [], "pat": { "type": "AssignmentPattern", "span": { "start": 254, "end": 259, "ctxt": 0 }, "left": { "type": "Identifier", "span": { "start": 254, "end": 255, "ctxt": 0 }, "value": "d", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 258, "end": 259, "ctxt": 0 }, "value": "x", "optional": false }, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 224, "end": 275, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 261, "end": 275, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 267, "end": 273, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 271, "end": 272, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 271, "end": 272, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": null, "definite": false } ] } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } ], "interpreter": null }