public interface Lexer
extends de.hunsicker.antlr.TokenStream
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Returns the current column.
|
FileFormat |
getFileFormat()
Returns the file format of the input stream.
|
java.lang.String |
getFilename()
Returns the name of the file.
|
int |
getLine()
Returns the current line.
|
Parser |
getParser()
Returns the corresponding parser for this lexer.
|
void |
reset()
Resets the lexer state.
|
void |
setColumn(int column)
Sets the start column of the position where parsing starts.
|
void |
setFilename(java.lang.String file)
Sets the filename we parse.
|
void |
setInputBuffer(java.io.Reader in)
Sets the input source to use.
|
void |
setLine(int line)
Sets the line number of the position where parsing starts.
|
void setColumn(int column)
column
- start column.int getColumn()
FileFormat getFileFormat()
void setFilename(java.lang.String file)
file
- filename to parse.java.lang.String getFilename()
void setInputBuffer(java.io.Reader in)
in
- input source to use.void setLine(int line)
line
- line number.int getLine()
Parser getParser()
void reset()
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013