gnu.expr

Class 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(Object symbol, boolean function)
Declaration
lookup(Object symbol, int namespace)
boolean
pop(Declaration decl)
void
pop(ScopeExp exp)
void
push(Declaration decl)
void
push(ScopeExp exp)

Constructor Details

NameLookup

public NameLookup(Language language)

Method Details

lookup

public Declaration lookup(Object symbol,
                          boolean function)

lookup

public Declaration lookup(Object symbol,
                          int namespace)

pop

public boolean pop(Declaration decl)

pop

public void pop(ScopeExp exp)

push

public void push(Declaration decl)

push

public void push(ScopeExp exp)