fmrisc.Semantics
Class TypeTableEntry

java.lang.Object
  extended byfmrisc.Semantics.SymbolTableEntryBase
      extended byfmrisc.Semantics.TypeTableEntry
All Implemented Interfaces:
SymbolTableEntry

public final class TypeTableEntry
extends SymbolTableEntryBase

Entries in TypeTable.


Constructor Summary
TypeTableEntry(TypeDeclIdentifier ident)
          construct type table entry from ident (type is set to null)
 
Method Summary
 Type getType()
          return type of entry
 TypeDeclIdentifier getTypeDeclIdentifier()
          return identifier of entry
 void setType(Type type)
          set type 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

TypeTableEntry

public TypeTableEntry(TypeDeclIdentifier ident)
construct type table entry from ident (type is set to null)

Parameters:
ident - the identifier of the entry
Method Detail

getTypeDeclIdentifier

public TypeDeclIdentifier getTypeDeclIdentifier()
return identifier of entry

Returns:
the entry identifier

getType

public Type getType()
return type of entry

Returns:
the entry type

setType

public void setType(Type type)
set type of entry

Parameters:
type - the entry type