Struct tree_sitter_graph::ast::Stanza
source · [−]pub struct Stanza {
pub query: Query,
pub statements: Vec<Statement>,
pub full_match_file_capture_index: usize,
pub location: Location,
}Expand description
One stanza within a file
Fields
query: QueryThe tree-sitter query for this stanza
statements: Vec<Statement>The list of statements in the stanza
full_match_file_capture_index: usizeCapture index of the full match in the file query
location: LocationTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stanza
impl Send for Stanza
impl Sync for Stanza
impl Unpin for Stanza
impl UnwindSafe for Stanza
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more