|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SemanticLexer
Method Summary | |
---|---|
int |
_yylex()
Wrapper for jflex generated yylex() method. |
Reader |
getReader()
Get the current Reader |
char[] |
getyyBuffer()
Return the character buffer of the lexer. |
int |
getyyCurrentPos()
Return the current position of the lexer. |
int |
getyyEndRead()
Return the end read of the buffer of the lexer. |
int |
getyyMarkedPos()
Return the marked position of the lexer. |
int |
getyyPushbackPos()
Return the pushback position of the lexer. |
int |
getyyStartRead()
Return the start read of the buffer of the lexer. |
void |
printBuffer()
Debugs the yy_buffer. |
void |
setBuffer(SemanticLexer lexer)
Sets the buffer from another SemanticLexer, probably the default one. |
void |
setReader(Reader r)
Ser the Reader for the lexer. |
void |
yybegin(int state)
Set the Lexer state. |
Method Detail |
---|
int _yylex() throws IOException
IOException
- thrown if the input could not be readvoid setReader(Reader r)
r
- Reader to setReader getReader()
void yybegin(int state)
state
- the state to set/reset the lexer state tovoid setBuffer(SemanticLexer lexer)
lexer
- The SemanticLexer to read the buffer from.char[] getyyBuffer()
int getyyCurrentPos()
int getyyMarkedPos()
int getyyPushbackPos()
int getyyEndRead()
int getyyStartRead()
void printBuffer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |