public bool VisitExprTypeDateTime(ExprTypeDateTime expr, TCtx arg) { var res = this.Visit(expr, "TypeDateTime", arg, out var argOut); this.VisitPlainProperty("IsDate", expr.IsDate, argOut); this._visitor.EndVisitExpr(expr, arg); return(res); }
public override bool VisitExprTypeDateTime(ExprTypeDateTime exprTypeDateTime, IExpr?parent) { if (exprTypeDateTime.IsDate) { this.Builder.Append("date"); } else { this.Builder.Append("datetime"); } return(true); }
public static ExprTypeDateTime WithIsDate(this ExprTypeDateTime original, Boolean newIsDate) => new ExprTypeDateTime(isDate: newIsDate);
public abstract bool VisitExprTypeDateTime(ExprTypeDateTime exprTypeDateTime, IExpr?parent);
TRes IExprTypeVisitor <TRes, ExprValueTypeAnalyzerCtx <TRes, TCtx> > .VisitExprTypeDateTime(ExprTypeDateTime exprTypeDateTime, ExprValueTypeAnalyzerCtx <TRes, TCtx> ctx) { return(ctx.ValueVisitor.VisitDateTime(ctx.Ctx, null)); }