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