Package com.github.zafarkhaja.semver.expr
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
-
ClassDescriptionExpression for the logical "and" operator.This class implements internal DSL for the SemVer Expressions using fluent interface.A class with static helper methods.Expression for the comparison "equal" operator.The
Expression
interface is to be implemented by the nodes of the Abstract Syntax Tree produced by theExpressionParser
class.A parser for the SemVer Expressions.Expression for the comparison "greater than" operator.Expression for the comparison "greater than or equal to" operator.Expression for the comparison "less than" operator.Expression for the comparison "less than or equal to" operator.A lexer for the SemVer Expressions.This class holds the information about lexemes in the input stream.Valid token types.Thrown during the lexical analysis when an illegal character is encountered.Expression for the logical "negation" operator.Expression for the comparison "not equal" operator.Expression for the logical "or" operator.Thrown when a token of unexpected types is encountered during the parsing.