Package com.oracle.truffle.api
Interface CallTarget
- All Known Subinterfaces:
RootCallTarget
public interface CallTarget
Represents the target of a call. Do not subclass
CallTarget
directly but implement
RootNode
instead and retrieve its target
via
RootNode.getCallTarget()
.- Since:
- 0.8 or earlier
- See Also:
-
Method Summary
-
Method Details
-
call
Calls this target as a root method.- Parameters:
arguments
- passed arguments as an object array- Returns:
- the return result of the call
- Since:
- 0.8 or earlier
-