org.apache.cayenne.exp.parser
Class ExpressionParser
java.lang.Object
org.apache.cayenne.exp.parser.ExpressionParser
- All Implemented Interfaces:
- ExpressionParserConstants, ExpressionParserTreeConstants
public class ExpressionParser
- extends java.lang.Object
- implements ExpressionParserTreeConstants, ExpressionParserConstants
Parser of Cayenne Expressions.
- Since:
- 1.1
Fields inherited from interface org.apache.cayenne.exp.parser.ExpressionParserTreeConstants |
JJTADD, JJTAND, JJTBETWEEN, JJTDBPATH, JJTDIVIDE, JJTEQUAL, JJTGREATER, JJTGREATEROREQUAL, JJTIN, JJTLESS, JJTLESSOREQUAL, JJTLIKE, JJTLIKEIGNORECASE, JJTLIST, JJTMULTIPLY, JJTNAMEDPARAMETER, JJTNEGATE, jjtNodeName, JJTNOT, JJTNOTBETWEEN, JJTNOTEQUAL, JJTNOTIN, JJTNOTLIKE, JJTNOTLIKEIGNORECASE, JJTOBJPATH, JJTOR, JJTSCALAR, JJTSUBTRACT, JJTVOID |
Fields inherited from interface org.apache.cayenne.exp.parser.ExpressionParserConstants |
DEC_DIGITS, DEC_FLT, DEFAULT, DIGIT, DOUBLE_QUOTED_STRING, EOF, ESC, EXPONENT, FLOAT_LITERAL, FLT_SUFF, IDENTIFIER, INT_LITERAL, LETTER, NULL, PROPERTY_PATH, SINGLE_QUOTED_STRING, STRING_ESC, tokenImage, WithinDoubleQuoteLiteral, WithinSingleQuoteLiteral |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jjtree
protected org.apache.cayenne.exp.parser.JJTExpressionParserState jjtree
token_source
public ExpressionParserTokenManager token_source
token
public org.apache.cayenne.exp.parser.Token token
jj_nt
public org.apache.cayenne.exp.parser.Token jj_nt
ExpressionParser
public ExpressionParser(java.io.InputStream stream)
ExpressionParser
public ExpressionParser(java.io.Reader stream)
ExpressionParser
public ExpressionParser(ExpressionParserTokenManager tm)
main
public static void main(java.lang.String[] arg)
expression
public final Expression expression()
throws ParseException
- Throws:
ParseException
orCondition
public final void orCondition()
throws ParseException
- Throws:
ParseException
andCondition
public final void andCondition()
throws ParseException
- Throws:
ParseException
notCondition
public final void notCondition()
throws ParseException
- Throws:
ParseException
simpleCondition
public final void simpleCondition()
throws ParseException
- Throws:
ParseException
simpleNotCondition
public final void simpleNotCondition()
throws ParseException
- Throws:
ParseException
scalarCommaList
public final void scalarCommaList()
throws ParseException
- Throws:
ParseException
scalarExpression
public final void scalarExpression()
throws ParseException
- Throws:
ParseException
scalarConstExpression
public final void scalarConstExpression()
throws ParseException
- Throws:
ParseException
scalarNumericExpression
public final void scalarNumericExpression()
throws ParseException
- Throws:
ParseException
multiplySubtractExp
public final void multiplySubtractExp()
throws ParseException
- Throws:
ParseException
numericTerm
public final void numericTerm()
throws ParseException
- Throws:
ParseException
numericPrimary
public final void numericPrimary()
throws ParseException
- Throws:
ParseException
namedParameter
public final void namedParameter()
throws ParseException
- Throws:
ParseException
pathExpression
public final void pathExpression()
throws ParseException
- Throws:
ParseException
ReInit
public void ReInit(java.io.InputStream stream)
ReInit
public void ReInit(java.io.Reader stream)
ReInit
public void ReInit(ExpressionParserTokenManager tm)
getNextToken
public final org.apache.cayenne.exp.parser.Token getNextToken()
getToken
public final org.apache.cayenne.exp.parser.Token getToken(int index)
generateParseException
public ParseException generateParseException()
enable_tracing
public final void enable_tracing()
disable_tracing
public final void disable_tracing()
Copyright © 2001-2006 Apache.org All Rights Reserved.