Interface Expression

All Known Implementing Classes:
CompositeExpression

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
Author:
Zafar Khaja <zafarkhaja@gmail.com>
  • 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