private boolean processTrueOrFalse ( ) { if ( token . tokenType == Tokens . TRUE ) { read ( ) ; return true ; } else if ( token . tokenType == Tokens . FALSE ) { read ( ) ; return false ; } else { throw unexpectedToken ( ) ; } }
Retrieves boolean value corresponding to the next token .