org.omegahat.Environment.Interpreter
Interface DynamicMethodAccessInt
- All Known Implementing Classes:
- AbstractUserClass
- public interface DynamicMethodAccessInt
This is entirely analgous to the interface
DynamicFieldAccessInt.
The only difference between this
and the interface Evaluable is that we have to
specify the name of the method in the In our case -- the
AbstractUserClass
and the evaluation of function/method
via MethodCall
-- we may be able to simplify the code by
retrieving the Method
object for the given name and
evaluate it simply as a method.
|
Method Summary |
java.lang.Object |
invoke(java.lang.String name,
List args,
Evaluator evaluator)
|
java.lang.Object |
invoke(java.lang.String name,
java.lang.Object[] args,
Evaluator evaluator)
|
invoke
public java.lang.Object invoke(java.lang.String name,
java.lang.Object[] args,
Evaluator evaluator)
throws java.lang.Throwable
invoke
public java.lang.Object invoke(java.lang.String name,
List args,
Evaluator evaluator)
throws java.lang.Throwable