visitChildren method
Calls visitor for each child node of this parent group.
This call does not recursively call visitChildren. Callers must decide
whether to do BFS or DFS by calling visitChildren if the visited child
is a ParentNode.
Implementation
@override
void visitChildren(NodeCallback visitor) {
children.forEach(visitor);
}