public String consume ( ) throws ParsingException , IllegalStateException { if ( completed ) throwNoMoreContent ( ) ; // Get the value from the current token ... String result = currentToken ( ) . value ( ) ; moveToNextToken ( ) ; return result ; }
Return the value of this token and move to the next token .