|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ablaf.internal.lexer.AbstractLexerSource
An abstract implementation of an ILexerSource.
Constructor Summary | |
protected |
AbstractLexerSource(java.lang.String sourceName)
|
Method Summary | |
char |
getLastRead()
|
int |
getLine()
|
int |
getOffset()
Return the count of read characters. |
java.lang.String |
getSourceName()
Return the name of the source. |
protected abstract char |
internalRead()
|
char |
read()
Returns the next char. |
void |
unread()
Unread the last read char. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected AbstractLexerSource(java.lang.String sourceName)
Method Detail |
protected abstract char internalRead()
public char read()
ILexerSource
read
in interface ILexerSource
ILexerSource.read()
public void unread()
ILexerSource
unread
in interface ILexerSource
ILexerSource.unread()
public int getOffset()
ILexerSource
getOffset
in interface ILexerSource
ILexerSource.getOffset()
public java.lang.String getSourceName()
ILexerSource
getSourceName
in interface ILexerSource
ILexerSource.getSourceName()
public char getLastRead()
getLastRead
in interface ILexerSource
public int getLine()
getLine
in interface ILexerSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |