Class QueryParserTokenManager
- java.lang.Object
-
- repast.simphony.engine.watcher.query.QueryParserTokenManager
-
- All Implemented Interfaces:
QueryParserConstants
public class QueryParserTokenManager extends Object implements QueryParserConstants
-
-
Field Summary
Fields Modifier and Type Field Description protected char
curChar
PrintStream
debugStream
protected SimpleCharStream
input_stream
static String[]
jjstrLiteralImages
static String[]
lexStateNames
-
Fields inherited from interface repast.simphony.engine.watcher.query.QueryParserConstants
AND, COLOCATED, DECNUMBER, DEFAULT, DIGIT, EOF, EXPONENT, FLOAT, LINKED, LINKED_FROM, LINKED_TO, NAME, NOT, OR, tokenImage, WITHIN, WITHIN_MOORE, WITHIN_VN
-
-
Constructor Summary
Constructors Constructor Description QueryParserTokenManager(SimpleCharStream stream)
QueryParserTokenManager(SimpleCharStream stream, int lexState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Token
getNextToken()
protected Token
jjFillToken()
void
ReInit(SimpleCharStream stream)
void
ReInit(SimpleCharStream stream, int lexState)
void
setDebugStream(PrintStream ds)
void
SwitchTo(int lexState)
-
-
-
Field Detail
-
debugStream
public PrintStream debugStream
-
jjstrLiteralImages
public static final String[] jjstrLiteralImages
-
lexStateNames
public static final String[] lexStateNames
-
input_stream
protected SimpleCharStream input_stream
-
curChar
protected char curChar
-
-
Constructor Detail
-
QueryParserTokenManager
public QueryParserTokenManager(SimpleCharStream stream)
-
QueryParserTokenManager
public QueryParserTokenManager(SimpleCharStream stream, int lexState)
-
-
Method Detail
-
setDebugStream
public void setDebugStream(PrintStream ds)
-
ReInit
public void ReInit(SimpleCharStream stream)
-
ReInit
public void ReInit(SimpleCharStream stream, int lexState)
-
SwitchTo
public void SwitchTo(int lexState)
-
jjFillToken
protected Token jjFillToken()
-
getNextToken
public Token getNextToken()
-
-