Class ValueToken
- Namespace
- Albatross.Expression.Nodes
- Assembly
- Albatross.Expression.dll
Basic implementation of a value token that stores a simple string value.
public class ValueToken : IValueToken, IToken
- Inheritance
-
ValueToken
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ValueToken(string)
Initializes a new instance of the ValueToken class with the specified value.
public ValueToken(string value)
Parameters
valuestringThe string value to store in this token.
Properties
Token
The token representation, which is the same as the Value for basic value tokens.
public string Token { get; }
Property Value
Value
The string value contained by this token.
public string Value { get; }
Property Value
Methods
Text()
Returns the text representation of this token.
public string Text()
Returns
- string
The text representation of the token.