Interface IExpression<V extends IValue>
- All Superinterfaces:
IVariable<V>
,IVariableInvalidateListener
- All Known Implementing Classes:
LazyExpression
Generic expression that can evaluate expressions with variables to a value.
-
Method Summary
Methods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IVariable
addInvalidationListener, getType, getValue
Methods inherited from interface org.cyclops.integrateddynamics.api.evaluate.variable.IVariableInvalidateListener
invalidate
-
Method Details
-
evaluate
- Returns:
- The current evaluation result of the input variables.
- Throws:
EvaluationException
- When something went wrong while evaluating.
-
hasErrored
boolean hasErrored()- Returns:
- If this expression last evaluation resulted in an error.
-