Class SelectorParserImpl
- java.lang.Object
-
- org.apache.qpid.jms.selector.parser.SelectorParserImpl
-
- All Implemented Interfaces:
SelectorParserImplConstants
public class SelectorParserImpl extends Object implements SelectorParserImplConstants
JMS Selector Parser generated by JavaCC Do not edit this .java file directly - it is generated from SelectorParserImpl.jj Edit SelectorParserImpl.jj and rebuild with the 'generate-selector-parser' profile.
-
-
Field Summary
Fields Modifier and Type Field Description Tokenjj_ntNext token.TokentokenCurrent token.SelectorParserImplTokenManagertoken_sourceGenerated Token Manager.-
Fields inherited from interface org.apache.qpid.jms.selector.parser.SelectorParserImplConstants
AND, BETWEEN, BLOCK_COMMENT, DECIMAL_LITERAL, DEFAULT, EOF, ESCAPE, EXPONENT, FALSE, FLOATING_POINT_LITERAL, HEX_LITERAL, ID, IN, IS, LIKE, LINE_COMMENT, NOT, NULL, OCTAL_LITERAL, OR, QUOTED_ID, STRING_LITERAL, tokenImage, TRUE
-
-
Constructor Summary
Constructors Constructor Description SelectorParserImpl(InputStream stream)SelectorParserImpl(InputStream stream, String encoding)SelectorParserImpl(Reader stream)SelectorParserImpl(SelectorParserImplTokenManager tm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionaddExpression()ExpressionandExpression()ExpressioncomparisonExpression()voiddisable_tracing()Disable tracing.voidenable_tracing()Enable tracing.ExpressionequalityExpression()ParseExceptiongenerateParseException()TokengetNextToken()TokengetToken(int index)BooleanExpressionJmsSelector()ConstantExpressionliteral()ExpressionmultExpr()ExpressionorExpression()ExpressionprimaryExpr()voidReInit(InputStream stream)voidReInit(InputStream stream, String encoding)voidReInit(Reader stream)voidReInit(SelectorParserImplTokenManager tm)StringstringLitteral()ExpressionunaryExpr()PropertyExpressionvariable()
-
-
-
Field Detail
-
token_source
public SelectorParserImplTokenManager token_source
Generated Token Manager.
-
token
public Token token
Current token.
-
jj_nt
public Token jj_nt
Next token.
-
-
Constructor Detail
-
SelectorParserImpl
public SelectorParserImpl(InputStream stream)
-
SelectorParserImpl
public SelectorParserImpl(InputStream stream, String encoding)
-
SelectorParserImpl
public SelectorParserImpl(Reader stream)
-
SelectorParserImpl
public SelectorParserImpl(SelectorParserImplTokenManager tm)
-
-
Method Detail
-
JmsSelector
public final BooleanExpression JmsSelector() throws ParseException
- Throws:
ParseException
-
orExpression
public final Expression orExpression() throws ParseException
- Throws:
ParseException
-
andExpression
public final Expression andExpression() throws ParseException
- Throws:
ParseException
-
equalityExpression
public final Expression equalityExpression() throws ParseException
- Throws:
ParseException
-
comparisonExpression
public final Expression comparisonExpression() throws ParseException
- Throws:
ParseException
-
addExpression
public final Expression addExpression() throws ParseException
- Throws:
ParseException
-
multExpr
public final Expression multExpr() throws ParseException
- Throws:
ParseException
-
unaryExpr
public final Expression unaryExpr() throws ParseException
- Throws:
ParseException
-
primaryExpr
public final Expression primaryExpr() throws ParseException
- Throws:
ParseException
-
literal
public final ConstantExpression literal() throws ParseException
- Throws:
ParseException
-
stringLitteral
public final String stringLitteral() throws ParseException
- Throws:
ParseException
-
variable
public final PropertyExpression variable() throws ParseException
- Throws:
ParseException
-
ReInit
public void ReInit(InputStream stream)
-
ReInit
public void ReInit(InputStream stream, String encoding)
-
ReInit
public void ReInit(Reader stream)
-
ReInit
public void ReInit(SelectorParserImplTokenManager tm)
-
getNextToken
public final Token getNextToken()
-
getToken
public final Token getToken(int index)
-
generateParseException
public ParseException generateParseException()
-
enable_tracing
public final void enable_tracing()
Enable tracing.
-
disable_tracing
public final void disable_tracing()
Disable tracing.
-
-