visitIfStmt method

  1. @override
Statement visitIfStmt(
  1. IfStmt stmt,
  2. C context
)
override

Implementation

@override
Statement visitIfStmt(IfStmt stmt, C context) {
  return IfStmt(
      stmt.condition.visitExpression(this, context),
      visitAllStatements(stmt.trueCase, context),
      visitAllStatements(stmt.falseCase, context));
}