powered by
detect if position contains a valid token
detect_token(document, position)
a character, the contents of the document
a position object