The matching function for the token.
The buffer to match the token in.
The position in the buffer to match the token at.
The end position in the buffer to finish the match search.
The cursor that corresponds to the end of the match for the token.
Class used to support matching a particular token