Пример #1
0
        public bool VisitExprBooleanGt(ExprBooleanGt expr, TCtx arg)
        {
            var res = this.Visit(expr, "BooleanGt", arg, out var argOut) && this.Accept("Left", expr.Left, argOut) && this.Accept("Right", expr.Right, argOut);

            this._visitor.EndVisitExpr(expr, arg);
            return(res);
        }
Пример #2
0
        public bool VisitExprBooleanGt(ExprBooleanGt booleanGt, IExpr?parent)
        {
            booleanGt.Left.Accept(this, booleanGt);
            this.Builder.Append('>');
            booleanGt.Right.Accept(this, booleanGt);

            return(true);
        }
Пример #3
0
 public static ExprBooleanGt WithRight(this ExprBooleanGt original, ExprValue newRight)
 => new ExprBooleanGt(left: original.Left, right: newRight);