public this(IdType type)
type | the token type |
public this(IdType type, string text, size_t line, size_t column, size_t index)
type | the token type |
text | the text of the token, which may be null |
line | the line number at which this token occurs |
column | the column number at which this token occurs |
index | the byte offset from the beginning of the input at which this token occurs |