public bool VisitExprByteLiteral(ExprByteLiteral expr, TCtx arg) { var res = this.Visit(expr, "ByteLiteral", arg, out var argOut); this.VisitPlainProperty("Value", expr.Value, argOut); this._visitor.EndVisitExpr(expr, arg); return(res); }
public bool VisitExprByteLiteral(ExprByteLiteral byteLiteral, IExpr?parent) { if (byteLiteral.Value.HasValue) { this.Builder.Append(byteLiteral.Value.Value); } else { this.AppendNull(); } return(true); }
public static ExprByteLiteral WithValue(this ExprByteLiteral original, Byte?newValue) => new ExprByteLiteral(value: newValue);
public TRes VisitExprByteLiteral(ExprByteLiteral byteLiteral, ExprValueTypeAnalyzerCtx <TRes, TCtx> ctx) { return(ctx.ValueVisitor.VisitByte(ctx.Ctx, !byteLiteral.Value.HasValue)); }