TreeReader.iterate

calls a delegate 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 delegate on

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

Meta