| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public boolean | hasNext()
Implements java. |
| public Token | |
| public void |
| SourceIterator | back to summary |
|---|---|
| public SourceIterator(Source s) | |
| advance | back to summary |
|---|---|
| private void advance() Rethrows IOException inside IllegalStateException. | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Returns true if the enclosed Source has more tokens. The EOF token is never returned by the iterator.
| |
| next | back to summary |
|---|---|
| public Token next() Implements java. Returns the next token from the enclosed Source. The EOF token is never returned by the iterator.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Not supported.
| |