Interface Expression
-
- All Known Implementing Classes:
And
,CompositeExpression
,Equal
,Greater
,GreaterOrEqual
,Less
,LessOrEqual
,Not
,NotEqual
,Or
public interface Expression
TheExpression
interface is to be implemented by the nodes of the Abstract Syntax Tree produced by theExpressionParser
class.- Since:
- 0.7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
interpret(Version version)
Interprets the expression.
-
-
-
Method Detail
-
interpret
boolean interpret(Version version)
Interprets the expression.- Parameters:
version
- the version to interpret against- Returns:
- the result of the expression interpretation
-
-