Finds the closest parent node to a resolved position that matches a predicate.
The resolved position to search from
The predicate to match
The closest parent node to the resolved position that matches the predicate
Finds the closest parent node to a resolved position that matches a predicate.