de.upb.hni.vmagic.expression
Class Add

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

public class Add
extends AddingExpression

Add expression.


Constructor Summary
Add(Expression left, Expression right)
          Creates a new add 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

Add

public Add(Expression left,
           Expression right)
Creates a new add 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