Search Results for

    Show / Hide Table of Contents

    Class StringConstant

    AST Node representing a string constant. e.g. In

    From X In Timesheet Where X.Description == 'SomeDescription' Select X

    an instance of this node represents 'SomeDescription'.

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

    Constructors

    StringConstant(String)

    Initializes a new instance of the StringConstant class.

    Declaration
    public StringConstant(string value)
    Parameters
    Type Name Description
    System.String value

    the value of the constant.

    Properties

    Value

    Gets the value of the string constant.

    Declaration
    public string Value { get; }
    Property Value
    Type Description
    System.String

    Methods

    Accept(Visitor)

    Dispatches the call to the correct VisitQuery(Query) method.

    Declaration
    public override Node Accept(Visitor visitor)
    Parameters
    Type Name Description
    Visitor visitor

    The visitor to dispatch.

    Returns
    Type Description
    Node

    Returns the value returned by VisitQuery(Query).

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