Class BooleanConstant
- Assembly
- TimeCockpit.Data.dll
AST Node representing a boolean constant.
public class BooleanConstant : Constant
- Inheritance
-
ObjectBooleanConstant
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Fields
False
instance for false
public static readonly BooleanConstant False
Field Value
True
instance for True
public static readonly BooleanConstant True
Field Value
Properties
Value
Gets a value indicating whether the constant is true or false.
public bool Value { get; }
Property Value
- Boolean
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) class.
public override Node Accept(Visitor visitor)
Parameters
visitorVisitorThe visitor to dispatch to.
Returns
- Node
Returns the value returned from the call to VisitQuery(Query).