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