ojb.server.oql
Class OQLParser

java.lang.Object
  |
  +--antlr.Parser
        |
        +--antlr.LLkParser
              |
              +--ojb.server.oql.OQLParser
All Implemented Interfaces:
OQLLexerTokenTypes

public class OQLParser
extends antlr.LLkParser
implements OQLLexerTokenTypes


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_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
           
(package private)  java.lang.Class m_ClassToSearchFrom
           
 
Fields inherited from class antlr.LLkParser
k
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, traceDepth
 
Fields inherited from interface ojb.server.oql.OQLLexerTokenTypes
CharLiteral, CommentLine, EOF, Identifier, LITERAL_and, LITERAL_asc, LITERAL_by, LITERAL_desc, LITERAL_from, LITERAL_like, LITERAL_or, LITERAL_order, LITERAL_select, LITERAL_where, MultiLineComment, NameCharacter, NameFirstCharacter, NewLine, NULL_TREE_LOOKAHEAD, StringLiteral, TOK_APPROXIMATE_NUMERIC_LITERAL, TOK_COLON, TOK_COMMA, TOK_CONCAT, TOK_DOLLAR, TOK_DOT, TOK_DOTDOT, TOK_EQ, TOK_EXACT_NUMERIC_LITERAL, TOK_GE, TOK_GT, TOK_INDIRECT, TOK_LBRACK, TOK_LE, TOK_LPAREN, TOK_LT, TOK_MINUS, TOK_NE, TOK_PLUS, TOK_RBRACK, TOK_RPAREN, TOK_SEMIC, TOK_SLASH, TOK_STAR, TOK_UNSIGNED_INTEGER, WhiteSpace
 
Constructor Summary
  OQLParser(antlr.ParserSharedInputState state)
           
  OQLParser(antlr.TokenBuffer tokenBuf)
           
protected OQLParser(antlr.TokenBuffer tokenBuf, int k)
           
  OQLParser(antlr.TokenStream lexer)
           
protected OQLParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void andExpr(Criteria pCriteria)
           
 Query buildQuery()
           
 void fromClause()
           
static void main(java.lang.String[] args)
          Insert the method's description here.
 void orderClause(Criteria pCriteria)
           
 void orExpr(Criteria pCriteria)
           
 void projection()
           
 void projectionAttributes()
           
 void quantifierExpr(Criteria pCriteria)
           
 Query query()
           
 Criteria selectExpr()
           
 void sortCriterion(Criteria pCriteria)
           
 void whereClause(Criteria pCriteria)
           
 
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, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, 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

m_ClassToSearchFrom

java.lang.Class m_ClassToSearchFrom

_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
Constructor Detail

OQLParser

protected OQLParser(antlr.TokenBuffer tokenBuf,
                    int k)

OQLParser

public OQLParser(antlr.TokenBuffer tokenBuf)

OQLParser

protected OQLParser(antlr.TokenStream lexer,
                    int k)

OQLParser

public OQLParser(antlr.TokenStream lexer)

OQLParser

public OQLParser(antlr.ParserSharedInputState state)
Method Detail

buildQuery

public final Query buildQuery()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException

query

public final Query query()
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException

selectExpr

public final Criteria selectExpr()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException

projectionAttributes

public final void projectionAttributes()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException

fromClause

public final void fromClause()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException

whereClause

public final void whereClause(Criteria pCriteria)
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException

orderClause

public final void orderClause(Criteria pCriteria)
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException

orExpr

public final void orExpr(Criteria pCriteria)
                  throws antlr.RecognitionException,
                         antlr.TokenStreamException

projection

public final void projection()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException

sortCriterion

public final void sortCriterion(Criteria pCriteria)
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException

andExpr

public final void andExpr(Criteria pCriteria)
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException

quantifierExpr

public final void quantifierExpr(Criteria pCriteria)
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException

main

public static void main(java.lang.String[] args)
Insert the method's description here.
Parameters:
args - java.lang.String[]


Authors: Thomas Mahler, David Dixon-Peugh. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.1.120, 2001-05-12