org.exolab.jms.selector.parser
Class SelectorParser

java.lang.Object
  |
  +--antlr.Parser
        |
        +--antlr.LLkParser
              |
              +--org.exolab.jms.selector.parser.SelectorParser
All Implemented Interfaces:
SelectorTokenTypes

public synchronized class SelectorParser
extends antlr.LLkParser
implements SelectorTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface org.exolab.jms.selector.parser.SelectorTokenTypes
COMMA, DIVIDE, EOF, EQUAL, EXPONENT, FLOAT_SUFFIX, GE, GT, HEX_DIGIT, IDENT, IDENT_NON_START, IDENT_PART, IDENT_START, LE, LITERAL_and, LITERAL_between, LITERAL_escape, LITERAL_false, LITERAL_in, LITERAL_is, LITERAL_like, LITERAL_not, LITERAL_null, LITERAL_or, LITERAL_true, LPAREN, LT, MINUS, MULTIPLY, NOT_EQUAL, NULL_TREE_LOOKAHEAD, NUM_FLOAT, NUM_INT, PLUS, RPAREN, STRING_LITERAL, UNARY_MINUS, WS
 
Constructor Summary
  SelectorParser(antlr.ParserSharedInputState)
           
  SelectorParser(antlr.TokenBuffer)
           
protected SelectorParser(antlr.TokenBuffer, int)
           
  SelectorParser(antlr.TokenStream)
           
protected SelectorParser(antlr.TokenStream, int)
           
 
Method Summary
 void andExpression()
           
 void betweenExpression(SelectorAST)
           
 void booleanExpression(SelectorAST)
           
protected  void buildTokenTypeASTClassMap()
           
 void comparisonExpression(SelectorAST)
           
 void expression()
           
 void inExpression(SelectorAST)
           
 void initialise()
           
 void isExpression(SelectorAST)
           
 void likeExpression(SelectorAST)
           
 void literal()
           
 void notExpression()
           
 void orExpression()
           
 void productExpression()
           
 void selector()
           
 void sumExpression()
           
 void term()
           
 void unaryExpression()
           
 void valueList()
           
 
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
Constructor Detail

SelectorParser

protected SelectorParser(antlr.TokenBuffer,
                         int)

SelectorParser

public SelectorParser(antlr.TokenBuffer)

SelectorParser

protected SelectorParser(antlr.TokenStream,
                         int)

SelectorParser

public SelectorParser(antlr.TokenStream)

SelectorParser

public SelectorParser(antlr.ParserSharedInputState)
Method Detail

initialise

public void initialise()

selector

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

orExpression

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

andExpression

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

notExpression

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

expression

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

sumExpression

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

booleanExpression

public final void booleanExpression(SelectorAST)
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException

comparisonExpression

public final void comparisonExpression(SelectorAST)
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException

productExpression

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

unaryExpression

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

term

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

literal

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

isExpression

public final void isExpression(SelectorAST)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException

betweenExpression

public final void betweenExpression(SelectorAST)
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException

likeExpression

public final void likeExpression(SelectorAST)
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException

inExpression

public final void inExpression(SelectorAST)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException

valueList

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

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.