public class FilterParser extends Object implements FilterParserConstants
Modifier and Type | Field and Description |
---|---|
Token |
jj_nt
Next token.
|
Token |
token
Current token.
|
FilterParserTokenManager |
token_source
Generated Token Manager.
|
AND, BETWEEN, COMMA, DECIMAL_LITERAL, DEFAULT, DIGIT, DIV, EOF, EQ, ESCAPE, EXPONENT, FALSE, FLOATING_POINT_LITERAL, GE, GT, HEX_LITERAL, IDENTIFIER, IN, INTEGER_LITERAL, IS, LE, LETTER, LIKE, LPAREN, LT, MINUS, MULT, NE, NOT, NULL, OCTAL_LITERAL, OR, PLUS, RPAREN, SEMICOLON, SIMPLE_STRING, tokenImage, TRUE
Constructor and Description |
---|
FilterParser() |
FilterParser(FilterParserTokenManager tm)
Constructor with generated Token Manager.
|
FilterParser(InputStream stream)
Constructor with InputStream.
|
FilterParser(InputStream stream,
String encoding)
Constructor with InputStream and supplied encoding
|
FilterParser(Reader stream)
Constructor.
|
public FilterParserTokenManager token_source
public Token token
public Token jj_nt
public FilterParser()
public FilterParser(InputStream stream)
public FilterParser(InputStream stream, String encoding)
public FilterParser(Reader stream)
public FilterParser(FilterParserTokenManager tm)
public Object parse(SimpleString selector, Map<SimpleString,Identifier> identifierMap) throws ParseException
ParseException
public Object parse(SimpleString selector, Map<SimpleString,Identifier> identifierMap, boolean trace) throws ParseException
ParseException
public static Object doParse(SimpleString selector, Map<SimpleString,Identifier> identifierMap) throws ParseException
ParseException
public static Object doParse(SimpleString selector, Map<SimpleString,Identifier> identifierMap, boolean trace) throws ParseException
ParseException
public final Object expression() throws ParseException
ParseException
public final Object selectorExpression() throws ParseException
ParseException
public final Object selectorTerm() throws ParseException
ParseException
public final Object selectorFactor() throws ParseException
ParseException
public final Object conditionalExpression() throws ParseException
ParseException
public final Object comparisonExpression() throws ParseException
ParseException
public final void stringList(Set<SimpleString> set) throws ParseException
ParseException
public final void stringToken(Set<SimpleString> set) throws ParseException
ParseException
public final Object patternExpression(Object exp1) throws ParseException
ParseException
public final Object arithExpression() throws ParseException
ParseException
public final Object arithTerm() throws ParseException
ParseException
public final Object arithFactor() throws ParseException
ParseException
public final Object booleanExpression() throws ParseException
ParseException
public final Object booleanLiteral() throws ParseException
ParseException
public final Object stringExpression() throws ParseException
ParseException
public final Object stringLiteral() throws ParseException
ParseException
public final Object numericExpression() throws ParseException
ParseException
public final Object numericLiteral() throws ParseException
ParseException
public final Object identifier() throws ParseException
ParseException
public void ReInit(InputStream stream)
public void ReInit(InputStream stream, String encoding)
public void ReInit(Reader stream)
public void ReInit(FilterParserTokenManager tm)
public final Token getNextToken()
public final Token getToken(int index)
public ParseException generateParseException()
public final boolean trace_enabled()
public final void enable_tracing()
public final void disable_tracing()
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.