Class DecimalConstant
- Assembly
- TimeCockpit.Data.dll
AST Node representing a decimal value.
public class DecimalConstant : Constant
- Inheritance
-
ObjectDecimalConstant
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
DecimalConstant(Decimal)
Initializes a new instance of the DecimalConstant class.
public DecimalConstant(decimal value)
Parameters
valueDecimalThe value of the contant.
Properties
Value
Gets the value of the constant.
public decimal Value { get; }
Property Value
- Decimal
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) method.
public override Node Accept(Visitor visitor)
Parameters
visitorVisitorThe visitor to dispatch to.
Returns
- Node
Returns the value returned by the call to VisitQuery(Query).