result += "\n";
    public Object visitFunction(Function func)    {        String result = "";        result += convertType(func.getReturnType()) + " " + func.getName();        result += doParams(func.getParams());        result += (String)func.getBody().accept(this);        return result;    }