KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ast > Do


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

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