ojb.odmg.oql
Class OQLParser
java.lang.Object
|
+--antlr.Parser
|
+--antlr.LLkParser
|
+--ojb.odmg.oql.OQLParser
- All Implemented Interfaces:
- OQLLexerTokenTypes
- public class OQLParser
- extends antlr.LLkParser
- implements OQLLexerTokenTypes
Fields inherited from class antlr.LLkParser |
|
Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, traceDepth |
Fields inherited from interface ojb.odmg.oql.OQLLexerTokenTypes |
CharLiteral, CommentLine, EOF, Identifier, LITERAL_and, LITERAL_asc, LITERAL_between, LITERAL_by, LITERAL_date, LITERAL_desc, LITERAL_distinct, LITERAL_exists, LITERAL_false, LITERAL_from, LITERAL_in, LITERAL_is_defined, LITERAL_is_undefined, LITERAL_like, LITERAL_nil, LITERAL_not, LITERAL_or, LITERAL_order, LITERAL_select, LITERAL_time, LITERAL_timestamp, LITERAL_true, 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_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)
|
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 |
_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
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)
buildQuery
public final Query buildQuery()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
selectQuery
public final Query selectQuery()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
projectionAttributes
public final void projectionAttributes()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
fromClause
public final java.lang.Class fromClause()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
whereClause
public final void whereClause(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
orderClause
public final void orderClause(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
existsQuery
public final Query existsQuery()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
orExpr
public final void orExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
sortCriterion
public final void sortCriterion(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
andExpr
public final void andExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
quantifierExpr
public final void quantifierExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
equalityExpr
public final void equalityExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
existsExpr
public final void existsExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
likeExpr
public final void likeExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
undefinedExpr
public final void undefinedExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
betweenExpr
public final void betweenExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
inExpr
public final void inExpr(Criteria criteria)
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
literal
public final java.lang.Object literal()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
argList
public final java.util.Collection argList()
throws antlr.RecognitionException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException
Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04