de.upb.hni.vmagic.literal
Class EnumerationLiteral

java.lang.Object
  extended by de.upb.hni.vmagic.VhdlElement
      extended by de.upb.hni.vmagic.expression.Expression
          extended by de.upb.hni.vmagic.expression.Primary
              extended by de.upb.hni.vmagic.expression.Literal
                  extended by de.upb.hni.vmagic.literal.EnumerationLiteral
All Implemented Interfaces:
Choice

public abstract class EnumerationLiteral
extends Literal

Enumeration literal meta class.


Constructor Summary
EnumerationLiteral(EnumerationType type)
          Creates an enumeration literal.
 
Method Summary
 SubtypeIndication getType()
          Returns the type.
 
Methods inherited from class de.upb.hni.vmagic.expression.Primary
getPrecedence
 
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

EnumerationLiteral

public EnumerationLiteral(EnumerationType type)
Creates an enumeration literal.

Parameters:
type - the enumeration type
Method Detail

getType

public SubtypeIndication getType()
Returns the type.

Specified by:
getType in class Expression
Returns:
the type