public Visit ( ForestInternal node ) : bool | ||
node | ForestInternal | |
Résultat | bool |
public virtual bool Visit(ForestInternal node) {
foreach (var option in node.Options) {
foreach (var children in option.Children()) {
foreach (var child in children) {
child.Accept(this);
}
}
}
return true;
}
}
DefaultVisitor::Visit ( ForestLeaf node ) : bool |