literalTokenType

Create a new literal token type whose literal values comply with the given type.

Return

A literal token type.

Parameters

literalType

The type with which to constrain literal values.