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.
publicconstructor(type: ExpressionTokenType, value: Variant, line: number, column: number)
- type: ExpressionTokenType - type of the token.
- value: Variant - value of the token.
- line: number - line number where the token is.
- column: number - column number where the token is.
Properties
column
The column number where the token is.
publiccolumn(): number
- returns: number - column number.
line
The line number where the token is.
publicline(): number
- returns: number - column number.
type
Type of the token.
publictype(): ExpressionTokenType
- returns: ExpressionTokenType - type of the token.
value
Value of the token.
publicvalue(): Variant
- returns: Variant - value of the token.