visitConditionalExpr method

  1. @override
Expression visitConditionalExpr(
  1. ConditionalExpr ast,
  2. C context
)
override

Implementation

@override
Expression visitConditionalExpr(ConditionalExpr ast, C context) {
  return ConditionalExpr(
      ast.condition.visitExpression(this, context),
      ast.trueCase.visitExpression(this, context),
      ast.falseCase.visitExpression(this, context));
}