org.objectweb.speedo.query.ejb.parser
Class EJBQL
java.lang.Object
org.objectweb.speedo.query.ejb.parser.EJBQL
- All Implemented Interfaces:
- EJBQLConstants, EJBQLTreeConstants
public class EJBQL
- extends java.lang.Object
- implements EJBQLTreeConstants, EJBQLConstants
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
EJBQL
public EJBQL(java.io.InputStream stream)
EJBQL
public EJBQL(java.io.Reader stream)
EJBQL
public EJBQL(EJBQLTokenManager tm)
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()