public class ExpressionParser extends Object implements ExpressionParserTreeConstants, ExpressionParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
protected JJTExpressionParserState |
jjtree |
Token |
token
Current token.
|
ExpressionParserTokenManager |
token_source
Generated Token Manager.
|
JJTABS, JJTADD, JJTAND, JJTASTERISK, JJTAVG, JJTBETWEEN, JJTBITWISEAND, JJTBITWISELEFTSHIFT, JJTBITWISENOT, JJTBITWISEOR, JJTBITWISERIGHTSHIFT, JJTBITWISEXOR, JJTCONCAT, JJTCOUNT, JJTCURRENTDATE, JJTCURRENTTIME, JJTCURRENTTIMESTAMP, JJTDBPATH, JJTDIVIDE, JJTEQUAL, JJTEXTRACT, JJTFALSE, JJTGREATER, JJTGREATEROREQUAL, JJTIN, JJTLENGTH, JJTLESS, JJTLESSOREQUAL, JJTLIKE, JJTLIKEIGNORECASE, JJTLIST, JJTLOCATE, JJTLOWER, JJTMAX, JJTMIN, JJTMOD, JJTMULTIPLY, JJTNAMEDPARAMETER, JJTNEGATE, jjtNodeName, JJTNOT, JJTNOTBETWEEN, JJTNOTEQUAL, JJTNOTIN, JJTNOTLIKE, JJTNOTLIKEIGNORECASE, JJTOBJPATH, JJTOR, JJTSCALAR, JJTSQRT, JJTSUBSTRING, JJTSUBTRACT, JJTSUM, JJTTRIM, JJTTRUE, JJTUPPER, JJTVOID
ABS, ASTERISK, AVG, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DAY, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_YEAR, DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DOUBLE_QUOTED_STRING, EOF, ESC, EXPONENT, FALSE, FLOAT_LITERAL, FLT_SUFF, HOUR, IDENTIFIER, INT_LITERAL, LENGTH, LETTER, LOCATE, LOWER, MAX, MIN, MINUTE, MOD, MONTH, NULL, PROPERTY_PATH, SECOND, SINGLE_QUOTED_STRING, SQRT, STRING_ESC, SUBSTRING, SUM, tokenImage, TRIM, TRUE, UPPER, WEEK, WithinDoubleQuoteLiteral, WithinSingleQuoteLiteral, YEAR
Constructor and Description |
---|
ExpressionParser(ExpressionParserTokenManager tm)
Constructor with generated Token Manager.
|
ExpressionParser(InputStream stream)
Constructor with InputStream.
|
ExpressionParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
ExpressionParser(Reader stream)
Constructor.
|
protected JJTExpressionParserState jjtree
public ExpressionParserTokenManager token_source
public Token token
public Token jj_nt
public ExpressionParser(InputStream stream)
public ExpressionParser(InputStream stream, String encoding)
public ExpressionParser(Reader stream)
public ExpressionParser(ExpressionParserTokenManager tm)
public final Expression expression() throws ParseException
ParseException
public final void orCondition() throws ParseException
ParseException
public final void andCondition() throws ParseException
ParseException
public final void notCondition() throws ParseException
ParseException
public final void simpleCondition() throws ParseException
ParseException
public final void simpleNotCondition() throws ParseException
ParseException
public final void scalarCommaList() throws ParseException
ParseException
public final void conditionExpression() throws ParseException
ParseException
public final void stringParameter() throws ParseException
ParseException
public final void stringExpression() throws ParseException
ParseException
public final void scalarExpression() throws ParseException
ParseException
public final void scalarConstExpression() throws ParseException
ParseException
public final void numericExpression() throws ParseException
ParseException
public final void bitwiseOr() throws ParseException
ParseException
public final void bitwiseXor() throws ParseException
ParseException
public final void bitwiseAnd() throws ParseException
ParseException
public final void bitwiseShift() throws ParseException
ParseException
public final void arithmeticExp() throws ParseException
ParseException
public final void multiplySubtractExp() throws ParseException
ParseException
public final void numericTermExt() throws ParseException
ParseException
public final void numericTerm() throws ParseException
ParseException
public final void numericPrimary() throws ParseException
ParseException
public final void functionsReturningStrings() throws ParseException
ParseException
public final void concat() throws ParseException
ParseException
public final void substring() throws ParseException
ParseException
public final void trim() throws ParseException
ParseException
public final void lower() throws ParseException
ParseException
public final void upper() throws ParseException
ParseException
public final void functionsReturningNumerics() throws ParseException
ParseException
public final void length() throws ParseException
ParseException
public final void locate() throws ParseException
ParseException
public final void abs() throws ParseException
ParseException
public final void sqrt() throws ParseException
ParseException
public final void mod() throws ParseException
ParseException
public final void aggregateExpression() throws ParseException
ParseException
public final void asterisk() throws ParseException
ParseException
public final void count() throws ParseException
ParseException
public final void avg() throws ParseException
ParseException
public final void max() throws ParseException
ParseException
public final void min() throws ParseException
ParseException
public final void sum() throws ParseException
ParseException
public final void dateTimeFunction() throws ParseException
ParseException
public final void currentDate() throws ParseException
ParseException
public final void currentTime() throws ParseException
ParseException
public final void currentTimestamp() throws ParseException
ParseException
public final void dateTimeExtractingFunction() throws ParseException
ParseException
public final void namedParameter() throws ParseException
ParseException
public final void pathExpression() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(ExpressionParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2001–2017 Apache Cayenne. All rights reserved.