Table of Contents

Class BooleanConstant

Namespace
TimeCockpit.Data.QueryLanguage.Syntax
Assembly
TimeCockpit.Data.dll

AST Node representing a boolean constant.

public class BooleanConstant : Constant
Inheritance
Object
BooleanConstant
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

BooleanConstant

True

instance for True

public static readonly BooleanConstant True

Field Value

BooleanConstant

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

visitor Visitor

The visitor to dispatch to.

Returns

Node

Returns the value returned from the call to VisitQuery(Query).