visitIfRule method
Implementation
void visitIfRule(IfRule node) {
for (var clause in node.clauses) {
for (var child in clause.children) {
child.accept(this);
}
}
if (node.lastClause case var lastClause?) {
for (var child in lastClause.children) {
child.accept(this);
}
}
}