All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- allocate().
Method in class edu.gac.max.mcs388.s2001.compiler_support.RegisterAllocator
-
- deallocate(Register).
Method in class edu.gac.max.mcs388.s2001.compiler_support.RegisterAllocator
-
- deallocateIfYours(Register).
Method in class edu.gac.max.mcs388.s2001.compiler_support.RegisterAllocator
-
- declare(Declaration).
Method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- declare associates some piece of information (the Declaration)
with a ScopedIdentifier in the current scope.
- declare(Declaration).
Method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- declare associates some piece of information (the Declaration)
with a ScopedIdentifier in the current scope.
- declare(Object).
Method in class edu.gac.max.mcs388.s2001.compiler_support.Identifier
-
- enterScope().
Static method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- The static enterScope method serves notice that a new scope is being
entered, nested inside the current scope.
- enterScope().
Static method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- The static enterScope method serves notice that a new scope is being
entered, nested inside the current scope.
- equals(Object).
Method in class edu.gac.max.mcs388.s2001.compiler_support.Register
- The equals method is overriden such that Registers are equal if their
names are equal
- exitScope().
Static method in class edu.gac.max.mcs388.s2001.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.
- exitScope().
Static method in class edu.gac.max.mcs388.s2001.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.
- get(String).
Static method in class edu.gac.max.mcs388.s2001.compiler_support.Identifier
-
- get(String).
Static method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- The static get method provides the only way to obtain a ScopedIdentifier,
since there is no public constructor.
- get(String).
Static method in class edu.gac.max.mcs388.s2001.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.s2001.compiler_support.Identifier
-
- getDeclaration().
Method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- getDeclaration returns the Declaration that is currently in effect.
- getDeclaration().
Method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- getDeclaration returns the Declaration that is currently in effect.
- hashCode().
Method in class edu.gac.max.mcs388.s2001.compiler_support.Register
- The hashCode method is overriden to reflect the name-based equality.
- leavingScope().
Method in interface edu.gac.max.mcs388.s2001.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.
- leavingScope().
Method in interface edu.gac.max.mcs388.s2001.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.
- NotMyRegisterException().
Constructor for class edu.gac.max.mcs388.s2001.compiler_support.NotMyRegisterException
-
- RedeclarationException(String).
Constructor for class edu.gac.max.mcs388.s2001.compiler_support.RedeclarationException
-
- Register(String).
Constructor for class edu.gac.max.mcs388.s2001.compiler_support.Register
- The constructor that takes a single String argument expects it to be
the name of the register, without the $.
- Register(String, int).
Constructor for class edu.gac.max.mcs388.s2001.compiler_support.Register
- The constructor which takes a prefix String and then an integer is
for members of numbered families of registers, e.g.
- RegisterAllocator(String, int).
Constructor for class edu.gac.max.mcs388.s2001.compiler_support.RegisterAllocator
- The RegisterAllocator constructor takes a String prefix argument
that is used for constructing each Register.
- toString().
Method in class edu.gac.max.mcs388.s2001.compiler_support.Identifier
-
- toString().
Method in class edu.gac.max.mcs388.s2001.compiler_support.Register
- The toString conversion (which is automatically invoked if a Regiser
is added to a String) provides the name, inclusive of the $.
- toString().
Method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- toString returns the String that was passed to the get method
- toString().
Method in class edu.gac.max.mcs388.s2001.compiler_support.ScopedIdentifier
- toString returns the String that was passed to the get method