opendap/src/main/java/opendap/servers/parsers/AST.java
SubClause translate()
        throws DAP2ServerSideException, DAP2Exception,
        NoSuchFunctionException, NoSuchVariableException
    {
        SubClause subclause = null;
        Vector<SubClause> cvtargs = new Vector<SubClause>();
        if(args != null)
            for(ASTvalue arg : args)
                cvtargs.addElement(arg.translate());
        subclause = getClauseFactory().newBTFunctionClause(fcnname, cvtargs);
        return subclause;
    }
SubClause translate()
        throws DAP2ServerSideException, DAP2Exception,
        NoSuchFunctionException, NoSuchVariableException
    {
        SubClause subclause = null;
        Vector<SubClause> cvtargs = new Vector<SubClause>();
        if(args != null)
            for(ASTvalue arg : args)
                cvtargs.addElement(arg.translate());
        subclause = getClauseFactory().newBTFunctionClause(fcnname, cvtargs);
        return subclause;
    }
/*
public String toString()
{
StringBuilder buf = new StringBuilder();
boolean first = true;
buf.append(fcnname);
buf.append("(");
if(args != null)
for(ASTvalue arg: args) {
if(!first) buf.append(","); else {first = false;}
buf.append(arg.toString());
}
buf.append(")");
return buf.toString();
}