orc.runtime.nodes
Class Def

java.lang.Object
  extended by orc.runtime.nodes.Def

public class Def
extends java.lang.Object

A unit of syntax that encapsulates an expression definition. Groups of mutually recursive definitions are embedded in the execution graph by a Defs node.

Author:
dkitchin

Field Summary
 int arity
           
 Node body
           
 java.util.Set<Var> free
           
 SourceLocation location
           
 
Constructor Summary
Def(int arity, Node body, java.util.Set<Var> free, SourceLocation location)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arity

public int arity

body

public Node body

free

public java.util.Set<Var> free

location

public SourceLocation location
Constructor Detail

Def

public Def(int arity,
           Node body,
           java.util.Set<Var> free,
           SourceLocation location)