Initialize a newly created token to have the given type and offset.
type
offset
factory Token(TokenType type, int offset, [CommentToken? precedingComment]) = SimpleToken;