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<java.lang.Object> freeset)
           
 
Method Summary
 java.lang.Object 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<java.lang.Object> freeset)
Method Detail

forceArg

public java.lang.Object forceArg(Token t)
Specified by:
forceArg in interface Future

forceCall

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