|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfmrisc.Semantics.SymbolTableEntryBase
fmrisc.Semantics.ValueTableEntry
Entries in ValueTable.
Constructor Summary | |
ValueTableEntry(ValueDeclIdentifier ident)
construct value table entry from ident type and value are both null |
Method Summary | |
int |
getDepth()
return environment depth of entry |
Type |
getType()
return type of entry |
Expression |
getValue()
return value of entry |
ValueDeclIdentifier |
getValueDeclIdentifier()
return identifier of entry |
int |
getVarNumber()
return variable number of entry |
void |
instantiate(ValueTableEntry entry)
instantiate entry with copy of denoted entry the identifier is *not* copied from the denoted entry |
void |
setDepth(int depth)
set environment depth of entry |
void |
setType(Type type)
set type of entry |
void |
setValue(Expression value)
set value of entry |
void |
setVarNumber(int varNumber)
set variable number of entry |
Methods inherited from class fmrisc.Semantics.SymbolTableEntryBase |
getIdentifier |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ValueTableEntry(ValueDeclIdentifier ident)
Method Detail |
public ValueDeclIdentifier getValueDeclIdentifier()
public Type getType()
public Expression getValue()
public int getDepth()
public int getVarNumber()
public void setType(Type type)
type
- the entry typepublic void setValue(Expression value)
value
- the entry valuepublic void setDepth(int depth)
depth
- the entry environment depthpublic void setVarNumber(int varNumber)
varNumber
- variable number of entrypublic void instantiate(ValueTableEntry entry)
entry
- the entry from which the instantiation is derived
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |