scale.clef.type
Class CompositeType
java.lang.Object
|
+--scale.common.Root
|
+--scale.clef.Node
|
+--scale.clef.type.Type
|
+--scale.clef.type.CompositeType
- All Implemented Interfaces:
- AnnotationInterface, DisplayNode, java.io.Serializable
- Direct Known Subclasses:
- AggregateType, ArrayType
- public abstract class CompositeType
- extends Type
This is the abstract class for types that are composed of multiple instances of other types such as arrays and structures.
$Id: CompositeType.java,v 1.23 2002/01/03 21:44:11 burrill Exp $
Copyright 2002 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.
- See Also:
- Serialized Form
|
Method Summary |
boolean |
isCompositeType()
Return true if type represents a composite type. |
void |
visit(Predicate p)
The visit() method is used to implement a visit 'pattern'. |
| Methods inherited from class scale.clef.type.Type |
alignment, equivalent, finalize, getCompleteType, getCoreType, getDisplayColorHint, getDisplayShapeHint, getDisplayText, getPointedTo, getTag, getType, isAddressType, isAggregateType, isArrayType, isAtomicType, isAttributeSet, isComplexType, isConst, isIntegerType, isNamedType, isNumericType, isPointerType, isRealType, isSigned, isVoidType, isVolatile, memorySize, nextVisit, number, setTag, setVisited, toString, toStringShort, visited |
| Methods inherited from class scale.common.Root |
addAnnotation, allAnnotations, allMatchingAnnotations, getAnnotation, getDisplayName, getDisplayString, getNodeCount, getNodeID, hasAnnotation, hasEqualAnnotation, hashCode, removeAnnotation, removeAnnotations, toStringAnnotations, toStringClass |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, notify, notifyAll, wait, wait, wait |
CompositeType
public CompositeType()
visit
public void visit(Predicate p)
- Description copied from class:
Node
- The visit() method is used to implement a visit 'pattern'.
- Overrides:
visit in class Type
isCompositeType
public boolean isCompositeType()
- Return true if type represents a composite type.
- Overrides:
isCompositeType in class Type