Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a range of characters represented by a lexical token within a Source.

Hierarchy

  • Token

Index

Properties

column: number

The 1-indexed column number at which this Token begins.

end: number

The character offset at which this Node ends.

The kind of Token.

line: number

The 1-indexed line number on which this Token appears.

next: Token
prev: 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: number

The character offset at which this Node begins.

value: string

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

Generated using TypeDoc