public override Value VisitAndExpr(AbstractIfStmtParser.AndExprContext ctx) { Value left = this.Visit(ctx.expr(0)); Value right = this.Visit(ctx.expr(1)); bool leftBoolVal = getBoolValue(left); bool rightBoolVal = getBoolValue(right); bool andExprVal = leftBoolVal && rightBoolVal; return(new Value(andExprVal)); }