An element visitor that walks the graph pattern tree for one query level.
applying a visitor at each Element traversed.
Does not process subqueries.
Does not process (NOT)EXISTS in filters.
These will need to call down themselves if it is meaningful for the visitor.
Bottom-up walk - apply to subelements before applying to current element.