org.objectweb.speedo.query.ejb.parser
Class EJBQL

java.lang.Object
  extended by org.objectweb.speedo.query.ejb.parser.EJBQL
All Implemented Interfaces:
EJBQLConstants, EJBQLTreeConstants

public class EJBQL
extends java.lang.Object
implements EJBQLTreeConstants, EJBQLConstants


Field Summary
 Token jj_nt
           
protected  org.objectweb.speedo.query.ejb.parser.JJTEJBQLState jjtree
           
 boolean lookingAhead
           
 Token token
           
 EJBQLTokenManager token_source
           
 
Fields inherited from interface org.objectweb.speedo.query.ejb.parser.EJBQLTreeConstants
JJTABSTRACTSCHEMANAME, JJTAGGREGATESELECTEXPRESSION, JJTALLORANYEXPRESSION, JJTARITHMETICEXPRESSION, JJTARITHMETICFACTOR, JJTARITHMETICPRIMARY, JJTARITHMETICTERM, JJTBETWEENEXPRESSION, JJTBOOLEANEXPRESSION, JJTBOOLEANLITERAL, JJTBOOLEANPRIMARY, JJTCOLLECTIONMEMBERDECLARATION, JJTCOLLECTIONMEMBEREXPRESSION, JJTCOMPARISONEXPRESSION, JJTCOMPARISONOPERATOR, JJTCONDITIONALEXPRESSION, JJTCONDITIONALFACTOR, JJTCONDITIONALPRIMARY, JJTCONDITIONALTERM, JJTCONSTRUCTOREXPRESSION, JJTCONSTRUCTORITEM, JJTCONSTRUCTORNAME, JJTDATETIMEEXPRESSION, JJTDATETIMEPRIMARY, JJTDELETECLAUSE, JJTDELETESTATEMENT, JJTEJBQL, JJTEMPTYCOLLECTIONCOMPARISONEXPRESSION, JJTENTITYEXPRESSION, JJTESCAPECHARACTER, JJTEXISTSEXPRESSION, JJTFETCHJOIN, JJTFLOATINGPOINTLITERAL, JJTFROMCLAUSE, JJTFUNCTIONSRETURNINGDATETIME, JJTFUNCTIONSRETURNINGNUMERICS, JJTFUNCTIONSRETURNINGSTRINGS, JJTGROUPBYCLAUSE, JJTGROUPBYITEM, JJTHAVINGCLAUSE, JJTIDENTIFICATIONVARIABLE, JJTIDENTIFICATIONVARIABLEDECLARATION, JJTINEXPRESSION, JJTINITEM, JJTINPUTPARAMETER, JJTINTEGERLITERAL, JJTJOIN, JJTJOINSPEC, JJTLIKEEXPRESSION, JJTLITERAL, JJTNAMEDPARAMETER, JJTNEWVALUE, jjtNodeName, JJTNULLCOMPARISONEXPRESSION, JJTNUMERICLITERAL, JJTORDERBYCLAUSE, JJTORDERBYITEM, JJTPATHEXPRESSION, JJTPATTERNVALUE, JJTPOSITIONALPARAMETER, JJTRANGEVARIABLEDECLARATION, JJTSELECTCLAUSE, JJTSELECTEXPRESSION, JJTSELECTSTATEMENT, JJTSIMPLEARITHMETICEXPRESSION, JJTSIMPLECONDEXPRESSION, JJTSIMPLESELECTCLAUSE, JJTSIMPLESELECTEXPRESSION, JJTSTRINGEXPRESSION, JJTSTRINGLITERAL, JJTSTRINGPRIMARY, JJTSUBQUERY, JJTSUBQUERYFROMCLAUSE, JJTSUBSELECTIDENTIFICATIONVARIABLEDECLARATION, JJTTRIMCHARACTER, JJTTRIMSPECIFICATION, JJTUPDATECLAUSE, JJTUPDATEITEM, JJTUPDATESTATEMENT, JJTWHERECLAUSE
 
