Exemple #1
0
        public bool VisitExprBooleanLtEq(ExprBooleanLtEq expr, TCtx arg)
        {
            var res = this.Visit(expr, "BooleanLtEq", arg, out var argOut) && this.Accept("Left", expr.Left, argOut) && this.Accept("Right", expr.Right, argOut);

            this._visitor.EndVisitExpr(expr, arg);
            return(res);
        }
        public bool VisitExprBooleanLtEq(ExprBooleanLtEq booleanLtEq, IExpr?parent)
        {
            booleanLtEq.Left.Accept(this, booleanLtEq);
            this.Builder.Append("<=");
            booleanLtEq.Right.Accept(this, booleanLtEq);

            return(true);
        }
Exemple #3
0
 public static ExprBooleanLtEq WithRight(this ExprBooleanLtEq original, ExprValue newRight)
 => new ExprBooleanLtEq(left: original.Left, right: newRight);