Class ControlToken
- Namespace
- Albatross.Expression.Nodes
- Assembly
- Albatross.Expression.dll
Represents control tokens used for parsing expression structure (parentheses, commas, etc.).
public class ControlToken : IToken
- Inheritance
-
ControlToken
- Implements
- Inherited Members
- Extension Methods
Constructors
ControlToken(char)
Initializes a new instance of the ControlToken class.
public ControlToken(char token)
Parameters
tokencharThe control character for this token.
Properties
Token
The token character as a string.
public string Token { get; }
Property Value
Methods
Text()
Returns the text representation of this control token.
public string Text()
Returns
- string
The token character as a string.