| Modifier and Type | Method and Description |
|---|---|
Optional<Path> |
getFile() |
static LexerType |
newLexer(LexerConfiguration c,
com.io7m.jeucreader.UnicodeCharacterReaderPushBackType r)
Construct a new lexer.
|
void |
setFile(Optional<Path> f)
Set the file that will appear in lexical information.
|
TokenType |
token() |
public static LexerType newLexer(LexerConfiguration c, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType r)
c - The lexer configurationr - The unicode character readerpublic void setFile(Optional<Path> f)
f - The file, if anypublic TokenType token() throws IOException, LexerException
token in interface LexerTypeIOException - On I/O errors.LexerException - On lexical errors.Copyright © 2015 <code@io7m.com> http://io7m.com