public class PtParserTokenManager extends java.lang.Object implements PtParserConstants
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) static long[] |
jjbitVec0 |
(package private) int |
jjmatchedKind |
(package private) int |
jjmatchedPos |
static int[] |
jjnewLexState
Lex State array.
|
(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.
|
AND, BITWISE_NOT, BOOL_NOT, BOOLEAN, CLOSEBRACE, CLOSEBRACKET, CLOSEPAREN, CLOSEUNION, COLON, COMMA, COMPLEX, COND_AND, COND_OR, DECIMAL_LITERAL, DEFAULT, DIVIDE, DOUBLE, EOF, EQUALS, ERROR, EXPONENT, FUNCTION, GT, GTE, HEX_LITERAL, ID, INTEGER, INTEGER_FORMAT_SPEC, LETTER, LSHR, LT, LTE, MINUS, MODULO, MULTI_LINE_COMMENT, MultiLineCommentMode, MULTIPLY, NOTEQUALS, OCTAL_LITERAL, OPENBRACE, OPENBRACKET, OPENPAREN, OPENUNION, OR, PERIOD, PLUS, POWER, QUESTION, SEPARATOR, SETEQUALS, SHL, SHR, SINGLE_LINE_COMMENT, SingleLineCommentMode, SMBRACE, SMDOLLAR, SMDOLLARBRACE, SMDOLLARPAREN, SMID, SMIDBRACE, SMIDPAREN, SMLETTER, SMPAREN, SMSTRING, STRING, StringMode, StringModeIDBrace, StringModeIDNone, StringModeIDParen, tokenImage, XOR
Constructor and Description |
---|
PtParserTokenManager(SimpleCharStream stream)
Constructor.
|
PtParserTokenManager(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 long[] jjbitVec0
static final int[] jjnextStates
public static final java.lang.String[] jjstrLiteralImages
public static final java.lang.String[] lexStateNames
public static final int[] jjnewLexState
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 PtParserTokenManager(SimpleCharStream stream)
public PtParserTokenManager(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()