de.upb.hni.vmagic.statement
Class IfStatement.ElsifPart

java.lang.Object
  extended by de.upb.hni.vmagic.statement.IfStatement.ElsifPart
Enclosing class:
IfStatement

public class IfStatement.ElsifPart
extends java.lang.Object

Elsif part in an if statement.


Method Summary
 Expression getCondition()
          Returns the condition of this elsif part.
 java.util.List<SequentialStatement> getStatements()
          Returns the statement.
 void setCondition(Expression condition)
          Sets the condition of this elsif part.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCondition

public Expression getCondition()
Returns the condition of this elsif part.

Returns:
the condition

setCondition

public void setCondition(Expression condition)
Sets the condition of this elsif part.

Parameters:
condition - the condition

getStatements

public java.util.List<SequentialStatement> getStatements()
Returns the statement.

Returns:
a modifiable list of sequential statements