Package ru.curs.celesta.dbutils.filter
Class FilterParserTokenManager
- java.lang.Object
-
- ru.curs.celesta.dbutils.filter.FilterParserTokenManager
-
- All Implemented Interfaces:
FilterParserConstants
public class FilterParserTokenManager extends Object implements FilterParserConstants
Token Manager.
-
-
Field Summary
Fields Modifier and Type Field Description PrintStream
debugStream
Debug output.static int[]
jjnewLexState
Lex State array.static String[]
jjstrLiteralImages
Token literal values.static String[]
lexStateNames
Lexer state names.-
Fields inherited from interface ru.curs.celesta.dbutils.filter.FilterParserConstants
DEFAULT, DIGIT, EOF, S_CHAR_LITERAL, S_DOUBLE, S_INTEGER, S_NULL, tokenImage
-
-
Constructor Summary
Constructors Constructor Description FilterParserTokenManager(SimpleCharStream stream)
Constructor.FilterParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
Get the next Token.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.
-
-
-
Field Detail
-
debugStream
public PrintStream debugStream
Debug output.
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
Token literal values.
-
lexStateNames
public static final String[] lexStateNames
Lexer state names.
-
jjnewLexState
public static final int[] jjnewLexState
Lex State array.
-
-
Constructor Detail
-
FilterParserTokenManager
public FilterParserTokenManager(SimpleCharStream stream)
Constructor.
-
FilterParserTokenManager
public FilterParserTokenManager(SimpleCharStream stream, int lexState)
Constructor.
-
-
Method Detail
-
setDebugStream
public void setDebugStream(PrintStream ds)
Set debug output.
-
getNextToken
public Token getNextToken()
Get the next Token.
-
ReInit
public void ReInit(SimpleCharStream stream)
Reinitialise parser.
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
Reinitialise parser.
-
SwitchTo
public void SwitchTo(int lexState)
Switch to specified lex state.
-
-