orc.runtime.sites.core
Class Datatype

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.sites.Site
          extended by orc.runtime.sites.EvalSite
              extended by orc.runtime.sites.core.Datatype
All Implemented Interfaces:
Callable

public class Datatype
extends EvalSite

For each string argument, creates a datatype constructor site; the string is used as a label for printing and debugging. Returns these sites as a tuple.

Author:
dkitchin

Field Summary
 
Fields inherited from class orc.runtime.values.Value
futureNotReady
 
Constructor Summary
Datatype()
           
 
Method Summary
 java.lang.Object evaluate(Args args)
           
 Type type()
           
 
Methods inherited from class orc.runtime.sites.EvalSite
callSite
 
Methods inherited from class orc.runtime.sites.Site
accept, createCall
 
Methods inherited from class orc.runtime.values.Value
forceArg, forceCall, signal, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Datatype

public Datatype()
Method Detail

evaluate

public java.lang.Object evaluate(Args args)
                          throws TokenException
Specified by:
evaluate in class EvalSite
Throws:
TokenException

type

public Type type()
Overrides:
type in class Site