orc.runtime.sites.core
Class If

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.sites.Site
          extended by orc.runtime.sites.PartialSite
              extended by orc.runtime.sites.core.If
All Implemented Interfaces:
Callable, Future

public class If
extends PartialSite

Author:
dkitchin

Constructor Summary
If()
           
 
Method Summary
 Value evaluate(Args args)
           
 
Methods inherited from class orc.runtime.sites.PartialSite
callSite
 
Methods inherited from class orc.runtime.sites.Site
accept, createCall
 
Methods inherited from class orc.runtime.values.Value
forceArg, forceCall, head, isCons, isNil, isNone, isSome, signal, tail, untag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

If

public If()
Method Detail

evaluate

public Value evaluate(Args args)
               throws TokenException
Specified by:
evaluate in class PartialSite
Throws:
TokenException