Defines an expression token holder.
Description
The ExpressionToken class defines an expression token holder.
Constructors
Creates an instance of this token and initializes it with specified values.
publicExpressionToken(ExpressionTokenType type, Variant value, int line, int column)
- type: ExpressionTokenType - type of the token.
- value: Variant - value of the token.
- line: int - line number where the token is.
- column: int - column number where the token is.
Creates an instance of this class with specified type and Null value.
publicExpressionToken(ExpressionTokenType type)
- type: ExpressionTokenType - type of the token.
Properties
Column
Column number where the token is.
publicint Column { get; }
Line
Line number where the token is.
publicint Line { get; }
Type
Type of the token.
publicExpressionTokenType Type { get; }
Value
Value of the token.
publicVariant Value