Constructor and Description |
---|
SourceIterator(Source s) |
public SourceIterator(Source s)
public boolean hasNext()
hasNext
in interface Iterator<Token>
IllegalStateException
- if the Source
throws a LexerException or IOExceptionpublic Token next()
next
in interface Iterator<Token>
IllegalStateException
- if the Source
throws a LexerException or IOException