opendap/src/main/java/opendap/servers/parsers/AST.java
public void walkConstraint()
        throws DAP2ServerSideException, DAP2Exception
    {
        if(projections != null)
            for(ASTprojection proj : projections) {
                proj.walk(ceEval);
            }
        else
            getCeEval().markAll(true);
        if(selections != null)
            for(ASTclause cl : selections) {
                getCeEval().appendClause(cl.translate());
            }
    }
public void walkConstraint()
        throws DAP2ServerSideException, DAP2Exception
    {
        if(projections != null)
            for(ASTprojection proj : projections) {
                proj.walk(ceEval);
            }
        else
            getCeEval().markAll(true);
        if(selections != null)
            for(ASTclause cl : selections) {
                getCeEval().appendClause(cl.translate());
            }
    }
public void walkConstraint ( ) throws DAP2ServerSideException , DAP2Exception { if ( projections != null ) for ( ASTprojection proj : projections ) { proj . walk ( ceEval ) ; } else getCeEval ( ) . markAll ( true ) ; if ( selections != null ) for ( ASTclause cl : selections ) { getCeEval ( ) . appendClause ( cl . translate ( ) ) ; } }
/*
public String toString()
{
StringBuilder buf = new StringBuilder();
boolean first = true;
if (projections != null)
for(ASTprojection p : projections) {
buf.append((first ? "" : ",") + p.toString());
first = false;
}
first = true;
if (selections != null)
for(ASTclause c : selections) {
buf.append(c.toString());
first = false;
}
return buf.toString();
}
/ * public String toString () { StringBuilder buf = new StringBuilder () ; boolean first = true ; if ( projections ! = null ) for ( ASTprojection p : projections ) { buf . append (( first ? : ) + p . toString () ) ; first = false ; } first = true ; if ( selections ! = null ) for ( ASTclause c : selections ) { buf . append ( c . toString () ) ; first = false ; } return buf . toString () ; }