chore: initial git load of code space

This commit is contained in:
Thom Lamb
2026-05-12 08:52:33 -05:00
parent 9abada692f
commit 5e467bcc9c
384 changed files with 65960 additions and 2 deletions
@@ -0,0 +1,19 @@
namespace Strata.SqlTools.Rules.Rule.Expression;
/// <summary>
/// Represents a numeric literal value in a rule expression.
/// </summary>
public class NumberLiteral : Literal<decimal>
{
/// <summary>
/// Initializes a new instance of the <see cref=" NumberLiteral"/> class.
/// </summary>
/// <param name="value">The numeric value.</param>
public NumberLiteral(decimal value) : base(value) { }
/// <summary>
/// Implicitly converts a <see cref=" NumberLiteral"/> to a decimal value.
/// </summary>
/// <param name="numberExp">The number expression to convert.</param>
public static implicit operator decimal(NumberLiteral numberExp) => numberExp.Value;
}