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, JJTWHERECONDITIONALTERM
ABS, 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
ParseException
public final ASTEJBQL EJBQL() throws ParseException
ParseException
public final ASTOrderBy OrderByClause() throws ParseException
ParseException
public final void OrderByPathExpression() throws ParseException
ParseException
public final void FromKeyword() throws ParseException
ParseException
public final ASTFrom ParseFromClause() throws ParseException
ParseException
public final ASTFrom FromClause() throws ParseException
ParseException
public final void IdentificationVariableDeclaration() throws ParseException
ParseException
public final void CollectionMemberDeclaration() throws ParseException
ParseException
public final void RangeVariableDeclaration() throws ParseException
ParseException
public final ASTSelect SelectClause() throws ParseException
ParseException
public final void SelectExpression() throws ParseException
ParseException
public final ASTWhere WhereClause() throws ParseException
ParseException
public final void WhereExpression() throws ParseException
ParseException
public final ASTWhereConditionalTerm WhereConditionalTerm() throws ParseException
ParseException
public final void ConditionalExpression() throws ParseException
ParseException
public final void ConditionalTerm() throws ParseException
ParseException
public final void ConditionalFactor() throws ParseException
ParseException
public final void ConditionalTest() throws ParseException
ParseException
public final void ConditionalPrimary() throws ParseException
ParseException
public final void SimpleCondExpression() throws ParseException
ParseException
public final void BetweenExpression() throws ParseException
ParseException
public final void InExpression() throws ParseException
ParseException
public final void LikeExpression() throws ParseException
ParseException
public final void NullComparisonExpression() throws ParseException
ParseException
public final void EmptyCollectionComparisonExpression() throws ParseException
ParseException
public final void CollectionMemberExpression() throws ParseException
ParseException
public final void ComparisonExpression() throws ParseException
ParseException
public final void ArithmeticValue() throws ParseException
ParseException
public final void SingleValueDesignator() throws ParseException
ParseException
public final void ScalarExpression() throws ParseException
ParseException
public final void ArithmeticExpression() throws ParseException
ParseException
public final void ArithmeticTerm() throws ParseException
ParseException
public final void ArithmeticFactor() throws ParseException
ParseException
public final void ArithmeticPrimary() throws ParseException
ParseException
public final void StringValue() throws ParseException
ParseException
public final void StringExpression() throws ParseException
ParseException
public final void StringPrimary() throws ParseException
ParseException
public final void DatetimeValue() throws ParseException
ParseException
public final void DatetimeExpression() throws ParseException
ParseException
public final void BooleanValue() throws ParseException
ParseException
public final void BooleanExpression() throws ParseException
ParseException
public final void EntityBeanValue() throws ParseException
ParseException
public final void EntityBeanExpression() throws ParseException
ParseException
public final void FunctionsReturningStrings() throws ParseException
ParseException
public final void FunctionsReturningNumerics() throws ParseException
ParseException
public final Token CollectionValuedPath() throws ParseException
ParseException
public final Token IdentificationVariable() throws ParseException
ParseException
public final Token AbstractSchema() throws ParseException
ParseException
public final Token Identifier() throws ParseException
ParseException
public final void SingleValuedPath() throws ParseException
ParseException
public final void NumericValuedPath() throws ParseException
ParseException
public final void StringValuedPath() throws ParseException
ParseException
public final void DatetimeValuedPath() throws ParseException
ParseException
public final void BooleanValuedPath() throws ParseException
ParseException
public final void EntityValuedPath() throws ParseException
ParseException
public final void ValueClassValuedPath() throws ParseException
ParseException
public final void NumericValuedParameter() throws ParseException
ParseException
public final void StringValuedParameter() throws ParseException
ParseException
public final void DatetimeValuedParameter() throws ParseException
ParseException
public final void BooleanValuedParameter() throws ParseException
ParseException
public final void EntityValuedParameter() throws ParseException
ParseException
public final void ValueClassValuedParameter() throws ParseException
ParseException
public final void NumericLiteral() throws ParseException
ParseException
public final void StringLiteral() throws ParseException
ParseException
public final void BooleanLiteral() throws ParseException
ParseException
public final void AggregateSelectExpression() throws ParseException
ParseException
public 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.