accept

This method can return null to indicate that this
AndQueryNode does not contain any operands.
Accepts a QueryNodeVisitor and calls the apropriate visit
method on the visitor depending on the concrete implementation of
this QueryNode.