Class StiToken

Class describes Token.

Hierarchy

  • StiToken

Index

Constructors

Properties

Methods

Constructors

constructor

  • Creates an object of the type StiToken that contains an object.

    Parameters

    • type: StiTokenType

      Type Token

    • Default value index: number = 0

      The Beginning Token in text.

    • Default value length: number = 0

      The Length Token.

    • Optional obj: any

      Object for initializing.

    Returns StiToken

Properties

data

data: string

Gets or sets Value of the identifier.

index

index: number

Gets or sets value indicates the beginning of token in text.

length

length: number

Gets or sets value indicates the length of token.

type

Gets or sets value indicates the type of token.

Methods

toString

  • toString(): string
  • Returns string

Generated using TypeDoc