Pulls a visitor instance for visiting child clauses of a query
The default implementation returns this, unless occur is equal to in which case it returns .EMPTY_VISITOR
this
occur
the relationship between the parent and its children
the query visited