Class StringConstant
- 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
-
ObjectStringConstant
- 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
valueStringthe 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
visitorVisitorThe visitor to dispatch.
Returns
- Node
Returns the value returned by VisitQuery(Query).