com.pnfsoftware.jeb.core.units.code.java.IJavaDoWhile |
Java AST interface to represent a do-while
loop statement.
A do-while loop is a post-tested loop, that consists of a body and a test predicate.
do body while(predicate)
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IJavaBlock |
getBody()
Get the loop body.
| ||||||||||
abstract IJavaPredicate |
getPredicate()
Get the loop predicate.
| ||||||||||
abstract void |
setBody(IJavaBlock b)
Set the body.
| ||||||||||
abstract void |
setPredicate(IJavaPredicate p)
Set the predicate.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Get the loop predicate.
Set the body. Convenience routine.
b | mandatory body |
---|
Set the predicate. Convenience routine.
p | mandatory predicate |
---|