ExpressionToken

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.

ExpressionToken(type: ExpressionTokenType, value: Variant, line: int, column: int)

  • 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.

column(): int

  • returns: number - column number.

line

The line number where the token is.

line(): int

  • returns: number - column number.

type

Type of the token.

type(): ExpressionTokenType

value

Value of the token.

value(): Variant

  • returns: Variant - value of the token.