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.
Properties
_column
The column number where the token is.
private finalint _column
- returns: number - column number.
_line
The line number where the token is.
private finalint _line
- returns: number - column number.
_type
Type of the token.
private finalExpressionTokenType _type
_value
Value of the token.
private finalVariant _value
Instance methods
getType
Gets the type.
publicExpressionTokenType getType()
- returns: ExpressionTokenType - type
getValue
Gets the value.
publicVariant getValue()
- returns: Variant - value
getLine
Gets the type.
publicExpressionTokenType getLine()
- returns: ExpressionTokenType - line
getColumn
Gets the type.
publicint getColumn()
- returns: int - line