es.uned.compiler.semantic.symbol
Interface SymbolIF

All Known Implementing Classes:
SymbolBase, SymbolConstant, SymbolFunction, SymbolParameter, SymbolProcedure, SymbolVariable

public interface SymbolIF

Interfaz de la que hereda SymbolBase. Todos los símbolos de la tabla de símbolos han de implementarla, heredando de SymbolBase.


Method Summary
 java.lang.String getName()
          Returns the name.
 ScopeIF getScope()
          Returns the scope.
 TypeIF getType()
          Returns the type.
 void setName(java.lang.String key)
          Sets The name.
 void setScope(ScopeIF scope)
          Sets The scope.
 void setType(TypeIF type)
          Sets The type.
 

Method Detail

getName

java.lang.String getName()
Returns the name.

Returns:
Returns the name.

getScope

ScopeIF getScope()
Returns the scope.

Returns:
Returns the scope.

getType

TypeIF getType()
Returns the type.

Returns:
Returns the type.

setName

void setName(java.lang.String key)
Sets The name.

Parameters:
name - The name to set.

setScope

void setScope(ScopeIF scope)
Sets The scope.

Parameters:
scope - The scope to set.

setType

void setType(TypeIF type)
Sets The type.

Parameters:
type - The type to set.