Implement the token parsing class, untested.