Skip to content

tokenTypeName

function tokenTypeName(id): string;

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

Get the string name for a token type ID (for error messages and debugging). Returns UNKNOWN_${id} if the ID is not registered.

ParameterType
idnumber

string