visitChildren<R> method
Lets Visitor v
visit children nodes of this node.
Implementation
void visitChildren<R>(Visitor<R> v) => _children.forEach(
(child) {
if (child is List<Node>) {
_visitAll(child, v);
} else if (child is Node) {
_visitOne(child, v);
}
},
);