xacute.quilt
Class Environment

java.lang.Object
  |
  +--xacute.quilt.Environment
All Implemented Interfaces:
java.lang.Cloneable

public class Environment
extends java.lang.Object
implements java.lang.Cloneable


Method Summary
 java.lang.Object clone()
           
 FunDef getFunValue(java.lang.String funName)
           
 Value getValue(java.lang.String name)
           
 boolean isBoundFun(java.lang.String funName)
           
 boolean isBoundVar(java.lang.String name)
          Methods used to manage the evaluation environment per se.
 void rmBinding(java.lang.String name)
           
 void rmBindings(Binding[] bindings)
           
 void setBindings(Binding[] bindings, BindingTreePath path)
           
 void setFunValue(java.lang.String funName, FunDef funDef)
           
 void setValue(java.lang.String name, Value value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

isBoundVar

public boolean isBoundVar(java.lang.String name)
Methods used to manage the evaluation environment per se.

isBoundFun

public boolean isBoundFun(java.lang.String funName)

setValue

public void setValue(java.lang.String name,
                     Value value)

setFunValue

public void setFunValue(java.lang.String funName,
                        FunDef funDef)

getValue

public Value getValue(java.lang.String name)

getFunValue

public FunDef getFunValue(java.lang.String funName)

rmBinding

public void rmBinding(java.lang.String name)

setBindings

public void setBindings(Binding[] bindings,
                        BindingTreePath path)

rmBindings

public void rmBindings(Binding[] bindings)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object