subAccept method

  1. @override
void subAccept(
  1. AbstractASTVisitor visitor
)
override

Visit all the sub nodes of this, doing nothing by default.

Implementation

@override
void subAccept(AbstractASTVisitor visitor) {
  condition?.accept(visitor);
  for (final caseExpr in cases.keys) {
    caseExpr.accept(visitor);
    final branch = cases[caseExpr]!;
    branch.accept(visitor);
  }
  elseBranch?.accept(visitor);
}