net.sf.imageCave.database
Class DataQueryParser

java.lang.Object
  |
  +--antlr.Parser
        |
        +--antlr.LLkParser
              |
              +--net.sf.imageCave.database.DataQueryParser
All Implemented Interfaces:
DataQueryTokenTypes

public class DataQueryParser
extends antlr.LLkParser
implements DataQueryTokenTypes


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
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface net.sf.imageCave.database.DataQueryTokenTypes
AND, CONDITION, CPARAN, DIGIT, DQ_IDENTIFIER, EOF, EQ, ESCAPE, EXPRESSION, GEQ, GT, IDENTIFIER, LEQ, LITERAL, LT, ML_COMMENT, NEQ, NULL_TREE_LOOKAHEAD, OPARAN, OR, SEMI, STATEMENT, WS
 
Constructor Summary
  DataQueryParser(antlr.ParserSharedInputState state)
           
  DataQueryParser(antlr.TokenBuffer tokenBuf)
           
protected DataQueryParser(antlr.TokenBuffer tokenBuf, int k)
           
  DataQueryParser(antlr.TokenStream lexer)
           
protected DataQueryParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
protected  void buildTokenTypeASTClassMap()
           
 void comparison_expression()
           
 void comparison_op()
           
 void condition()
           
 void expression()
           
 void identifier()
           
 void startRule()
           
 void statement()
           
 
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, 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

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

DataQueryParser

protected DataQueryParser(antlr.TokenBuffer tokenBuf,
                          int k)

DataQueryParser

public DataQueryParser(antlr.TokenBuffer tokenBuf)

DataQueryParser

protected DataQueryParser(antlr.TokenStream lexer,
                          int k)

DataQueryParser

public DataQueryParser(antlr.TokenStream lexer)

DataQueryParser

public DataQueryParser(antlr.ParserSharedInputState state)
Method Detail

startRule

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

statement

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

condition

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

expression

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

comparison_op

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

identifier

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

comparison_expression

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

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()


Copyright 2004 Brian Lund, Justin Rasmussen, & Stuart Tett. All Rights Reserved.