public class UParserTokenManager extends java.lang.Object implements UParserConstants
Modifier and Type | Field and Description |
---|---|
protected char |
curChar |
(package private) int |
curLexState |
java.io.PrintStream |
debugStream
Debug output.
|
(package private) int |
defaultLexState |
protected SimpleCharStream |
input_stream |
(package private) int |
jjmatchedKind |
(package private) int |
jjmatchedPos |
(package private) int |
jjnewStateCnt |
(package private) static int[] |
jjnextStates |
(package private) int |
jjround |
static java.lang.String[] |
jjstrLiteralImages
Token literal values.
|
(package private) static long[] |
jjtoSkip |
(package private) static long[] |
jjtoToken |
static java.lang.String[] |
lexStateNames
Lexer state names.
|
Constructor and Description |
---|
UParserTokenManager(SimpleCharStream stream)
Constructor.
|
UParserTokenManager(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
static final int[] jjnextStates
public static final java.lang.String[] jjstrLiteralImages
public static final java.lang.String[] lexStateNames
static final long[] jjtoToken
static final long[] jjtoSkip
protected SimpleCharStream input_stream
protected char curChar
int curLexState
int defaultLexState
int jjnewStateCnt
int jjround
int jjmatchedPos
int jjmatchedKind
public UParserTokenManager(SimpleCharStream stream)
public UParserTokenManager(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()