|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ILexerSource provides a very simple interface to a lexable source. For wxample a lexable source could be a file or a string.
Method Summary | |
char |
getLastRead()
|
int |
getLine()
|
int |
getOffset()
Return the count of read characters. |
java.lang.String |
getSourceName()
Return the name of the source. |
char |
read()
Returns the next char. |
void |
unread()
Unread the last read char. |
Method Detail |
public char read()
public void unread()
public int getOffset()
public java.lang.String getSourceName()
public char getLastRead()
public int getLine()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |