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.

public constructor(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.

public column(): number

  • returns: number - column number.

line

The line number where the token is.

public line(): number

  • returns: number - column number.

type

Type of the token.

public type(): ExpressionTokenType

value

Value of the token.

public value(): Variant

  • returns: Variant - value of the token.