Trait antlr_rust::tree::NodeText[][src]

pub trait NodeText {
    fn get_node_text(&self, rule_names: &[&str]) -> String;
}
Expand description

text of the node. Already implemented for all rule contexts

Required methods

Returns text representation of current node type, rule name for context nodes and token text for terminal nodes

Implementors