TreeReader.iterate

calls a function on every node

loop is terminated as soon as false is returned from function No recursion is used, as it uses a stack to store which nodes it has to call a function on

  1. void iterate(bool function(TreeNode!(T)*) func)
    struct TreeReader(T)
    void
    iterate
    (
    bool function
    ()
    func
    )
  2. void iterate(bool delegate(TreeNode!(T)*) func)

Meta