Struct tree_sitter::QueryMatch
source · [−]pub struct QueryMatch<'cursor, 'tree> {
pub pattern_index: usize,
pub captures: &'cursor [QueryCapture<'tree>],
/* private fields */
}Expand description
A match of a Query to a particular set of Nodes.
Fields
pattern_index: usizecaptures: &'cursor [QueryCapture<'tree>]