Table of Contents

Class StringConstant

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

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'.

public class StringConstant : Constant
Inheritance
Object
StringConstant
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

StringConstant(String)

Initializes a new instance of the StringConstant class.

public StringConstant(string value)

Parameters

value String

the value of the constant.

Properties

Value

Gets the value of the string constant.

public string Value { get; }

Property Value

String

Methods

Accept(Visitor)

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

public override Node Accept(Visitor visitor)

Parameters

visitor Visitor

The visitor to dispatch.

Returns

Node

Returns the value returned by VisitQuery(Query).