/** * Returns true if the enclosed Source has more tokens. * * The EOF token is never returned by the iterator. * @throws IllegalStateException if the Source * throws a LexerException or IOException */ @Override public boolean hasNext() { advance(); return tok.getType() != EOF; }
/** * Returns true if the enclosed Source has more tokens. * * The EOF token is never returned by the iterator. * @throws IllegalStateException if the Source * throws a LexerException or IOException */ public boolean hasNext() { advance(); return tok.getType() != EOF; }
/** * Returns true if the enclosed Source has more tokens. * * The EOF token is never returned by the iterator. * @throws IllegalStateException if the Source * throws a LexerException or IOException */ public boolean hasNext() { advance(); return tok.getType() != EOF; }