java.lang.Object
org.yamcs.ui.packetviewer.filter.FilterParser
- All Implemented Interfaces:
FilterParserConstants
-
Field Summary
FieldsModifier 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
ConstructorsConstructorDescriptionFilterParser(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 AndExpressionand()final Comparisonfinal OrExpressionfinal voidDisable tracing.final voidEnable tracing.final OrExpressionexpr()Generate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final Stringliteral()final Operatorop()final OrExpressionor()final StringvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final UnaryExpressionunary()
-
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.
-