Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Token

Index

Constructors

Properties

Constructors

constructor

  • new Token(kind: number, start: number, end: number, prev: null | Token, value?: string): Token
  • Parameters

    • kind: number
    • start: number
    • end: number
    • prev: null | Token
    • Optional value: string

    Returns Token

Properties

end

end: number

The character offset at which this Node ends.

kind

kind: number

The kind of Token.

next

next: null | Token

prev

prev: null | Token

Tokens exist as nodes in a double-linked-list amongst all tokens including ignored tokens. is always the first node and the last.

start

start: number

The character offset at which this Node begins.

value

value: string

For non-punctuation tokens, represents the interpreted value of the token.

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Constructor
  • Property
  • Enumeration
  • Interface

Generated using TypeDoc