|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.hydromatic.clapham.parser.bnf.BnfParserTokenManager
public class BnfParserTokenManager
Token Manager.
Field Summary | |
---|---|
java.io.PrintStream |
debugStream
Debug output. |
static int[] |
jjnewLexState
Lex State array. |
static java.lang.String[] |
jjstrLiteralImages
Token literal values. |
static java.lang.String[] |
lexStateNames
Lexer state names. |
Fields inherited from interface net.hydromatic.clapham.parser.bnf.BnfParserConstants |
---|
ASTERISK, BAR, BRACKETED_IDENTIFIER, COLCOLEQ, DEFAULT, DIGIT, EOF, HOOK, IDENTIFIER, IN_MULTI_LINE_COMMENT, IN_SINGLE_LINE_COMMENT, LETTER, LITERAL, LPAREN, MULTI_LINE_COMMENT, PLUS, QUOT, RPAREN, SINGLE_LINE_COMMENT, tokenImage |
Constructor Summary | |
---|---|
BnfParserTokenManager(SimpleCharStream stream)
Constructor. |
|
BnfParserTokenManager(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
public static final int[] jjnewLexState
Constructor Detail |
---|
public BnfParserTokenManager(SimpleCharStream stream)
public BnfParserTokenManager(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 |