tok

Template used to refer to D token types.

See the operators, keywords, and dynamicTokens enums for values that can be passed to this template.

template tok (
string token
) {}

Examples

import std.d.lexer;
IdType t = tok!"floatLiteral";

Meta