Typed `token_definition` template, for compile time type deduction
for parser's constructors using lexer types.