public class OgnlParserTokenManager extends Object implements OgnlParserConstants
| Modifier and Type | Field and Description |
|---|---|
protected char |
curChar |
PrintStream |
debugStream
Debug output.
|
protected JavaCharStream |
input_stream |
static int[] |
jjnewLexState
Lex State array.
|
static String[] |
jjstrLiteralImages
Token literal values.
|
static String[] |
lexStateNames
Lexer state names.
|
BACK_CHAR_ESC, BACK_CHAR_LITERAL, CHAR_LITERAL, DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DYNAMIC_SUBSCRIPT, EOF, ESC, EXPONENT, FLT_LITERAL, FLT_SUFF, IDENT, INT_LITERAL, LETTER, STRING_ESC, STRING_LITERAL, tokenImage, WithinBackCharLiteral, WithinCharLiteral, WithinStringLiteral| Constructor and Description |
|---|
OgnlParserTokenManager(JavaCharStream stream)
Constructor.
|
OgnlParserTokenManager(JavaCharStream stream,
int lexState)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Token |
getNextToken()
Get the next Token.
|
protected Token |
jjFillToken() |
void |
ReInit(JavaCharStream stream)
Reinitialise parser.
|
void |
ReInit(JavaCharStream stream,
int lexState)
Reinitialise parser.
|
void |
setDebugStream(PrintStream ds)
Set debug output.
|
void |
SwitchTo(int lexState)
Switch to specified lex state.
|
public PrintStream debugStream
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
protected JavaCharStream input_stream
protected char curChar
public OgnlParserTokenManager(JavaCharStream stream)
stream - the JavaCharStream to parse.public OgnlParserTokenManager(JavaCharStream stream, int lexState)
stream - the JavaCharStream to parse.lexState - the lexical state to use for the OgnlParserTokenManager instance.public void setDebugStream(PrintStream ds)
ds - the PrintStream to use for debugging output capture.public void ReInit(JavaCharStream stream)
stream - the JavaCharStream to parse.public void ReInit(JavaCharStream stream, int lexState)
stream - the JavaCharStream to parse.lexState - the lexical state to use for the OgnlParserTokenManager instance.public void SwitchTo(int lexState)
lexState - the lexical state (0 to 3) to use for the OgnlParserTokenManager instance.TokenMgrError - (an unchecked Error exception) if the lexical state is invalid.protected Token jjFillToken()
public Token getNextToken()
Copyright © 1997–2021 OpenSymphony. All rights reserved.