An interface for a text token, such as a word, keyword, or variable.

Hierarchy

  • IToken

Properties

Properties

offset: number

The offset of the token in the code editor.

type?: string

An optional type for the token.

value: string

The value of the token.

Generated using TypeDoc