org.aitools.programd.interpreter
Interface Interpreter

All Known Implementing Classes:
RhinoInterpreter

public interface Interpreter

An Interpreter handles some server-side script.


Method Summary
 java.lang.String evaluate(java.lang.String expression)
          Evaluates a given JavaScript expression for a given userid.
 

Method Detail

evaluate

java.lang.String evaluate(java.lang.String expression)
Evaluates a given JavaScript expression for a given userid.

Parameters:
expression - the expression to evaluate
Returns:
the result of evaluating the expression