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