org.tranql.ejb.parser
Class EJBQL21Parser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended byorg.tranql.ejb.parser.EJBQL21Parser
All Implemented Interfaces:
EJBQLTokenTypes

public class EJBQL21Parser
extends antlr.LLkParser
implements EJBQLTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface org.tranql.ejb.parser.EJBQLTokenTypes
ABS, ABSTRACT_SCHEMA_NAME, AND, AS, ASC, AVG, BETWEEN, BY, COLLECTION_MEMBER, COMMA, CONCAT, COUNT, DESC, DIGIT, DISTINCT, DIV, DOT, EJBQL, EMPTY, EOF, EQ, ESCAPE, EXPLICIT_BRACKETING, EXPONENT, FALSE, FLOAT_LITERAL, FLOAT_SUFFIX, FROM, GE, GT, HEX_DIGIT, IDENTIFIER, IN, INPUT_PARAM, INTEGER_LITERAL, INTEGER_SUFFIX, IS, LE, LENGTH, LIKE, LOCATE, LPAREN, LT, MAX, MEMBER, MIN, MINUS, MOD, MULT, NE, NOT, NULL, NULL_TREE_LOOKAHEAD, OBJECT, OCTAL_DIGIT, OF, OR, ORDER, PATH, PLUS, QUESTION, RANGE_VARIABLE, RPAREN, SELECT, SQRT, STRING_LITERAL, SUBSTRING, SUM, TRUE, UNARY_MINUS, UNARY_PLUS, UNKNOWN, WHERE, WS
 
Constructor Summary
  EJBQL21Parser(antlr.ParserSharedInputState state)
           
  EJBQL21Parser(antlr.TokenBuffer tokenBuf)
           
protected EJBQL21Parser(antlr.TokenBuffer tokenBuf, int k)
           
  EJBQL21Parser(antlr.TokenStream lexer)
           
protected EJBQL21Parser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void aggregate_expression()
           
 void and_expression()
           
 void boolean_expression()
           
protected  void buildTokenTypeASTClassMap()
           
 void collection_member_declaration()
           
 void conditional_expression()
           
 void ejbql()
           
 void expression()
           
 void from_clause()
           
 boolean hadErrors()
           
 void identification_variable_declaration()
           
 void literal()
           
 void not_expression()
           
 void orderby_clause()
           
 void path_expression()
           
 void range_variable_declaration()
           
 void reportError(antlr.RecognitionException e)
           
 void reportError(java.lang.String s)
           
 void reportWarning(java.lang.String s)
           
 void select_clause()
           
 void select_expression()
           
 void value()
           
 void where_clause()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10
Constructor Detail

EJBQL21Parser

protected EJBQL21Parser(antlr.TokenBuffer tokenBuf,
                        int k)

EJBQL21Parser

public EJBQL21Parser(antlr.TokenBuffer tokenBuf)

EJBQL21Parser

protected EJBQL21Parser(antlr.TokenStream lexer,
                        int k)

EJBQL21Parser

public EJBQL21Parser(antlr.TokenStream lexer)

EJBQL21Parser

public EJBQL21Parser(antlr.ParserSharedInputState state)
Method Detail

reportError

public void reportError(antlr.RecognitionException e)

reportError

public void reportError(java.lang.String s)

reportWarning

public void reportWarning(java.lang.String s)

hadErrors

public boolean hadErrors()

ejbql

public final void ejbql()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

select_clause

public final void select_clause()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

from_clause

public final void from_clause()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

where_clause

public final void where_clause()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

orderby_clause

public final void orderby_clause()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

range_variable_declaration

public final void range_variable_declaration()
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

identification_variable_declaration

public final void identification_variable_declaration()
                                               throws antlr.RecognitionException,
                                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

collection_member_declaration

public final void collection_member_declaration()
                                         throws antlr.RecognitionException,
                                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

path_expression

public final void path_expression()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

select_expression

public final void select_expression()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aggregate_expression

public final void aggregate_expression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

conditional_expression

public final void conditional_expression()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

and_expression

public final void and_expression()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

not_expression

public final void not_expression()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

boolean_expression

public final void boolean_expression()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

expression

public final void expression()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

literal

public final void literal()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

value

public final void value()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()


Copyright © -2006 The Codehaus. All Rights Reserved.