public class ParserTokenManager extends java.lang.Object implements ParserConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
java.io.PrintStream |
debugStream
Debug output.
|
protected SimpleCharStream |
input_stream |
static int[] |
jjnewLexState
Lex State array.
|
static java.lang.String[] |
jjstrLiteralImages
Token literal values.
|
static java.lang.String[] |
lexStateNames
Lexer state names.
|
CHAR_WITHOUT_DQUOT, CHAR_WITHOUT_QUOT, DEFAULT, DIGIT, DOCTYPE, EOF, HEXDIGIT, HEXINT, HEXNUM, IN_COMMENT, INT, LCLETTER, LINE_TERMINATOR, PCDATA, STRING, tokenImage, WHITE_SPACE, WORD, WS
Constructor and Description |
---|
ParserTokenManager(SimpleCharStream stream)
Constructor.
|
ParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Token |
getNextToken()
Get the next Token.
|
protected Token |
jjFillToken() |
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.
|
public java.io.PrintStream debugStream
public static final java.lang.String[] jjstrLiteralImages
public static final java.lang.String[] lexStateNames
public static final int[] jjnewLexState
protected SimpleCharStream input_stream
protected char curChar
public ParserTokenManager(SimpleCharStream stream)
public ParserTokenManager(SimpleCharStream stream, int lexState)
public void setDebugStream(java.io.PrintStream ds)
public void ReInit(SimpleCharStream stream)
public void ReInit(SimpleCharStream stream, int lexState)
public void SwitchTo(int lexState)
protected Token jjFillToken()
public Token getNextToken()