Struct tree_sitter::QueryMatch [−][src]
pub struct QueryMatch<'a> { pub pattern_index: usize, pub captures: &'a [QueryCapture<'a>], // some fields omitted }
Expand description
A match of a Query
to a particular set of Node
s.
Fields
pattern_index: usize
captures: &'a [QueryCapture<'a>]
Implementations
impl<'a> QueryMatch<'a>
[src]
impl<'a> QueryMatch<'a>
[src]