de.upb.hni.vmagic.expression
Class Subtract

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.BinaryExpression
              extended by de.upb.hni.vmagic.expression.AddingExpression
                  extended by de.upb.hni.vmagic.expression.Subtract
All Implemented Interfaces:
Choice

public class Subtract
extends AddingExpression

Subtraction expression.


Constructor Summary
Subtract(Expression left, Expression right)
          Creates a subtract expression.
 
Method Summary
 SubtypeIndication getType()
          Returns the type of this expression.
 
Methods inherited from class de.upb.hni.vmagic.expression.BinaryExpression
getExpressionKind, getLeft, getPrecedence, getRight, setLeft, setRight
 
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

Subtract

public Subtract(Expression left,
                Expression right)
Creates a subtract expression.

Parameters:
left - the left-hand side expression
right - the right-hand side expression
Method Detail

getType

public SubtypeIndication getType()
Description copied from class: Expression
Returns the type of this expression.

Specified by:
getType in class Expression
Returns:
the type of this expression