opendap/src/main/java/opendap/servers/parsers/AST.java
Stack collect(Stack components)
        throws DAP2ServerSideException, DAP2Exception,
        NoSuchFunctionException, NoSuchVariableException
    {
        for(ASTsegment segment : segments) {
            components = segment.collect(components);
        }
        return components;
    }
Stack collect(Stack components)
        throws DAP2ServerSideException, DAP2Exception,
        NoSuchFunctionException, NoSuchVariableException
    {
        for(ASTsegment segment : segments) {
            components = segment.collect(components);
        }
        return components;
    }
/*
public String toString()
{
StringBuilder buf = new StringBuilder();
boolean first = true;
for(ASTsegment seg : segments) {
buf.append((first ? "" : ".") + seg.toString());
first = false;
}
return buf.toString();
}