[−][src]Function antlr_rust::trees::string_tree
pub fn string_tree<'a, T: Tree<'a> + ?Sized>(
tree: &T,
rule_names: &[&str]
) -> String
Print out a whole tree, not just a node, in LISP format {@code (root child1 .. childN)}. Print just a node if this is a leaf.