net.christopherschultz.evaluator.function
Class CallFunction
java.lang.Object
net.christopherschultz.evaluator.StandardFunction
net.christopherschultz.evaluator.function.IJWInvocation
net.christopherschultz.evaluator.function.CallFunction
- All Implemented Interfaces:
- Function
public class CallFunction
- extends IJWInvocation
Assigns a value to a symbolic identifier.
Usage: set(id: String, value: Object)
Returns the value to which the identifier was set.
- Version:
- $Revision: 1.3 $ $Date: 2008-06-20 22:58:48 $
- Author:
- Chris Schultz
CallFunction
public CallFunction()
call
public Object call(EvaluationContext ec,
String functionName,
Object[] arguments)
throws EvaluationException
- Description copied from class:
StandardFunction
- Calls this function with standard argument evaluation semantics.
- Overrides:
call
in class IJWInvocation
- Parameters:
ec
- The EvaluationContext in which this function is being called.functionName
- The name of the function being invoked.arguments
- The argument values to pass to this function.
- Returns:
- The result of the function.
- Throws:
EvaluationException
- If there is an error during function
execution.