Darwin Help
Back to Index
Leaves
Iterator
Leaves
- walks over all the leaves of a tree
Calling Sequence
for n in Leaves(tree) do ... od;
Parameters
Name
Type
Description
tree
Tree
a general tree
Return Type
Leaf
Synopsis
This is an iterator which returns all the leaves of a tree in infix order.
See also
Infix
,
iterate
,
iterator
,
Leaf
,
objectorientation
,
Postfix
,
Prefix