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 Node
s.
Fields§
§pattern_index: usize
§captures: &'cursor [QueryCapture<'tree>]