|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamIn
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 |
---|
static final int END_OF_STREAM
Method Detail |
---|
int getCurcol()
curcol
.
int getCurline()
curline
.
int readCharFromStream()
int readChar()
void ungetChar(int c)
c
- charboolean isEndOfStream()
true
if end of stream has been reachedvoid setLexer(Lexer lexer)
lexer
- Lexer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |