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.
|
_ESCAPED_CHAR, _QUOTED_CHAR, _WHITESPACE, AND, CONTAINS, DEFAULT, EOF, EQ, GE, GT, IN_EXPRESSION, LE, LPAREN, LT, MATCHES, NE, NOT, OR, QUOTED, REF, RPAREN, STRING, tokenImage| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
AndExpression |
and() |
Comparison |
comparison() |
OrExpression |
compileExpression() |
void |
disable_tracing()
Disable tracing.
|
void |
enable_tracing()
Enable tracing.
|
OrExpression |
expr() |
ParseException |
generateParseException()
Generate ParseException.
|
Token |
getNextToken()
Get the next Token.
|
Token |
getToken(int index)
Get the specific Token.
|
String |
literal() |
Operator |
op() |
OrExpression |
or() |
String |
reference() |
void |
ReInit(FilterParserTokenManager tm)
Reinitialise.
|
void |
ReInit(InputStream stream)
Reinitialise.
|
void |
ReInit(InputStream stream,
String encoding)
Reinitialise.
|
void |
ReInit(Reader stream)
Reinitialise.
|
UnaryExpression |
unary() |
public FilterParserTokenManager token_source
public Token token
public Token jj_nt
public FilterParser(InputStream stream)
public FilterParser(InputStream stream, String encoding)
public FilterParser(Reader stream)
public FilterParser(FilterParserTokenManager tm)
public final OrExpression compileExpression() throws ParseException
ParseExceptionpublic final OrExpression expr() throws ParseException
ParseExceptionpublic final OrExpression or() throws ParseException
ParseExceptionpublic final AndExpression and() throws ParseException
ParseExceptionpublic final UnaryExpression unary() throws ParseException
ParseExceptionpublic final Comparison comparison() throws ParseException
ParseExceptionpublic final String reference() throws ParseException
ParseExceptionpublic final String literal() throws ParseException
ParseExceptionpublic final Operator op() throws ParseException
ParseExceptionpublic 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 void enable_tracing()
public final void disable_tracing()
Copyright © 2022 Space Applications Services. All rights reserved.