namespace Strata.SqlTools.Rules.Rule.Expression; /// /// Represents a numeric literal value in a rule expression. /// public class NumberLiteral : Literal { /// /// Initializes a new instance of the class. /// /// The numeric value. public NumberLiteral(decimal value) : base(value) { } /// /// Implicitly converts a to a decimal value. /// /// The number expression to convert. public static implicit operator decimal(NumberLiteral numberExp) => numberExp.Value; }