|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.json.parser.JsonParserTokenManager
public class JsonParserTokenManager
Token Manager.
Field Summary | |
---|---|
protected char |
curChar
|
(package private) int |
curLexState
|
PrintStream |
debugStream
Debug output. |
(package private) int |
defaultLexState
|
protected SimpleCharStream |
input_stream
|
(package private) static long[] |
jjbitVec0
|
(package private) static long[] |
jjbitVec2
|
(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 String[] |
jjstrLiteralImages
Token literal values. |
(package private) static long[] |
jjtoMore
|
(package private) static long[] |
jjtoSkip
|
(package private) static long[] |
jjtoToken
|
static String[] |
lexStateNames
Lexer state names. |
Fields inherited from interface org.codehaus.groovy.grails.web.json.parser.JsonParserConstants |
---|
CHAR, CNTRL_ESC, DEFAULT, DIGITS, DOUBLE_QUOTE_LITERAL, E, ENDQUOTE, EOF, ESC_STATE, ESCAPE_CHAR, HEX, HEX_CHAR, HEX_ESC, HEX_STATE, QUOTE, SINGLE_QUOTE_LITERAL, STRING_STATE, tokenImage, UNICODE_CHAR |
Constructor Summary | |
---|---|
JsonParserTokenManager(SimpleCharStream stream)
Constructor. |
|
JsonParserTokenManager(SimpleCharStream stream,
int lexState)
Constructor. |
Method Summary | |
---|---|
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(PrintStream ds)
Set debug output. |
void |
SwitchTo(int lexState)
Switch to specified lex state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public PrintStream debugStream
static final long[] jjbitVec0
static final long[] jjbitVec2
static final int[] jjnextStates
public static final String[] jjstrLiteralImages
public static final String[] lexStateNames
public static final int[] jjnewLexState
static final long[] jjtoToken
static final long[] jjtoSkip
static final long[] jjtoMore
protected SimpleCharStream input_stream
protected char curChar
int curLexState
int defaultLexState
int jjnewStateCnt
int jjround
int jjmatchedPos
int jjmatchedKind
Constructor Detail |
---|
public JsonParserTokenManager(SimpleCharStream stream)
public JsonParserTokenManager(SimpleCharStream stream, int lexState)
Method Detail |
---|
public void setDebugStream(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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |