|
||||||||||
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
public abstract class Site
Base class for all sites
Field Summary |
---|
Fields inherited from class orc.runtime.values.Value |
---|
futureNotReady |
Constructor Summary | |
---|---|
Site()
|
Method Summary | ||
---|---|---|
|
accept(Visitor<E> visitor)
|
|
abstract void |
callSite(Args args,
Token caller)
Must be implemented by subclasses to implement the site behavior |
|
void |
createCall(Token callToken,
java.util.List<java.lang.Object> args,
Node nextNode)
Invoked by a Call to invoke a site. |
|
static Type |
type()
|
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 Site()
Method Detail |
---|
public void createCall(Token callToken, java.util.List<java.lang.Object> args, Node nextNode) throws TokenException
createCall
in interface Callable
callToken
- 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
TokenException
Callable.createCall(orc.runtime.Token, java.util.List, orc.runtime.nodes.Node)
public abstract void callSite(Args args, Token caller) throws TokenException
args
- list of argument valuescaller
- where the result should be sent
TokenException
public <E> E accept(Visitor<E> visitor)
accept
in class Value
public static Type type() throws TypeException
TypeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |