edu.gac.max.mcs388.s2003.compiler_support
Interface Declaration


public interface Declaration

The Declaration interface specifies what is needed for an object to be registered with the declare method of the ScopedIdentifier class. In particular, it provides a callback method that the ScopedIdentifier class expects.


Method Summary
 void leavingScope()
          The leavingScope method is a callback method that the ScopedIdentifier class uses to notfiy the Declaration that the scope in which it was declared is now being exited.
 

Method Detail

leavingScope

public void leavingScope()
The leavingScope method is a callback method that the ScopedIdentifier class uses to notfiy the Declaration that the scope in which it was declared is now being exited.