public void VisitFunction(CFunction function) { if (canGenerate(function)) { funcname = function.Name; visitor.VisitFunction(function); funcname = ""; } }