edu.ksu.cis.projects.bogor.ast.transform
Class ExpBindingResolver

java.lang.Object
  extended by edu.ksu.cis.projects.bogor.ast.transform.ExpBindingResolver

public class ExpBindingResolver
extends Object

Hierarchical table to resolve the bindings used in let constructs.

Version:
CVS $Revision: 1.3 $ $Date: 2005/01/29 18:36:58 $
Author:
Matt Hoosier

Constructor Summary
ExpBindingResolver()
          Creates with no parent context for resolving bound IDs.
ExpBindingResolver(ExpBindingResolver parent)
          Creates with parent.
 
Method Summary
 void addResolution(String boundId, Exp computedResultExp)
           
 boolean containsResolution(String boundId)
           
 Exp getResolution(String boundId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpBindingResolver

public ExpBindingResolver()
Creates with no parent context for resolving bound IDs.


ExpBindingResolver

public ExpBindingResolver(ExpBindingResolver parent)
Creates with parent.

Method Detail

addResolution

public void addResolution(String boundId,
                          Exp computedResultExp)

containsResolution

public boolean containsResolution(String boundId)

getResolution

public Exp getResolution(String boundId)