public interface ILenientScanner extends IScanner
IScanner, does not throw
ScannerExceptions for unrecognized characters, but returns tokens of
token class ETokenType.ETokenClass.ERROR and resumes scanning.| Modifier and Type | Method and Description |
|---|---|
IToken |
getNextToken()
Returns the next token.
|
IToken getNextToken() throws java.io.IOException
getNextToken in interface IScannerETokenType.EOF when current file
is entirely scanned.java.io.IOException - Thrown if the scanner encounters problem during file I/O.