Uses of Class
orc.runtime.Token

Packages that use Token
orc.lib.orchard   
orc.lib.str   
orc.lib.time   
orc.runtime Runtime for Orc interpreter. 
orc.runtime.nodes Runtime execution DAG. 
orc.runtime.nodes.result These nodes make up the leaves of the DAG. 
orc.runtime.regions Regions are used to track when some (sub-)computation terminates. 
orc.runtime.sites Abstract base classes for Orc sites plus fundamental sites. 
orc.runtime.sites.core Fundamental sites. 
orc.runtime.values   
 

Uses of Token in orc.lib.orchard
 

Methods in orc.lib.orchard with parameters of type Token
 void Prompt.callSite(Args args, Token caller)
           
 

Uses of Token in orc.lib.str
 

Methods in orc.lib.str with parameters of type Token
 void Print.callSite(Args args, Token caller)
           
 void Println.callSite(Args args, Token caller)
           
 

Uses of Token in orc.lib.time
 

Methods in orc.lib.time with parameters of type Token
 void MakeTimer.callSite(Args args, Token caller)
           
 void Rtimer.callSite(Args args, Token returnToken)
           
 

Uses of Token in orc.runtime
 

Methods in orc.runtime that return Token
 Token Token.bind(Future f)
          Push a new future onto the environment stack
 Token Token.callcopy(Node node, Env<Future> env, Token returnToken)
          Create a copy of this token with the same dynamic characteristics, but executing at a new point in the graph with a different environment.
 Token Token.copy()
          Create a copy of the token
 Token Token.getCaller()
           
 Token OrcEngine.getCurrentToken()
          Provide access to a package static method.
 Token Token.move(Node node)
          Move to a node node
 Token Token.setEnv(Env<Future> e)
           
 Token Token.setGroup(GroupCell group)
           
 Token Token.setRegion(Region region)
           
 Token Token.setResult(Value result)
           
 Token Token.unwind(int width)
          Pop values off of the environment stack.
 

Methods in orc.runtime with parameters of type Token
 void OrcEngine.activate(Token t)
          Activate a token by adding it to the queue of active tokens
 void LogicalClock.addEvent(int time, Token token)
           
 Token Token.callcopy(Node node, Env<Future> env, Token returnToken)
          Create a copy of this token with the same dynamic characteristics, but executing at a new point in the graph with a different environment.
 int Token.compareTo(Token t)
           
 void OrcEngine.resume(Token t)
          Activate a token by adding it to the queue of returning tokens
 void OrcEngine.setCurrentToken(Token caller)
          Provide access to a package static method.
 void OrcEngine.tokenError(Token t, TokenException problem)
          A token owned by this engine has encountered an exception.
 

Constructors in orc.runtime with parameters of type Token
Continuation(Token token)
           
Token(Node node, Env<Future> env, Token caller, GroupCell group, Region region, Value result, OrcEngine engine)
           
 

Uses of Token in orc.runtime.nodes
 

Methods in orc.runtime.nodes with parameters of type Token
 void Store.process(Token t)
          Gets the group of the token and sets its value to be the result of the input token.
 void Semi.process(Token t)
          The input token is activated on the right node, and a copy is activated on the left node.
 void Subgoal.process(Token t)
          Executing a subgoal node creates a new group within the current group.
 void Pub.process(Token t)
           
 void Silent.process(Token t)
           
 void Fork.process(Token t)
          The input token is activated on the right node, and a copy is activated on the left node.
 void Return.process(Token t)
          To execute a return, the caller token and the result of the current execution are identified.
 void Assign.process(Token t)
          When executed, extends the environment with a new binding.
 void Call.process(Token t)
          Looks up the function to be called, then creates a call token using the argument expressions.
 void Defs.process(Token t)
          Creates closures encapsulating the definitions and the defining environment.
 void Unwind.process(Token t)
          When executed, pops the env stack to remove the most recent binding.
abstract  void Node.process(Token t)
          The process method is the fundamental operation in the execution engine.
 void Let.process(Token t)
           
 

Uses of Token in orc.runtime.nodes.result
 

Methods in orc.runtime.nodes.result with parameters of type Token
 void Result.process(Token t)
           
 

Uses of Token in orc.runtime.regions
 

Methods in orc.runtime.regions with parameters of type Token
 void Region.add(Token t)
           
 void Region.remove(Token t)
           
 

Method parameters in orc.runtime.regions with type arguments of type Token
 void Region.putContainedTokens(java.util.Set<Token> acc)
           
 

Constructors in orc.runtime.regions with parameters of type Token
SemiRegion(Region parent, Token t)
           
 

Uses of Token in orc.runtime.sites
 

Methods in orc.runtime.sites with parameters of type Token
 void SimpleSite.callSite(Args args, Token caller)
           
 void PartialSite.callSite(Args args, Token caller)
           
 void ThreadedSite.callSite(Args args, Token caller)
           
abstract  void Site.callSite(Args args, Token caller)
          Must be implemented by subclasses to implement the site behavior
 void EvalSite.callSite(Args args, Token caller)
           
 void Site.createCall(Token callToken, java.util.List<Future> args, Node nextNode)
          Invoked by a Call to invoke a site.
 

Uses of Token in orc.runtime.sites.core
 

Methods in orc.runtime.sites.core with parameters of type Token
 void IsSome.callSite(Args args, Token caller)
           
 void Let.callSite(Args args, Token caller)
          Outputs a single value or creates a tuple.
 void IsNone.callSite(Args args, Token caller)
           
 

Uses of Token in orc.runtime.values
 

Methods in orc.runtime.values with parameters of type Token
 void Closure.createCall(Token callToken, java.util.List<Future> args, Node nextNode)
          To create a call to a closure, a new token is created using the environment in which the closure was defined.
 void Callable.createCall(Token caller, java.util.List<Future> args, Node nextNode)
          Create a call to a callable value
 Value Future.forceArg(Token t)
           
 Value PartialValue.forceArg(Token t)
           
 Value Value.forceArg(Token t)
           
 Value GroupCell.forceArg(Token t)
           
 Callable Constant.forceCall(Token t)
          A Java value used in call position becomes a proxied object.
 Callable Future.forceCall(Token t)
           
 Callable PartialValue.forceCall(Token t)
           
 Callable Value.forceCall(Token t)
           
 Callable GroupCell.forceCall(Token t)
           
 void GroupCell.waitForValue(Token t)
          Add a token to the waiting queue of this group