public class JWhileStatement extends JStatement
Constructor and Description |
---|
JWhileStatement(SourceInfo info,
JExpression testExpr,
JStatement body) |
Modifier and Type | Method and Description |
---|---|
JStatement |
getBody() |
JExpression |
getTestExpr() |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toString
public JWhileStatement(SourceInfo info, JExpression testExpr, JStatement body)
public JStatement getBody()
public JExpression getTestExpr()
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.