de.upb.hni.vmagic.expression
Class FunctionCall

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

public class FunctionCall
extends Primary

Function call.


Constructor Summary
FunctionCall(Function function)
          Creates a function call.
 
Method Summary
 Function getFunction()
          Returns the called function.
 java.util.List<AssociationElement> getParameters()
          Returns the function call parameters.
 SubtypeIndication getType()
          Returns the type of this expression.
 void setFunction(Function function)
          Sets the called function.
 
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

FunctionCall

public FunctionCall(Function function)
Creates a function call.

Parameters:
function - the called function
Method Detail

getFunction

public Function getFunction()
Returns the called function.

Returns:
the calles function

setFunction

public void setFunction(Function function)
Sets the called function.

Parameters:
function - the function

getParameters

public java.util.List<AssociationElement> getParameters()
Returns the function call parameters.

Returns:
a modifiable list of association elements

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