childrenOfTypeDepthFirst

inline fun <T : Node> Node.childrenOfTypeDepthFirst(): Sequence<T>(source)

Return

a sequence of child nodes of type T of this Node in depth-first order. The sequence starts with the first child node of this Node, followed by the first child node of the first child node, and so on.