alias str = tokenStringRepresentation(IdType, staticTokens, dynamicTokens, possibleDefaultTokens);
assert (str(tok!"*") == "*");
See_also: TokenId
string tokenStringRepresentation(IdType, alias staticTokens, alias dynamicTokens,
alias possibleDefaultTokens)(IdType type) pure nothrow @property @nogc @safeLooks up the string representation of the given token type.
This is the opposite of the function of the TokenId template.
type | the token type identifier |
alias str = tokenStringRepresentation(IdType, staticTokens, dynamicTokens, possibleDefaultTokens);
assert (str(tok!"*") == "*");
See_also: TokenId