Fields inherited from interface org.objectweb.speedo.query.ejb.parser.EJBQLConstants
ABS, ALL, AND, ANY, AS, ASC, AVG, BETWEEN, BOTH, BY, COLON, COMMA, CONCAT, COUNT, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, DECIMAL_LITERAL, DEFAULT, DELETE, DESC, DIGIT, DISTINCT, DIV, DOT, EMPTY, EOF, EQ, ESCAPE, EXISTS, EXPONENT, FALSE, FETCH, FLOATING_POINT_LITERAL, FROM, GE, GROUP, GT, HAVING, HEX_LITERAL, IDENTIFIER, IN, INNER, input_parameter, INTEGER_LITERAL, IS, JOIN, LE, LEADING, LEFT, LENGTH, LETTER, LIKE, LIMIT, LOCATE, LOWER, LPAREN, LT, MAX, MEMBER, MIN, MINUS, MOD, MULT, named_parameter, NE, NEW, NOT, NULL, OBJECT, OCTAL_LITERAL, OF, OR, ORDERBY, OUTER, PLUS, RPAREN, SELECT, SET, SIZE, SOME, SQRT, string_literal, SUBSTRING, SUM, tokenImage, TRAILING, TRIM, TRUE, UPDATE, UPPER, WHERE
 
Constructor Summary
EJBQL(EJBQLTokenManager tm)
           
EJBQL(java.io.InputStream stream)
           
EJBQL(java.io.Reader stream)
           
 
Method Summary
 void AbstractSchemaName()
           
 void AggregateSelectExpression()
           
 void AllOrAnyExpression()
           
 void ArithmeticExpression()
           
 void ArithmeticFactor()
           
 void ArithmeticPrimary()
           
 void ArithmeticTerm()
           
 void BetweenExpression()
           
 void BooleanExpression()
           
 void BooleanLiteral()
           
 void BooleanPrimary()
           
 void CollectionMemberDeclaration()
           
 void CollectionMemberExpression()
           
 void ComparisonExpression()
           
 void ComparisonOperator()
           
 void ConditionalExpression()
           
 void ConditionalFactor()
           
 void ConditionalPrimary()
           
 void ConditionalTerm()
           
 void ConstructorExpression()
           
 void ConstructorItem()
           
 void ConstructorName()
           
 void DatetimeExpression()
           
 void DatetimePrimary()
           
 void DeleteClause()
           
 void DeleteStatement()
           
 void disable_tracing()
           
 SimpleNode EJBQL()
           
 void EmptyCollectionComparisonExpression()
           
 void enable_tracing()
           
 void EntityExpression()
           
 void EscapeCharacter()
           
 void ExistsExpression()
           
 void FetchJoin()
           
 void FloatingPointLiteral()
           
 void FromClause()
           
 void FunctionsReturningDateTime()
           
 void FunctionsReturningNumerics()
           
 void FunctionsReturningStrings()
           
 ParseException generateParseException()
           
 Token getNextToken()
           
 Token getToken(int index)
           
 void GroupByClause()
           
 void GroupByItem()
           
 void HavingClause()
           
 void IdentificationVariable()
           
 void IdentificationVariableDeclaration()
           
 void InExpression()
           
 void InItem()
           
 void InputParameter()
           
 void IntegerLiteral()
           
 void Join()
           
 void JoinSpec()
           
 void LikeExpression()
           
 void Literal()
           
static void main(java.lang.String[] args)
           
 void NamedParameter()
           
 void NewValue()
           
 void NullComparisonExpression()
           
 void NumericLiteral()
           
 void OrderByClause()
           
 void OrderByItem()
           
 void PathExpression()
           
 void PatternValue()
           
 void PositionalParameter()
           
 void RangeVariableDeclaration()
           
 void ReInit(EJBQLTokenManager tm)
           
 void ReInit(java.io.InputStream stream)
           
 void ReInit(java.io.Reader stream)
           
 void SelectClause()
           
 void SelectExpression()
           
 void SelectStatement()
           
 void SimpleArithmeticExpression()
           
 void SimpleCondExpression()
           
 void SimpleSelectClause()
           
 void SimpleSelectExpression()
           
 void StringExpression()
           
 void StringLiteral()
           
 void StringPrimary()
           
 void SubQuery()
           
 void SubqueryFromClause()
           
 void SubselectIdentificationVariableDeclaration()
           
 void TrimCharacter()
           
 void TrimSpecification()
           
 void UpdateClause()
           
 void UpdateItem()
           
 void UpdateStatement()
           
 void WhereClause()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jjtree

protected org.objectweb.speedo.query.ejb.parser.JJTEJBQLState jjtree

token_source

public EJBQLTokenManager token_source

token

public Token token

jj_nt

public Token jj_nt

lookingAhead

