{ "type": "Script", "span": { "start": 0, "end": 76, "ctxt": 0 }, "body": [ { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 9, "end": 10, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 11, "end": 20, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 11, "end": 20, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 12, "end": 20, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 14, "end": 20, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 0, "end": 28, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 21, "end": 27, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 23, "end": 27, "ctxt": 0 }, "kind": "void" } } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 38, "end": 39, "ctxt": 0 }, "value": "f", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 40, "end": 49, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 40, "end": 49, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 41, "end": 49, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 43, "end": 49, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 29, "end": 76, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 59, "end": 76, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 65, "end": 74, "ctxt": 0 }, "argument": { "type": "NumericLiteral", "span": { "start": 72, "end": 73, "ctxt": 0 }, "value": 0.0 } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": { "type": "TsTypeAnnotation", "span": { "start": 50, "end": 58, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 52, "end": 58, "ctxt": 0 }, "kind": "number" } } } ], "interpreter": null }