de.upb.hni.vmagic.type
Class UnconstrainedArray

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.type.Type
          extended by de.upb.hni.vmagic.type.ArrayType
              extended by de.upb.hni.vmagic.type.UnconstrainedArray
All Implemented Interfaces:
BlockDeclarativeItem, DeclarativeItemMarker, EntityDeclarativeItem, PackageBodyDeclarativeItem, PackageDeclarativeItem, ProcessDeclarativeItem, SubprogramDeclarativeItem, NamedEntity, SubtypeIndication

public class UnconstrainedArray
extends ArrayType

Unconstrained array.


Constructor Summary
UnconstrainedArray(java.lang.String identifier, SubtypeIndication elementType, java.util.List<SubtypeIndication> indexSubtypes)
          Creates an unconstrained array.
UnconstrainedArray(java.lang.String identifier, SubtypeIndication elementType, SubtypeIndication... indexSubtypes)
          Creates an unconstrained array.
 
Method Summary
 java.util.List<SubtypeIndication> getIndexSubtypes()
          Returns the index subtypes.
 
Methods inherited from class de.upb.hni.vmagic.type.ArrayType
getElementType, setElementType
 
Methods inherited from class de.upb.hni.vmagic.type.Type
getIdentifier, setIdentifier
 
Methods inherited from class de.upb.hni.vmagic.VhdlElement
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnconstrainedArray

public UnconstrainedArray(java.lang.String identifier,
                          SubtypeIndication elementType,
                          SubtypeIndication... indexSubtypes)
Creates an unconstrained array.

Parameters:
identifier - the identifier
elementType - the element type
indexSubtypes - the index subtypes

UnconstrainedArray

public UnconstrainedArray(java.lang.String identifier,
                          SubtypeIndication elementType,
                          java.util.List<SubtypeIndication> indexSubtypes)
Creates an unconstrained array.

Parameters:
identifier - the identifier
elementType - the element type
indexSubtypes - the index subtypes
Method Detail

getIndexSubtypes

public java.util.List<SubtypeIndication> getIndexSubtypes()
Returns the index subtypes.

Returns:
a modifiable list of subtype indications