de.upb.hni.vmagic.type
Class IntegerType

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.IntegerType
All Implemented Interfaces:
BlockDeclarativeItem, DeclarativeItemMarker, EntityDeclarativeItem, PackageBodyDeclarativeItem, PackageDeclarativeItem, ProcessDeclarativeItem, SubprogramDeclarativeItem, NamedEntity, SubtypeIndication

public class IntegerType
extends Type

Integer type.


Constructor Summary
IntegerType(java.lang.String identifier, RangeProvider range)
          Creates a integer type.
 
Method Summary
 RangeProvider getRange()
          Returns the range of this integer type.
 void setRange(RangeProvider range)
          Sets the range of this integer type.
 
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

IntegerType

public IntegerType(java.lang.String identifier,
                   RangeProvider range)
Creates a integer type.

Parameters:
identifier - the identifier of this type
range - the range of this integer type
Method Detail

getRange

public RangeProvider getRange()
Returns the range of this integer type.

Returns:
the range

setRange

public void setRange(RangeProvider range)
Sets the range of this integer type.

Parameters:
range - the range