tree_printer

class TreePrinter: tree_visitor.TreeVisitor;
visit all the nodes and get information about each
String tree_string;
the information about the tree as a string
nothrow @nogc this(const string source_code);
create a TreePrinter using the source code
Parameters:
string source_code the given source code as a string
@trusted bool enter_node(TreeCursor* cursor);
A function that gets the information about a node
const nothrow @nogc void leave_node(TreeCursor* cursor);
A function that is called after all the children nodes are visited