示例#1
0
        public bool VisitExprNull(ExprNull expr, TCtx arg)
        {
            var res = this.Visit(expr, "Null", arg, out var argOut);

            this._visitor.EndVisitExpr(expr, arg);
            return(res);
        }
示例#2
0
        protected Expr CreateIsNullExpr()
        {
            var op           = Enums.ComparisonOperation.Equals;
            var expr_null    = new ExprNull();
            var expr_compare = Expr.GetExprComparison(this.expr_field, expr_null, op);

            return(expr_compare);
        }
        protected Expr CreateIsNotNullExpr()
        {
            var op           = AdlClient.OData.Models.ComparisonOperation.NotEquals;
            var expr_null    = new ExprNull();
            var expr_compare = Expr.GetExprComparison(this.expr_field, expr_null, op);

            return(expr_compare);
        }
示例#4
0
 public bool VisitExprNull(ExprNull exprNull, IExpr?parent)
 {
     this.Builder.Append("NULL");
     return(true);
 }
 public TRes VisitExprNull(ExprNull exprNull, ExprValueTypeAnalyzerCtx <TRes, TCtx> ctx)
 {
     return(ctx.ValueVisitor.VisitAny(ctx.Ctx, true));
 }