Search Results for

    Show / Hide Table of Contents

    Class BooleanConstant

    AST Node representing a boolean constant.

    Inheritance
    System.Object
    Node
    Expression
    Constant
    BooleanConstant
    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 BooleanConstant : Constant

    Fields

    False

    instance for false

    Declaration
    public static readonly BooleanConstant False
    Field Value
    Type Description
    BooleanConstant

    True

    instance for True

    Declaration
    public static readonly BooleanConstant True
    Field Value
    Type Description
    BooleanConstant

    Properties

    Value

    Gets a value indicating whether the constant is true or false.

    Declaration
    public bool Value { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Accept(Visitor)

    Dispatches to the correct VisitQuery(Query) class.

    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 from the call to VisitQuery(Query).

    Overrides
    Node.Accept(Visitor)
    In This Article
    Back to top Copyright © 2020 software architects gmbh