hasAncestor

Keep matching this node, but only when an ancestor matches other.

Throws

when other has a match choice or a different scope.