orc.ast.oil.arg
Class Arg

java.lang.Object
  extended by orc.ast.oil.Expr
      extended by orc.ast.oil.arg.Arg
Direct Known Subclasses:
Constant, Field, Site, Var

public abstract class Arg
extends Expr


Constructor Summary
Arg()
           
 
Method Summary
 Node compile(Node output)
          Compiles an oil syntax tree into an execution graph.
abstract
<T> T
resolve(Env<T> env)
           
 
Methods inherited from class orc.ast.oil.Expr
accept, addIndices, freeVars, typecheck, typesynth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arg

public Arg()
Method Detail

compile

public Node compile(Node output)
Description copied from class: Expr
Compiles an oil syntax tree into an execution graph. Every node is compiled relative to an "output" node that represents the "rest of the program". Thus the tree of compiled nodes is created bottom up.

Specified by:
compile in class Expr
Parameters:
output - This is the node to which output (publications) will be directed.
Returns:
A new node.

resolve

public abstract <T> T resolve(Env<T> env)
                   throws SiteResolutionException
Throws:
SiteResolutionException