pub struct MatcherView<'a> { /* private fields */ }Expand description
A view of a matcher with resolved slices.
Implementations§
Source§impl<'a> MatcherView<'a>
impl<'a> MatcherView<'a>
Sourcepub fn negated_fields(&self) -> &'a [NodeFieldId] ⓘ
pub fn negated_fields(&self) -> &'a [NodeFieldId] ⓘ
Returns resolved negated fields.
Sourcepub fn kind(&self) -> MatcherKind
pub fn kind(&self) -> MatcherKind
Returns the matcher kind.