simpleValueToken
fn
Token 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
id | Type of the token. |
start | Start position of the token. |
end | End position of the token. |
value | Value of the token. |
valueDivider | A hack for TagToken to store 2 values in value; the first value goes up to valueDivider, the second after it. |