Struct tree_sitter::Node [−][src]
pub struct Node<'a>(_, _);
Methods
impl<'tree> Node<'tree>
[src]
impl<'tree> Node<'tree>
pub fn kind_id(&self) -> u16
[src]
pub fn kind_id(&self) -> u16
pub fn kind(&self) -> &'static str
[src]
pub fn kind(&self) -> &'static str
pub fn is_named(&self) -> bool
[src]
pub fn is_named(&self) -> bool
pub fn has_changes(&self) -> bool
[src]
pub fn has_changes(&self) -> bool
pub fn has_error(&self) -> bool
[src]
pub fn has_error(&self) -> bool
pub fn start_byte(&self) -> u32
[src]
pub fn start_byte(&self) -> u32
pub fn end_byte(&self) -> u32
[src]
pub fn end_byte(&self) -> u32
pub fn start_position(&self) -> Point
[src]
pub fn start_position(&self) -> Point
pub fn end_position(&self) -> Point
[src]
pub fn end_position(&self) -> Point
pub fn child(&self, i: u32) -> Option<Self>
[src]
pub fn child(&self, i: u32) -> Option<Self>
pub fn child_count(&self) -> u32
[src]
pub fn child_count(&self) -> u32
pub fn named_child<'a>(&'a self, i: u32) -> Option<Self>
[src]
pub fn named_child<'a>(&'a self, i: u32) -> Option<Self>
pub fn named_child_count(&self) -> u32
[src]
pub fn named_child_count(&self) -> u32
pub fn parent(&self) -> Option<Self>
[src]
pub fn parent(&self) -> Option<Self>
pub fn next_sibling(&self) -> Option<Self>
[src]
pub fn next_sibling(&self) -> Option<Self>
pub fn prev_sibling(&self) -> Option<Self>
[src]
pub fn prev_sibling(&self) -> Option<Self>
pub fn next_named_sibling(&self) -> Option<Self>
[src]
pub fn next_named_sibling(&self) -> Option<Self>
pub fn prev_named_sibling(&self) -> Option<Self>
[src]
pub fn prev_named_sibling(&self) -> Option<Self>
pub fn to_sexp(&self) -> String
[src]
pub fn to_sexp(&self) -> String
Trait Implementations
impl<'a> PartialEq for Node<'a>
[src]
impl<'a> PartialEq for Node<'a>
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl<'a> Debug for Node<'a>
[src]
impl<'a> Debug for Node<'a>