Struct tree_sitter::Tree [−][src]
pub struct Tree(_);
Methods
impl Tree
[src]
impl Tree
pub fn root_node(&self) -> Node
[src]
pub fn root_node(&self) -> Node
pub fn edit(&mut self, edit: &InputEdit)
[src]
pub fn edit(&mut self, edit: &InputEdit)
pub fn walk(&self) -> TreeCursor
[src]
pub fn walk(&self) -> TreeCursor
Trait Implementations
impl Send for Tree
[src]
impl Send for Tree
impl Debug for Tree
[src]
impl Debug for Tree
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Drop for Tree
[src]
impl Drop for Tree
impl Clone for Tree
[src]
impl Clone for Tree