Readonly
Tests a token and returns it or throws a syntax error.
Optional
Checks if end of stream was reached.
boolean
Tests a token and returns it or throws a syntax error.