2010-02-03 03:29:47 +01:00
|
|
|
package com.metaweb.gridworks.expr;
|
2010-01-27 02:48:42 +01:00
|
|
|
|
|
|
|
import java.util.Properties;
|
|
|
|
|
2010-03-22 01:54:56 +01:00
|
|
|
/**
|
|
|
|
* Interface for evaluable expressions in any arbitrary language.
|
|
|
|
*/
|
2010-01-27 02:48:42 +01:00
|
|
|
public interface Evaluable {
|
2010-03-22 01:54:56 +01:00
|
|
|
/**
|
|
|
|
* Evaluate this expression in the given environment (bindings).
|
|
|
|
*
|
|
|
|
* @param bindings
|
|
|
|
* @return
|
|
|
|
*/
|
2010-03-03 05:19:58 +01:00
|
|
|
public Object evaluate(Properties bindings);
|
2010-01-27 02:48:42 +01:00
|
|
|
}
|