de.upb.hni.vmagic.expression
Class QualifiedExpression

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

public class QualifiedExpression
extends Primary

Qualified expression.


Constructor Summary
QualifiedExpression(SubtypeIndication type, Aggregate operand)
          Creates a qualified expression.
QualifiedExpression(SubtypeIndication type, Expression operand)
          Creates a qualified expression.
 
Method Summary
 Aggregate getOperand()
          Returns the operand.
 SubtypeIndication getType()
          Returns the type.
 void setOperand(Aggregate operand)
          Sets the operand.
 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

QualifiedExpression

public QualifiedExpression(SubtypeIndication type,
                           Aggregate operand)
Creates a qualified expression.

Parameters:
type - the type
operand - the operand

QualifiedExpression

public QualifiedExpression(SubtypeIndication type,
                           Expression operand)
Creates a qualified expression.

Parameters:
type - the type
operand - the operand
Method Detail

getOperand

public Aggregate getOperand()
Returns the operand.

Returns:
the operand

setOperand

public void setOperand(Aggregate operand)
Sets the operand.

Parameters:
operand - the operand

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