de.uni_paderborn.fujaba.codegen
Class OOWhileStatement

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.OOStatement
      extended byde.uni_paderborn.fujaba.codegen.OOWhileStatement

public class OOWhileStatement
extends OOStatement

Class OOWhileStatement

Version:
$Revision: 1.10 $
Author:
$Author: schneider $

Constructor Summary
OOWhileStatement(OOExpression condition, boolean foot)
          Constructor for class OOWhileStatement
 
Method Summary
 OOExpression getCondition()
          Get the value of condition.
 java.lang.String getSourceCode(OOGenVisitor visitor)
          Get the sourceCode attribute of the OOWhileStatement object
 boolean isFoot()
          Get the value of foot.
 java.lang.String toString()
          Describe toString method here.
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.OOStatement
add, add, addAll, addAll, getToken, removeYou, setToken, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OOWhileStatement

public OOWhileStatement(OOExpression condition,
                        boolean foot)
Constructor for class OOWhileStatement

Parameters:
condition - No description provided
foot - No description provided
Method Detail

isFoot

public boolean isFoot()
Get the value of foot.

Returns:
Value of foot.

getCondition

public OOExpression getCondition()
Get the value of condition.

Returns:
Value of condition.

getSourceCode

public java.lang.String getSourceCode(OOGenVisitor visitor)
Get the sourceCode attribute of the OOWhileStatement object

Specified by:
getSourceCode in class OOStatement
Parameters:
visitor - No description provided
Returns:
The sourceCode value

toString

public java.lang.String toString()
Description copied from class: OOStatement
Describe toString method here.

Overrides:
toString in class OOStatement
Returns:
short string representation of current object