Class QueryParser
java.lang.Object
repast.simphony.engine.watcher.query.QueryParser
- All Implemented Interfaces:
QueryParserConstants
,QueryParserTreeConstants
-
Field Summary
Modifier and TypeFieldDescriptionprotected repast.simphony.engine.watcher.query.JJTQueryParserState
boolean
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
Fields inherited from interface repast.simphony.engine.watcher.query.QueryParserTreeConstants
JJTANDEXPRESSION, JJTCOLOCATED, JJTLINKED, JJTLINKEDFROM, JJTLINKEDTO, JJTNAME, jjtNodeName, JJTNOT, JJTNUMBER, JJTOREXPRESSION, JJTSTART, JJTVOID, JJTWITHIN, JJTWITHINMOORE, JJTWITHINVN
-
Constructor Summary
ConstructorDescriptionQueryParser
(InputStream stream) QueryParser
(InputStream stream, String encoding) QueryParser
(Reader stream) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
final void
Command()
final void
final void
final Token
final Token
getToken
(int index) final void
Linked()
static void
final void
Name()
final void
Number()
final void
void
ReInit
(InputStream stream) void
ReInit
(InputStream stream, String encoding) void
void
final ASTStart
Start()
final void
Within()
-
Field Details
-
jjtree
protected repast.simphony.engine.watcher.query.JJTQueryParserState jjtree -
token_source
-
token
-
jj_nt
-
lookingAhead
public boolean lookingAhead
-
-
Constructor Details
-
QueryParser
-
QueryParser
-
QueryParser
-
QueryParser
-
-
Method Details
-
main
-
Start
- Throws:
ParseException
-
BooleanExpression
- Throws:
ParseException
-
QueryExpression
- Throws:
ParseException
-
Command
- Throws:
ParseException
-
Within
- Throws:
ParseException
-
Linked
- Throws:
ParseException
-
Number
- Throws:
ParseException
-
Name
- Throws:
ParseException
-
ReInit
-
ReInit
-
ReInit
-
ReInit
-
getNextToken
-
getToken
-
generateParseException
-
enable_tracing
public final void enable_tracing() -
disable_tracing
public final void disable_tracing()
-