public class EJBQLParser extends Object implements EJBQLParserTreeConstants, EJBQLParserConstants
| Modifier and Type | Field and Description |
|---|---|
Token |
jj_nt
Next token.
|
protected JJTEJBQLParserState |
jjtree |
Token |
token
Current token.
|
EJBQLParserTokenManager |
token_source
Generated Token Manager.
|
JJTABS, JJTABSTRACTSCHEMA, JJTAND, JJTAPPROXIMATENUMERICLITERAL, JJTARITHMETICCOMPARISON, JJTARITHMETICPARENTHETICAL, JJTAVG, JJTBETWEEN, JJTBOOLEANCOMPARISON, JJTBOOLEANLITERAL, JJTCOLLECTIONMEMBERDECLARATION, JJTCONCAT, JJTCONDITIONALPARENTHETICAL, JJTCOUNT, JJTDATETIMECOMPARISON, JJTEJBQL, JJTENTITYCOMPARISON, JJTEXACTNUMERICLITERAL, JJTFROM, JJTIDENTIFIER, JJTIN, JJTISEMPTY, JJTLENGTH, JJTLIKE, JJTLOCATE, JJTMAX, JJTMEMBEROF, JJTMIN, JJTMOD, JJTMULTDIV, JJTNEGATION, jjtNodeName, JJTNOT, JJTNULLCOMPARISON, JJTOR, JJTORDERBY, JJTORDERBYPATH, JJTPARAMETER, JJTPATH, JJTPLUSMINUS, JJTRANGEVARIABLEDECLARATION, JJTSELECT, JJTSQRT, JJTSTRINGCOMPARISON, JJTSTRINGLITERAL, JJTSTRINGPARENTHETICAL, JJTSUBSTRING, JJTSUM, JJTVOID, JJTWHERE, JJTWHERECONDITIONALTERMABS, ABSTRACT_SCHEMA, AND, AS, ASC, AVG, BETWEEN, BOOLEAN_VALUED_PARAMETER, BOOLEAN_VALUED_PATH, BY, COLLECTION_VALUED_PATH, COMMA, CONCAT, COUNT, DATETIME_VALUED_PARAMETER, DATETIME_VALUED_PATH, DECIMAL_LITERAL, DEFAULT, DESC, DIGIT, DISTINCT, DIV, DOT, DUMMY, EMPTY, ENTITY_VALUED_PARAMETER, ENTITY_VALUED_PATH, EOF, EQ, ESCAPE, EXPONENT, FALSE, FLOATING_POINT_LITERAL, FROM, GE, GT, HEX_LITERAL, IDENTIFICATION_VARIABLE, IDENTIFIER, IN, IN_NAVIGATION, INTEGER_LITERAL, IS, LE, LENGTH, LETTER, LIKE, LOCATE, LPAREN, LT, MAX, MEMBER, MIN, MINUS, MOD, MULT, NAME, NE, NOT, NULL, NUMERIC_VALUED_PARAMETER, NUMERIC_VALUED_PATH, OBJECT, OCTAL_LITERAL, OF, OR, ORDER, PART, PLUS, RPAREN, SELECT, SQRT, STRING_LITERAL, STRING_VALUED_PARAMETER, STRING_VALUED_PATH, SUBSTRING, SUM, tokenImage, TRUE, UNKNOWN, UNKNOWN_PARAMETER, UNKNOWN_PATH, VALUE_CLASS_VALUED_PARAMETER, VALUE_CLASS_VALUED_PATH, WHERE| Constructor and Description |
|---|
EJBQLParser(EJBQLParserTokenManager tm)
Constructor with generated Token Manager.
|
EJBQLParser(InputStream stream)
Constructor with InputStream.
|
EJBQLParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
EJBQLParser(Reader stream)
Constructor.
|
protected JJTEJBQLParserState jjtree
public EJBQLParserTokenManager token_source
public Token token
public Token jj_nt
public EJBQLParser(InputStream stream)
public EJBQLParser(InputStream stream, String encoding)
public EJBQLParser(Reader stream)
public EJBQLParser(EJBQLParserTokenManager tm)
public ASTEJBQL parse(Catalog catalog, Class[] argumentTypes, String ejbql) throws ParseException
ParseExceptionpublic final ASTEJBQL EJBQL() throws ParseException
ParseExceptionpublic final ASTOrderBy OrderByClause() throws ParseException
ParseExceptionpublic final void OrderByPathExpression()
throws ParseException
ParseExceptionpublic final void FromKeyword()
throws ParseException
ParseExceptionpublic final ASTFrom ParseFromClause() throws ParseException
ParseExceptionpublic final ASTFrom FromClause() throws ParseException
ParseExceptionpublic final void IdentificationVariableDeclaration()
throws ParseException
ParseExceptionpublic final void CollectionMemberDeclaration()
throws ParseException
ParseExceptionpublic final void RangeVariableDeclaration()
throws ParseException
ParseExceptionpublic final ASTSelect SelectClause() throws ParseException
ParseExceptionpublic final void SelectExpression()
throws ParseException
ParseExceptionpublic final ASTWhere WhereClause() throws ParseException
ParseExceptionpublic final void WhereExpression()
throws ParseException
ParseExceptionpublic final ASTWhereConditionalTerm WhereConditionalTerm() throws ParseException
ParseExceptionpublic final void ConditionalExpression()
throws ParseException
ParseExceptionpublic final void ConditionalTerm()
throws ParseException
ParseExceptionpublic final void ConditionalFactor()
throws ParseException
ParseExceptionpublic final void ConditionalTest()
throws ParseException
ParseExceptionpublic final void ConditionalPrimary()
throws ParseException
ParseExceptionpublic final void SimpleCondExpression()
throws ParseException
ParseExceptionpublic final void BetweenExpression()
throws ParseException
ParseExceptionpublic final void InExpression()
throws ParseException
ParseExceptionpublic final void LikeExpression()
throws ParseException
ParseExceptionpublic final void NullComparisonExpression()
throws ParseException
ParseExceptionpublic final void EmptyCollectionComparisonExpression()
throws ParseException
ParseExceptionpublic final void CollectionMemberExpression()
throws ParseException
ParseExceptionpublic final void ComparisonExpression()
throws ParseException
ParseExceptionpublic final void ArithmeticValue()
throws ParseException
ParseExceptionpublic final void SingleValueDesignator()
throws ParseException
ParseExceptionpublic final void ScalarExpression()
throws ParseException
ParseExceptionpublic final void ArithmeticExpression()
throws ParseException
ParseExceptionpublic final void ArithmeticTerm()
throws ParseException
ParseExceptionpublic final void ArithmeticFactor()
throws ParseException
ParseExceptionpublic final void ArithmeticPrimary()
throws ParseException
ParseExceptionpublic final void StringValue()
throws ParseException
ParseExceptionpublic final void StringExpression()
throws ParseException
ParseExceptionpublic final void StringPrimary()
throws ParseException
ParseExceptionpublic final void DatetimeValue()
throws ParseException
ParseExceptionpublic final void DatetimeExpression()
throws ParseException
ParseExceptionpublic final void BooleanValue()
throws ParseException
ParseExceptionpublic final void BooleanExpression()
throws ParseException
ParseExceptionpublic final void EntityBeanValue()
throws ParseException
ParseExceptionpublic final void EntityBeanExpression()
throws ParseException
ParseExceptionpublic final void FunctionsReturningStrings()
throws ParseException
ParseExceptionpublic final void FunctionsReturningNumerics()
throws ParseException
ParseExceptionpublic final Token CollectionValuedPath() throws ParseException
ParseExceptionpublic final Token IdentificationVariable() throws ParseException
ParseExceptionpublic final Token AbstractSchema() throws ParseException
ParseExceptionpublic final Token Identifier() throws ParseException
ParseExceptionpublic final void SingleValuedPath()
throws ParseException
ParseExceptionpublic final void NumericValuedPath()
throws ParseException
ParseExceptionpublic final void StringValuedPath()
throws ParseException
ParseExceptionpublic final void DatetimeValuedPath()
throws ParseException
ParseExceptionpublic final void BooleanValuedPath()
throws ParseException
ParseExceptionpublic final void EntityValuedPath()
throws ParseException
ParseExceptionpublic final void ValueClassValuedPath()
throws ParseException
ParseExceptionpublic final void NumericValuedParameter()
throws ParseException
ParseExceptionpublic final void StringValuedParameter()
throws ParseException
ParseExceptionpublic final void DatetimeValuedParameter()
throws ParseException
ParseExceptionpublic final void BooleanValuedParameter()
throws ParseException
ParseExceptionpublic final void EntityValuedParameter()
throws ParseException
ParseExceptionpublic final void ValueClassValuedParameter()
throws ParseException
ParseExceptionpublic final void NumericLiteral()
throws ParseException
ParseExceptionpublic final void StringLiteral()
throws ParseException
ParseExceptionpublic final void BooleanLiteral()
throws ParseException
ParseExceptionpublic final void AggregateSelectExpression()
throws ParseException
ParseExceptionpublic void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(EJBQLParserTokenManager 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 © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.