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 ExpressionToken(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.

Creates an instance of this class with specified type and Null value.

public ExpressionToken(ExpressionTokenType type)

Properties

Column

Column number where the token is.

public int Column { get; }

Line

Line number where the token is.

public int Line { get; }

Type

Type of the token.

public ExpressionTokenType Type { get; }

Value

Value of the token.

public Variant Value