D E G L S T

D

Declaration - interface edu.gac.max.mcs388.s2003.compiler_support.Declaration.
The Declaration interface specifies what is needed for an object to be registered with the declare method of the ScopedIdentifier class.
declare(Declaration) - Method in class edu.gac.max.mcs388.s2003.compiler_support.ScopedIdentifier
declare associates some piece of information (the Declaration) with a ScopedIdentifier in the current scope.

E

edu.gac.max.mcs388.s2003.compiler_support - package edu.gac.max.mcs388.s2003.compiler_support
 
enterScope() - Static method in class edu.gac.max.mcs388.s2003.compiler_support.ScopedIdentifier
The static enterScope method serves notice that a new scope is being entered, nested inside the current scope.
exitScope() - Static method in class edu.gac.max.mcs388.s2003.compiler_support.ScopedIdentifier
The static exitScope method serves notice that the current scope is being exited, returning to the outer scope it was nested inside.

G

get(String) - Static method in class edu.gac.max.mcs388.s2003.compiler_support.ScopedIdentifier
The static get method provides the only way to obtain a ScopedIdentifier, since there is no public constructor.
getDeclaration() - Method in class edu.gac.max.mcs388.s2003.compiler_support.ScopedIdentifier
getDeclaration returns the Declaration that is currently in effect.

L

leavingScope() - Method in interface edu.gac.max.mcs388.s2003.compiler_support.Declaration
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.

S

ScopedIdentifier - class edu.gac.max.mcs388.s2003.compiler_support.ScopedIdentifier.
The ScopedIdentifier class represents the programming language concept of an identifier, i.e., a name that can have declarations associated with it.

T

toString() - Method in class edu.gac.max.mcs388.s2003.compiler_support.ScopedIdentifier
toString returns the String that was passed to the get method

D E G L S T