antlraux.context.types
Class AttributeType
java.lang.Object
|
+--antlraux.context.types.CommonType
|
+--antlraux.context.types.DeclaredType
|
+--antlraux.context.types.AttributeType
- All Implemented Interfaces:
- ClassMemberType, ModifiedType, Type
- public class AttributeType
- extends DeclaredType
- implements ClassMemberType
This is a basic implementation of a class' attribute.
Field Summary |
protected Type |
classType
The class that holds the attribute |
protected Type |
type
The attribute's type |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected Type type
- The attribute's type
classType
protected Type classType
- The class that holds the attribute
AttributeType
public AttributeType(int tag,
java.lang.String name,
Type type,
ClassType classType)
setType
public void setType(Type t)
getType
public Type getType()
setClassType
public void setClassType(Type classType)
- Specified by:
setClassType
in interface ClassMemberType
getClassType
public Type getClassType()
- Specified by:
getClassType
in interface ClassMemberType
toString
public java.lang.String toString()
- Specified by:
toString
in interface Type
- Overrides:
toString
in class DeclaredType
Created by Enrique José García Cota