[][src]Trait antlr_rust::tree::Tree

pub trait Tree: NodeText {
    fn get_parent(&self) -> Option<ParserRuleContextType>;
fn has_parent(&self) -> bool;
fn get_payload(&self) -> Box<dyn Any>;
fn get_child(&self, i: usize) -> Option<ParserRuleContextType>;
fn get_child_count(&self) -> usize;
fn get_children(&self) -> Ref<Vec<ParserRuleContextType>>;
fn get_children_full(&self) -> &RefCell<Vec<ParserRuleContextType>>; }

Required methods

Loading content...

Implementors

Loading content...