cetus.hir
Interface Loop

All Known Implementing Classes:
DoLoop, ForLoop, WhileLoop

public interface Loop

Any class implementing this interface has the properties of a loop.


Method Summary
 Statement getBody()
          Returns the statement that is the body of the loop.
 Expression getCondition()
          Returns the expression that determines the duration of the loop.
 

Method Detail

getBody

Statement getBody()
Returns the statement that is the body of the loop.

Returns:
the body of the loop.

getCondition

Expression getCondition()
Returns the expression that determines the duration of the loop.

Returns:
the condition that is tested each iteration.