|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Input Stream.
| Field Summary | |
static int |
END_OF_STREAM
end of stream char. |
| Method Summary | |
int |
getCurcol()
Getter for curcol. |
int |
getCurline()
Getter for curline. |
boolean |
isEndOfStream()
Has end of stream been reached? |
int |
readChar()
Read a char. |
int |
readCharFromStream()
reads a char from the stream. |
void |
setLexer(Lexer lexer)
Setter for lexer instance (needed for error reporting). |
void |
ungetChar(int c)
Unget a char. |
| Field Detail |
public static final int END_OF_STREAM
| Method Detail |
public int getCurcol()
curcol.
public int getCurline()
curline.
public int readCharFromStream()
public int readChar()
public void ungetChar(int c)
c - charpublic boolean isEndOfStream()
true if end of stream has been reachedpublic void setLexer(Lexer lexer)
lexer - Lexer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||