visitIfRule method

T? visitIfRule(
  1. IfRule node
)
override

Implementation

T? visitIfRule(IfRule node) =>
    node.clauses.search((clause) =>
        visitExpression(clause.expression) ??
        clause.children.search((child) => child.accept(this))) ??
    node.lastClause.andThen((lastClause) =>
        lastClause.children.search((child) => child.accept(this)));