| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Token | |
|---|---|
| orc.lib.str | |
| orc.lib.time | |
| orc.runtime | Runtime for Orc interpreter. | 
| orc.runtime.nodes | Runtime execution 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.sites.java | Wrappers which enable using Java objects and classes as Orc sites. | 
| orc.runtime.values | Representations for Orc types which don't have direct analogues in the host language (Java). | 
| 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(java.lang.Object f)Push a new future onto the environment stack | 
|  Token | Token.enterClosure(Node node,
             Env<java.lang.Object> env,
             Node next)Enter a closure by moving to a new node and environment, and setting the continuation for leaveClosure(). | 
|  Token | Token.fork()Fork a token. | 
|  Token | Token.fork(GroupCell group,
     Region region)Fork a token with a specified group and region. | 
|  Token | Token.leaveClosure()Leave a closure by returning to the continuation set by enterClosure(Node, Env, Node). | 
|  Token | Token.move(Node node)Move to a node node | 
|  Token | Token.setEnv(Env<java.lang.Object> e) | 
|  Token | Token.setGroup(GroupCell group) | 
|  Token | Token.setRegion(Region region)Migrate the token from one region to another. | 
|  Token | Token.setResult(java.lang.Object 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) | 
|  int | Token.compareTo(Token t) | 
|  void | OrcEngine.resume(Token t)Activate a token by adding it to the queue of returning tokens | 
| static void | Kilim.runPausable(Token caller,
            Kilim.PausableCallable<? extends java.lang.Object> thunk)Utility method to run a pausable computation which generates a value for a token. | 
|  void | OrcEngine.tokenError(Token t,
           TokenException problem)A token owned by this engine has encountered an exception. | 
| Uses of Token in orc.runtime.nodes | 
|---|
| Methods in orc.runtime.nodes with parameters of type Token | |
|---|---|
|  void | WithLocation.process(Token t) | 
|  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 token is forked. | 
|  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) | 
|  void | Leave.process(Token t)When executed, relocate this token from its current region to that region's parent. | 
|  void | Return.process(Token t) | 
|  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.regions | 
|---|
| Methods in orc.runtime.regions with parameters of type Token | |
|---|---|
|  void | Region.add(Token t) | 
|  void | Region.close(Token closer) | 
|  void | Region.close(TokenTracer.StoreTrace store,
      Token closer)Used when tracing, to both close the region and trace the "choking" of all tokens within the region. | 
| protected  void | Execution.reallyClose(Token closer) | 
| protected  void | SemiRegion.reallyClose(Token closer) | 
| protected  void | GroupRegion.reallyClose(Token closer) | 
| protected abstract  void | Region.reallyClose(Token closer) | 
|  void | Region.remove(Region r,
       Token closer) | 
|  void | Region.remove(Token closer) | 
| 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 | ThreadedPartialSite.callSite(Args args,
         Token caller) | 
|  void | PartialSite.callSite(Args args,
         Token caller) | 
|  void | KilimSite.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<java.lang.Object> 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 | TryNil.callSite(Args args,
         Token caller) | 
|  void | Error.callSite(Args args,
         Token caller) | 
|  void | IsSome.callSite(Args args,
         Token caller) | 
|  void | TryCons.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.sites.java | 
|---|
| Methods in orc.runtime.sites.java with parameters of type Token | |
|---|---|
|  void | ThreadedObjectProxy.callSite(Args args,
         Token caller) | 
|  void | ObjectProxy.callSite(Args args,
         Token caller) | 
|  void | MethodProxy.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 t,
           java.util.List<java.lang.Object> args,
           Node nextNode) | 
|  void | Callable.createCall(Token caller,
           java.util.List<java.lang.Object> args,
           Node nextNode)Create a call to a callable value | 
| static java.lang.Object | Value.forceArg(java.lang.Object f,
         Token t)Force a value (which may be a future) in argument position. | 
|  java.lang.Object | Future.forceArg(Token t) | 
|  java.lang.Object | PartialValue.forceArg(Token t) | 
|  java.lang.Object | GroupCell.forceArg(Token t) | 
| static Callable | Value.forceCall(java.lang.Object f,
          Token t)Force a value (which may be a future) in call position. | 
|  Callable | Future.forceCall(Token t) | 
|  Callable | PartialValue.forceCall(Token t) | 
|  Callable | GroupCell.forceCall(Token t) | 
|  void | GroupCell.setValue(Token token)This call defines the fundamental behavior of groups: When the value is bound, all subgroups are killed and all waiting tokens are activated. | 
|  void | NilValue.uncons(Token caller) | 
| abstract  void | ListValue.uncons(Token caller) | 
|  void | ListLike.uncons(Token caller)Return the head and tail of a cons-like data structure to a token, or die. | 
|  void | ConsValue.uncons(Token caller) | 
|  void | NilValue.unnil(Token caller) | 
| abstract  void | ListValue.unnil(Token caller) | 
|  void | ListLike.unnil(Token caller)Signal a token if this value is equivalent to nil, or die. | 
|  void | ConsValue.unnil(Token caller) | 
|  void | GroupCell.waitForValue(Token t)Add a token to the waiting queue of this group | 
| 
 | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||