function wrapTryCatchInFunction(node) { const ret = wrapTryCatch(babelTypes.returnStatement(node)); const anonymousFun = babelTypes.functionExpression( null, [], babelTypes.blockStatement([ret])); return babelTypes.callExpression(anonymousFun, []); }
expgen({ META: meta, FUN_AST: t.functionExpression( t.identifier(functionName), functionAst.params,