|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CharacterBuffer
A CharacterBuffer represents a character stream on which
a Lexer can operate.
Methods of this interface should never be used by the developper,
they are only provided for lexer internal use.
Lexer| Method Summary | |
|---|---|
char |
next()
Reads the next character from the buffer. |
boolean |
previousWasNewLine()
Determines if the last unwinded character was an end of line. |
void |
unwind(int l)
Unwinds l characters from the buffer. |
| Method Detail |
|---|
void unwind(int l)
l characters from the buffer.
l - the number of characters to unwindboolean previousWasNewLine()
true if the last unwinded character was an end of line;
false otherwisechar next()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||