|
Jalopy 1.0b10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Common interface for ANTLR lexers.
Method Summary | |
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. |
Methods inherited from interface de.hunsicker.antlr.TokenStream |
nextToken |
Method Detail |
public void setColumn(int column)
column
- start column.public int getColumn()
public FileFormat getFileFormat()
public void setFilename(java.lang.String file)
file
- filename to parse.public java.lang.String getFilename()
public void setInputBuffer(java.io.Reader in)
in
- input source to use.public void setLine(int line)
line
- line number.public int getLine()
public Parser getParser()
public void reset()
|
Jalopy 1.0b10 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |