Struct tree_sitter_graph::ast::Capture [−][src]
pub struct Capture {
pub index: usize,
pub name: Identifier,
}
Expand description
A capture expression that references a syntax node
Fields
index: usize
The index of this capture in the block’s tree-sitter query
name: Identifier
The name of the capture
Trait Implementations
Performs the conversion.