Package com.github.zafarkhaja.semver.expr
This package contains classes that implement the SemVer Expressions.
The main class of the package is the
ExpressionParser
class which
parses the specified expressions and returns the Abstract Syntax Tree.- Since:
- 0.7.0
-
Interface Summary Interface Description Expression TheExpression
interface is to be implemented by the nodes of the Abstract Syntax Tree produced by theExpressionParser
class. -
Class Summary Class Description And Expression for the logical "and" operator.CompositeExpression This class implements internal DSL for the SemVer Expressions using fluent interface.CompositeExpression.Helper A class with static helper methods.Equal Expression for the comparison "equal" operator.ExpressionParser A parser for the SemVer Expressions.Greater Expression for the comparison "greater than" operator.GreaterOrEqual Expression for the comparison "greater than or equal to" operator.Less Expression for the comparison "less than" operator.LessOrEqual Expression for the comparison "less than or equal to" operator.Lexer A lexer for the SemVer Expressions.Lexer.Token This class holds the information about lexemes in the input stream.Not Expression for the logical "negation" operator.NotEqual Expression for the comparison "not equal" operator.Or Expression for the logical "or" operator. -
Enum Summary Enum Description Lexer.Token.Type Valid token types. -
Exception Summary Exception Description LexerException Thrown during the lexical analysis when an illegal character is encountered.UnexpectedTokenException Thrown when a token of unexpected types is encountered during the parsing.