Struct tree_sitter_facade::Node [−][src]
pub struct Node<'tree> { /* fields omitted */ }
Implementations
pub fn children<'a>(
&self,
cursor: &'a mut TreeCursor<'tree>
) -> impl ExactSizeIterator<Item = Node<'tree>> + 'a
pub fn children_by_field_id<'a>(
&self,
field_id: u16,
cursor: &'a mut TreeCursor<'tree>
) -> impl Iterator<Item = Node<'tree>> + 'a
pub fn children_by_field_name<'a>(
&self,
field_name: &str,
cursor: &'a mut TreeCursor<'tree>
) -> impl Iterator<Item = Node<'tree>> + 'a
pub fn named_children<'a>(
&self,
cursor: &'a mut TreeCursor<'tree>
) -> impl ExactSizeIterator<Item = Node<'tree>> + 'a
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more