Generator yielding nodes and all of their descendants (depth-first), using the given getChildren accessor to traverse each node's children.
nodes
getChildren
The root nodes to traverse.
Returns the children of a given node.
Generator yielding
nodesand all of their descendants (depth-first), using the givengetChildrenaccessor to traverse each node's children.