Predicate used by ExAST.Selector.where/2.
Build predicates with ExAST.Selector.parent/1, ancestor/1,
has_child/1, has_descendant/1, or has/1. Negate them with
ExAST.Selector.not/1.
Summary
Types
@type relation() :: :parent | :ancestor | :has_child | :has_descendant
@type t() :: %ExAST.Selector.Predicate{ negated?: boolean(), pattern: ExAST.Pattern.pattern(), relation: relation() }