simpleValueToken

fnToken simpleValueToken(TokenID id)(const Mark start, const Mark end, char[] value, const uint valueDivider = uint.max)

Construct a simple token with value with specified type.

Parameters

idType of the token.
startStart position of the token.
endEnd position of the token.
valueValue of the token.
valueDividerA hack for TagToken to store 2 values in value; the first value goes up to valueDivider, the second after it.