orc.runtime.values
Class PartialValue

java.lang.Object
  extended by orc.runtime.values.PartialValue
All Implemented Interfaces:
Future

public class PartialValue
extends java.lang.Object
implements Future

A Value which depends on some set of potentially unbound variables, which therefore cannot be used in argument position until those variables become bound (because it might leak them).

Author:
dkitchin

Constructor Summary
PartialValue(Value v, java.util.Set<Future> freeset)
           
 
Method Summary
 Value forceArg(Token t)
           
 Callable forceCall(Token t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialValue

public PartialValue(Value v,
                    java.util.Set<Future> freeset)
Method Detail

forceArg

public Value forceArg(Token t)
Specified by:
forceArg in interface Future

forceCall

public Callable forceCall(Token t)
Specified by:
forceCall in interface Future