public boolean lookingAhead
Constructor Detail

EJBQL

public EJBQL(java.io.InputStream stream)

EJBQL

public EJBQL(java.io.Reader stream)

EJBQL

public EJBQL(EJBQLTokenManager tm)
Method Detail

main

public static void main(java.lang.String[] args)
                 throws ParseException
Throws:
ParseException

EJBQL

public final SimpleNode EJBQL()
                       throws ParseException
Throws:
ParseException

SelectStatement

public final void SelectStatement()
                           throws ParseException
Throws:
ParseException

UpdateStatement

public final void UpdateStatement()
                           throws ParseException
Throws:
ParseException

DeleteStatement

public final void DeleteStatement()
                           throws ParseException
Throws:
ParseException

FromClause

public final void FromClause()
                      throws ParseException
Throws:
ParseException

IdentificationVariableDeclaration

public final void IdentificationVariableDeclaration()
                                             throws ParseException
Throws:
ParseException

RangeVariableDeclaration

public final void RangeVariableDeclaration()
                                    throws ParseException
Throws:
ParseException

Join

public final void Join()
                throws ParseException
Throws:
ParseException

FetchJoin

public final void FetchJoin()
                     throws ParseException
Throws:
ParseException

JoinSpec

public final void JoinSpec()
                    throws ParseException
Throws:
ParseException

CollectionMemberDeclaration

public final void CollectionMemberDeclaration()
                                       throws ParseException
Throws:
ParseException

PathExpression

public final void PathExpression()
                          throws ParseException
Throws:
ParseException

UpdateClause

public final void UpdateClause()
                        throws ParseException
Throws:
ParseException

UpdateItem

public final void UpdateItem()
                      throws ParseException
Throws:
ParseException

NewValue

public final void NewValue()
                    throws ParseException
Throws:
ParseException

DeleteClause

public final void DeleteClause()
                        throws ParseException
Throws:
ParseException

SelectClause

public final void SelectClause()
                        throws ParseException
Throws:
ParseException

SelectExpression

public final void SelectExpression()
                            throws ParseException
Throws:
ParseException

ConstructorExpression

public final void ConstructorExpression()
                                 throws ParseException
Throws:
ParseException

ConstructorItem

public final void ConstructorItem()
                           throws ParseException
Throws:
ParseException

ConstructorName

public final void ConstructorName()
                           throws ParseException
Throws:
ParseException

AggregateSelectExpression

public final void AggregateSelectExpression()
                                     throws ParseException
Throws:
ParseException

WhereClause

public final void WhereClause()
                       throws ParseException
Throws:
ParseException

GroupByClause

public final void GroupByClause()
                         throws ParseException
Throws:
ParseException

GroupByItem

public final void GroupByItem()
                       throws ParseException
Throws:
ParseException

HavingClause

public final void HavingClause()
                        throws ParseException
Throws:
ParseException

OrderByClause

public final void OrderByClause()
                         throws ParseException
Throws:
ParseException

OrderByItem

public final void OrderByItem()
                       throws ParseException
Throws:
ParseException

SubQuery

public final void SubQuery()
                    throws ParseException
Throws:
ParseException

SubqueryFromClause

public final void SubqueryFromClause()
                              throws ParseException
Throws:
ParseException

SubselectIdentificationVariableDeclaration

public final void SubselectIdentificationVariableDeclaration()
                                                      throws ParseException
Throws:
ParseException

SimpleSelectClause

public final void SimpleSelectClause()
                              throws ParseException
Throws:
ParseException

SimpleSelectExpression

public final void SimpleSelectExpression()
                                  throws ParseException
Throws:
ParseException

ConditionalExpression

public final void ConditionalExpression()
                                 throws ParseException
Throws:
ParseException

ConditionalTerm

public final void ConditionalTerm()
                           throws ParseException
Throws:
ParseException

ConditionalFactor

public final void ConditionalFactor()
                             throws ParseException
Throws:
ParseException

ConditionalPrimary

public final void ConditionalPrimary()
                              throws ParseException
Throws:
ParseException

SimpleCondExpression

public final void SimpleCondExpression()
                                throws ParseException
Throws:
ParseException

BetweenExpression

public final void BetweenExpression()
                             throws ParseException
Throws:
ParseException

InExpression

public final void InExpression()
                        throws ParseException
Throws:
ParseException

InItem

public final void InItem()
                  throws ParseException
Throws:
ParseException

