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.
|
JJTADD, JJTAND, JJTBETWEEN, JJTBITWISEAND, JJTBITWISELEFTSHIFT, JJTBITWISENOT, JJTBITWISEOR, JJTBITWISERIGHTSHIFT, JJTBITWISEXOR, JJTDBPATH, JJTDIVIDE, JJTEQUAL, JJTFALSE, JJTGREATER, JJTGREATEROREQUAL, JJTIN, JJTLESS, JJTLESSOREQUAL, JJTLIKE, JJTLIKEIGNORECASE, JJTLIST, JJTMULTIPLY, JJTNAMEDPARAMETER, JJTNEGATE, jjtNodeName, JJTNOT, JJTNOTBETWEEN, JJTNOTEQUAL, JJTNOTIN, JJTNOTLIKE, JJTNOTLIKEIGNORECASE, JJTOBJPATH, JJTOR, JJTSCALAR, JJTSUBTRACT, JJTTRUE, JJTVOID
DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DOUBLE_QUOTED_STRING, EOF, ESC, EXPONENT, FALSE, FLOAT_LITERAL, FLT_SUFF, IDENTIFIER, INT_LITERAL, LETTER, NULL, PROPERTY_PATH, SINGLE_QUOTED_STRING, STRING_ESC, tokenImage, TRUE, WithinDoubleQuoteLiteral, WithinSingleQuoteLiteral
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.
|
Modifier and Type | Method and Description |
---|---|
void |
andCondition() |
void |
arithmeticExp() |
void |
bitwiseAnd() |
void |
bitwiseOr() |
void |
bitwiseShift() |
void |
bitwiseXor() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
Expression |
expression() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
static void |
main(String[] arg) |
void |
multiplySubtractExp() |
void |
namedParameter() |
void |
notCondition() |
void |
numericPrimary() |
void |
numericTerm() |
void |
numericTermExt() |
void |
orCondition() |
void |
pathExpression() |
void |
scalarCommaList() |
void |
scalarConditionExpression() |
void |
scalarConstExpression() |
void |
scalarExpression() |
void |
scalarNumericExpression() |
void |
simpleCondition() |
void |
simpleNotCondition() |
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 static void main(String[] arg)
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 scalarConditionExpression() throws ParseException
ParseException
public final void scalarExpression() throws ParseException
ParseException
public final void scalarConstExpression() throws ParseException
ParseException
public final void scalarNumericExpression() 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 namedParameter() throws ParseException
ParseException
public final void pathExpression() throws ParseException
ParseException
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–2015 Apache Cayenne. All rights reserved.