gnu.expr
Class NameLookup

java.lang.Object
  extended by gnu.expr.NameLookup

public class NameLookup
extends java.lang.Object

Manages the set of declarations "currently" in scope.


Constructor Summary
NameLookup(Language language)
           
 
Method Summary
 Declaration lookup(java.lang.Object symbol, boolean function)
           
 Declaration lookup(java.lang.Object symbol, int namespace)
           
 boolean pop(Declaration decl)
           
 void pop(ScopeExp exp)
           
 void push(Declaration decl)
           
 void push(ScopeExp exp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameLookup

public NameLookup(Language language)
Method Detail

push

public void push(Declaration decl)

pop

public boolean pop(Declaration decl)

push

public void push(ScopeExp exp)

pop

public void pop(ScopeExp exp)

lookup

public Declaration lookup(java.lang.Object symbol,
                          int namespace)

lookup

public Declaration lookup(java.lang.Object symbol,
                          boolean function)