|
Hilbert II - Version 0.03.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qedeq.kernel.parser.MementoTextInput
Remember TextInput positions.
Constructor Summary | |
MementoTextInput(TextInput input)
Constructor. |
Method Summary | |
void |
clearMark()
Forget last remembered position. |
boolean |
eof()
Are there still any characters to read? |
int |
getChar()
Reads a single character and does not change the reading position. |
int |
getColumn()
Returns the current column number. |
String |
getLine()
Returns the current line. |
long |
getPosition()
Get byte position. |
int |
getRewindStackSize()
Get rewind stack size. |
int |
getRow()
Returns the current line number. |
void |
markPosition()
Remember current position. |
int |
readChar()
Reads a single character and increments the reading position by one. |
long |
rewindPosition()
Rewind to previous marked position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MementoTextInput(TextInput input)
input
- Input source to parse.Method Detail |
public void markPosition()
public long rewindPosition()
public void clearMark()
public long getPosition()
public int getChar()
Character.MAX_VALUE
is returnedpublic int readChar()
Character.MAX_VALUE
is returnedpublic final boolean eof()
public int getRewindStackSize()
public int getColumn()
public int getRow()
public String getLine()
|
Hilbert II - Version 0.03.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |