public class JWhileLoop extends java.lang.Object implements JStatement
Modifier and Type | Field and Description |
---|---|
private JBlock |
body
JBlock of statements which makes up body of this While statement
|
private JExpression |
test
Test part of While statement for determining exit state
|
Constructor and Description |
---|
JWhileLoop(JExpression test)
Construct a While statment
|
Modifier and Type | Method and Description |
---|---|
JBlock |
body() |
void |
state(JFormatter f) |
JExpression |
test() |
private JExpression test
private JBlock body
JWhileLoop(JExpression test)
public JExpression test()
public JBlock body()
public void state(JFormatter f)
state
in interface JStatement