|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeTableIF
Interfaz que ha de seguir la tabla de tipos (TypeTable)
Method Summary | |
---|---|
boolean |
containsType(java.lang.String name)
Indicates whether the type is contained in the type table. |
boolean |
containsType(TypeIF symbol)
Indicates whether the type is contained in the type table. |
ScopeIF |
getScope()
Returns the scope of this Symbol table. |
TypeIF |
getType(java.lang.String name)
Looks up a type by name. |
java.util.List |
getTypes()
Returns the list of types. |
void |
setType(java.lang.String name,
TypeIF type)
Sets a type in the type table. |
void |
setType(TypeIF type)
Sets a type in the type table. |
Method Detail |
---|
boolean containsType(java.lang.String name)
name
- The type name.
boolean containsType(TypeIF symbol)
type
- The type.
ScopeIF getScope()
TypeIF getType(java.lang.String name)
name
- The name of the type.
java.util.List getTypes()
void setType(java.lang.String name, TypeIF type)
name
- the type name.type
- the type.void setType(TypeIF type)
type
- the type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |