Skip to content

This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.

tokenTypeName

function tokenTypeName(id): string;

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

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