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 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 state)
           
  SelectorParser(antlr.TokenBuffer tokenBuf)
           
protected SelectorParser(antlr.TokenBuffer tokenBuf, int k)
           
  SelectorParser(antlr.TokenStream lexer)
           
protected SelectorParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void andExpression()
           
 void betweenExpression(SelectorAST lhs)
           
 void booleanExpression(SelectorAST lhs)
           
protected  void buildTokenTypeASTClassMap()
           
 void comparisonExpression(SelectorAST lhs)
           
 void expression()
           
 void inExpression(SelectorAST lhs)
           
 void initialise()
           
 void isExpression(SelectorAST lhs)
           
 void likeExpression(SelectorAST lhs)
           
 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 tokenBuf,
                         int k)

SelectorParser

public SelectorParser(antlr.TokenBuffer tokenBuf)

SelectorParser

protected SelectorParser(antlr.TokenStream lexer,
                         int k)

SelectorParser

public SelectorParser(antlr.TokenStream lexer)

SelectorParser

public SelectorParser(antlr.ParserSharedInputState state)
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 lhs)
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException

comparisonExpression

public final void comparisonExpression(SelectorAST lhs)
                                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 lhs)
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException

betweenExpression

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

likeExpression

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

inExpression

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

valueList

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

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()


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