class TokenStream {

    public boolean canConsume( String expected ) throws IllegalStateException {
        if (!matches(expected)) return false;
        moveToNextToken();
        return true;
    }

    public  TokenStream( String content,
                        Tokenizer tokenizer,
                        boolean caseSensitive );

}