Node.opApply

int opApply(D)(D dg) if (isDelegate!D && (Parameters!D.length == 1))

Foreach over a sequence, getting each element as T.

If T is Node, simply iterate over the nodes in the sequence. Otherwise, convert each node to T during iteration.

Throws

NodeException if the node is not a sequence or an

element could not be converted to specified type.

int opApply(D)(D dg) if (isDelegate!D && (Parameters!D.length == 1)) const

ditto

int opApply(DG)(DG dg) if (isDelegate!DG && (Parameters!DG.length == 2))

Foreach over a mapping, getting each key/value as K/V.

If the K and/or V is Node, simply iterate over the nodes in the mapping. Otherwise, convert each key/value to T during iteration.

Throws

NodeException if the node is not a mapping or an

element could not be converted to specified type.

int opApply(DG)(DG dg) if (isDelegate!DG && (Parameters!DG.length == 2)) const

ditto