de.upb.hni.vmagic.expression
Class TypeConversion

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.TypeConversion
All Implemented Interfaces:
Choice

public class TypeConversion
extends Primary

Type conversion expression.


Constructor Summary
TypeConversion(SubtypeIndication type, Expression epxression)
          Creates a type conversion.
 
Method Summary
 Expression getEpxression()
          Returns the converted expression.
 SubtypeIndication getType()
          Returns the type.
 void setEpxression(Expression epxression)
          Sets the converted expression.
 void setType(SubtypeIndication type)
          Sets 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

TypeConversion

public TypeConversion(SubtypeIndication type,
                      Expression epxression)
Creates a type conversion.

Parameters:
type - the type
epxression - the converted expression
Method Detail

getEpxression

public Expression getEpxression()
Returns the converted expression.

Returns:
the expression

setEpxression

public void setEpxression(Expression epxression)
Sets the converted expression.

Parameters:
epxression - the expression

getType

public SubtypeIndication getType()
Returns the type.

Specified by:
getType in class Expression
Returns:
the type

setType

public void setType(SubtypeIndication type)
Sets the type

Parameters:
type - the type