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(ExpressionTokenType? type, Variant? value, int? line, int? colum)

  • 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

Column number where the token is.

int get column

  • returns: int - column number.

line

Line number where the token is.

int get line

  • returns: int - column number.

type

Type of the token.

ExpressionTokenType get type

value

Value of the token.

Variant get value

  • returns: Variant - value of the token.