visitChildren method

  1. @override
void visitChildren(
  1. NodeCallback visitor
)

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) {
  visitor(child);
}