Trait rust_sitter::Extract
source · pub trait Extract {
// Required method
fn extract(node: Option<Node<'_>>, source: &[u8], last_idx: usize) -> Self;
}Expand description
Defines the logic used to convert a node in a Tree Sitter tree to the corresponding Rust type.