|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.inline.classes.TheParserTokenManager
public class TheParserTokenManager
Token Manager.
Field Summary | |
---|---|
java.io.PrintStream |
debugStream
Debug output. |
static java.lang.String[] |
jjstrLiteralImages
Token literal values. |
static java.lang.String[] |
lexStateNames
Lexer state names. |
Fields inherited from interface edu.neu.ccs.demeterf.inline.classes.TheParserConstants |
---|
CHAR, DEFAULT, DOUBLE, EOF, EXPON, FALSE, IDENT, INT, STRING, TEXT, tokenImage, TRUE |
Constructor Summary | |
---|---|
TheParserTokenManager(SimpleCharStream stream)
Constructor. |
|
TheParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor. |
Method Summary | |
---|---|
Token |
getNextToken()
Get the next Token. |
void |
ReInit(SimpleCharStream stream)
Reinitialise parser. |
void |
ReInit(SimpleCharStream stream,
int lexState)
Reinitialise parser. |
void |
setDebugStream(java.io.PrintStream ds)
Set debug output. |
void |
SwitchTo(int lexState)
Switch to specified lex state. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.io.PrintStream debugStream
public static final java.lang.String[] jjstrLiteralImages
public static final java.lang.String[] lexStateNames
Constructor Detail |
---|
public TheParserTokenManager(SimpleCharStream stream)
public TheParserTokenManager(SimpleCharStream stream, int lexState)
Method Detail |
---|
public void setDebugStream(java.io.PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
public Token getNextToken()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |