Namespace: Albatross.Expression.Nodes
Basic implementation of a value token that stores a simple string value.
public class ValueToken : IValueToken, IToken
Inheritance Object → ValueToken
Implements IValueToken, IToken
Attributes NullableContextAttribute, NullableAttribute
The string value contained by this token.
public string Value { get; }
The token representation, which is the same as the Value for basic value tokens.
public string Token { get; }
Initializes a new instance of the ValueToken class with the specified value.
public ValueToken(string value)
value
String
The string value to store in this token.
Returns the text representation of this token.
public string Text()
String
The text representation of the token.