ElementStream

This is the lazy range that walks the tree for you. It tries to go in the lexical order of the source: node, then children from first to last, each recursively.

Constructors

this
this(Element start)

Use Element.tree instead.

Members

Functions

currentKilled
void currentKilled()

You should call this when you remove an element from the tree. It then doesn't recurse into that node and adjusts the current position, keeping the range stable.

popFront
void popFront()

.

Properties

empty
bool empty [@property getter]

.

front
Element front [@property getter]

.

Meta