src/main/java/ca/gobits/bnf/parser/BNFParserImpl.java
private void rewindToNextSymbol() {
        while (!this.stack.isEmpty()) {
            BNFParserState holder = this.stack.peek();

            if (holder.isSequence() && !holder.isComplete()) {
                break;
            }

            this.stack.pop();
        }
    }
/**
     * Rewinds to next incomplete sequence or to ZERO_OR_MORE repetition which
     * ever one is first.
     */
Rewinds to next incomplete sequence or to ZERO_OR_MORE repetition which
ever one is first.
Rewinds to next incomplete sequence or to ZERO_OR_MORE repetition which ever one is first .
private void rewindToNextSymbol() {
        while (!this.stack.isEmpty()) {
            BNFParserState holder = this.stack.peek();
            if (holder.isSequence() && !holder.isComplete()) {
                break;
            }
            this.stack.pop();
        }
    }
private void rewindToNextSymbol ( ) { while ( ! this . stack . isEmpty ( ) ) { BNFParserState holder = this . stack . peek ( ) ; if ( holder . isSequence ( ) && ! holder . isComplete ( ) ) { break ; } this . stack . pop ( ) ; } }
Rewinds to next incomplete sequence or to ZERO_OR_MORE repetition which
 ever one is first.
Rewinds to next incomplete sequence or to ZERO_OR_MORE repetition which ever one is first .