Skip to content

TokenType

type TokenType = typeof TokenTypes[keyof typeof TokenTypes];

Defined in: packages/engine/src/lexer/Token.ts:437

A token’s kind, as a string.

Deliberately open rather than an enum: a package registers its own token types at runtime, and a closed set would make that impossible.