|
|||||||||
| Home >> All >> de >> hunsicker >> jalopy >> [ language overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
de.hunsicker.jalopy.language
Interface Lexer

- All Superinterfaces:
- de.hunsicker.antlr.TokenStream
- All Known Implementing Classes:
- JavadocLexer, JavaLexer
- public interface Lexer
- extends de.hunsicker.antlr.TokenStream
Common interface for ANTLR lexers.
- Version:
- $Revision: 1.2 $
| Method Summary | |
int |
getColumn()
Returns the current column. |
de.hunsicker.io.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 |
setColumn
public void setColumn(int column)
- Sets the start column of the position where parsing starts.
getColumn
public int getColumn()
- Returns the current column.
getFileFormat
public de.hunsicker.io.FileFormat getFileFormat()
- Returns the file format of the input stream.
setFilename
public void setFilename(java.lang.String file)
- Sets the filename we parse.
getFilename
public java.lang.String getFilename()
- Returns the name of the file.
setInputBuffer
public void setInputBuffer(java.io.Reader in)
- Sets the input source to use.
setLine
public void setLine(int line)
- Sets the line number of the position where parsing starts.
getLine
public int getLine()
- Returns the current line.
getParser
public Parser getParser()
- Returns the corresponding parser for this lexer.
reset
public void reset()
- Resets the lexer state.
|
|||||||||
| Home >> All >> de >> hunsicker >> jalopy >> [ language overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC