tree_visitor
- interface
TreeVisitor
; - An interface that describes the minimum functions that a visitor requires
- abstract bool
enter_node
(TreeCursor* cursor); - A function that is called before the children of a node are visited If this function returns
false
the visiting will of the children will be skipped.NOTE: If thecursor
is modified (e.g. by callingcursor.children(&cursor)
) - abstract void
leave_node
(TreeCursor* cursor); - A function that is called after all the children nodes are visited