LikeExpression

public final void LikeExpression()
                          throws ParseException
Throws:
ParseException

NullComparisonExpression

public final void NullComparisonExpression()
                                    throws ParseException
Throws:
ParseException

EmptyCollectionComparisonExpression

public final void EmptyCollectionComparisonExpression()
                                               throws ParseException
Throws:
ParseException

CollectionMemberExpression

public final void CollectionMemberExpression()
                                      throws ParseException
Throws:
ParseException

ExistsExpression

public final void ExistsExpression()
                            throws ParseException
Throws:
ParseException

AllOrAnyExpression

public final void AllOrAnyExpression()
                              throws ParseException
Throws:
ParseException

ComparisonExpression

public final void ComparisonExpression()
                                throws ParseException
Throws:
ParseException

ComparisonOperator

public final void ComparisonOperator()
                              throws ParseException
Throws:
ParseException

ArithmeticExpression

public final void ArithmeticExpression()
                                throws ParseException
Throws:
ParseException

SimpleArithmeticExpression

public final void SimpleArithmeticExpression()
                                      throws ParseException
Throws:
ParseException

ArithmeticTerm

public final void ArithmeticTerm()
                          throws ParseException
Throws:
ParseException

ArithmeticFactor

public final void ArithmeticFactor()
                            throws ParseException
Throws:
ParseException

ArithmeticPrimary

public final void ArithmeticPrimary()
                             throws ParseException
Throws:
ParseException

StringExpression

public final void StringExpression()
                            throws ParseException
Throws:
ParseException

StringPrimary

public final void StringPrimary()
                         throws ParseException
Throws:
ParseException

DatetimeExpression

public final void DatetimeExpression()
                              throws ParseException
Throws:
ParseException

DatetimePrimary

public final void DatetimePrimary()
                           throws ParseException
Throws:
ParseException

BooleanExpression

public final void BooleanExpression()
                             throws ParseException
Throws:
ParseException

BooleanPrimary

public final void BooleanPrimary()
                          throws ParseException
Throws:
ParseException

EntityExpression

public final void EntityExpression()
                            throws ParseException
Throws:
ParseException

FunctionsReturningNumerics

public final void FunctionsReturningNumerics()
                                      throws ParseException
Throws:
ParseException

FunctionsReturningDateTime

public final void FunctionsReturningDateTime()
                                      throws ParseException
Throws:
ParseException

FunctionsReturningStrings

public final void FunctionsReturningStrings()
                                     throws ParseException
Throws:
ParseException

TrimSpecification

public final void TrimSpecification()
                             throws ParseException
Throws:
ParseException

TrimCharacter

public final void TrimCharacter()
                         throws ParseException
Throws:
ParseException

PatternValue

public final void PatternValue()
                        throws ParseException
Throws:
ParseException

EscapeCharacter

public final void EscapeCharacter()
                           throws ParseException
Throws:
ParseException

AbstractSchemaName

public final void AbstractSchemaName()
                              throws ParseException
Throws:
ParseException

IdentificationVariable

public final void IdentificationVariable()
                                  throws ParseException
Throws:
ParseException

Literal

public final void Literal()
                   throws ParseException
Throws:
ParseException

StringLiteral

public final void StringLiteral()
                         throws ParseException
Throws:
ParseException

NumericLiteral

public final void NumericLiteral()
                          throws ParseException
Throws:
ParseException

IntegerLiteral

public final void IntegerLiteral()
                          throws ParseException
Throws:
ParseException

FloatingPointLiteral

public final void FloatingPointLiteral()
                                throws ParseException
Throws:
ParseException

BooleanLiteral

public final void BooleanLiteral()
                          throws ParseException
Throws:
ParseException

InputParameter

public final void InputParameter()
                          throws ParseException
Throws:
ParseException

PositionalParameter

public final void PositionalParameter()
                               throws ParseException
Throws:
ParseException

NamedParameter

public final void NamedParameter()
                          throws ParseException
Throws:
ParseException

ReInit

public void ReInit(java.io.InputStream stream)

ReInit

public void ReInit(java.io.Reader stream)

ReInit

public void ReInit(EJBQLTokenManager tm)

getNextToken

public final Token getNextToken()

getToken

public final Token getToken(int index)

generateParseException

public ParseException generateParseException()

enable_tracing

public final void enable_tracing()

disable_tracing

public final void disable_tracing()