Package org.yamcs.ui.packetviewer.filter
Class FilterParser
java.lang.Object
org.yamcs.ui.packetviewer.filter.FilterParser
- All Implemented Interfaces:
FilterParserConstants
-
Field Summary
Modifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface org.yamcs.ui.packetviewer.filter.FilterParserConstants
_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 Summary
ConstructorDescriptionFilterParser
(InputStream stream) Constructor with InputStream.FilterParser
(InputStream stream, String encoding) Constructor with InputStream and supplied encodingFilterParser
(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal AndExpression
and()
final Comparison
final OrExpression
final void
Disable tracing.final void
Enable tracing.final OrExpression
expr()
Generate ParseException.final Token
Get the next Token.final Token
getToken
(int index) Get the specific Token.final String
literal()
final Operator
op()
final OrExpression
or()
final String
void
ReInit
(InputStream stream) Reinitialise.void
ReInit
(InputStream stream, String encoding) Reinitialise.void
Reinitialise.void
Reinitialise.final UnaryExpression
unary()
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
FilterParser
Constructor with InputStream. -
FilterParser
Constructor with InputStream and supplied encoding -
FilterParser
Constructor. -
FilterParser
Constructor with generated Token Manager.
-
-
Method Details
-
compileExpression
- Throws:
ParseException
-
expr
- Throws:
ParseException
-
or
- Throws:
ParseException
-
and
- Throws:
ParseException
-
unary
- Throws:
ParseException
-
comparison
- Throws:
ParseException
-
reference
- Throws:
ParseException
-
literal
- Throws:
ParseException
-
op
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-