|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.runtime.values.Value
orc.runtime.sites.Site
orc.lib.util.Apply
public class Apply
Apply a callable to a list of arguments. HACK: this is a subclass of site but has slightly different semantics: the callable argument is forced as a call (i.e. free variables in the callable are not forced).
| Field Summary |
|---|
| Fields inherited from class orc.runtime.values.Value |
|---|
futureNotReady |
| Constructor Summary | |
|---|---|
Apply()
|
|
| Method Summary | |
|---|---|
void |
callSite(Args args,
Token caller)
Must be implemented by subclasses to implement the site behavior |
void |
createCall(Token caller,
java.util.List<java.lang.Object> args,
Node nextNode)
Invoked by a Call to invoke a site. |
Type |
type()
|
| Methods inherited from class orc.runtime.sites.Site |
|---|
accept, enterTransaction |
| Methods inherited from class orc.runtime.values.Value |
|---|
forceArg, forceCall, signal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Apply()
| Method Detail |
|---|
public void createCall(Token caller,
java.util.List<java.lang.Object> args,
Node nextNode)
throws TokenException
Site
createCall in interface CallablecreateCall in class Sitecaller - token for which the call is being made: points to the call nodeargs - argument listnextNode - next node after the call node, to which the result should be sent
TokenExceptionCallable.createCall(orc.runtime.Token, java.util.List, orc.runtime.nodes.Node)
public void callSite(Args args,
Token caller)
throws TokenException
Site
callSite in class Siteargs - list of argument valuescaller - where the result should be sent
TokenExceptionpublic Type type()
type in class Site
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||