KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ast > While


1 package polyglot.ast;
2
3 /**
4  * An immutable representation of a Java language <code>while</code>
5  * statement. It contains a statement to be executed and an expression
6  * to be tested indicating whether to reexecute the statement.
7  */

8 public interface While extends Loop
9 {
10     /** Set the loop condition. */
11     While cond(Expr cond);
12
13     /** Set the loop body. */
14     While body(Stmt body);
15 }
16
Popular Tags