Interface Expression

All Known Implementing Classes:
And, CompositeExpression, Equal, Greater, GreaterOrEqual, Less, LessOrEqual, Not, NotEqual, Or

public interface Expression
The Expression interface is to be implemented by the nodes of the Abstract Syntax Tree produced by the ExpressionParser class.
Since:
0.7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    interpret(Version version)
    Interprets the expression.
  • Method Details

    • interpret

      boolean interpret(Version version)
      Interprets the expression.
      Parameters:
      version - the version to interpret against
      Returns:
      the result of the expression interpretation