# # Callback methods used to visit a tree # Are empty so it is possible defined only a subset # class TreeNodeVisitor def enter_tree_node( tree_node ) end def exit_tree_node( tree_node ) end def visit_leaf_node( leaf_node ) end end