KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ast > Return


1 package polyglot.ast;
2
3 /**
4  * A <code>Return</code> represents a <code>return</code> statement in Java.
5  * It may or may not return a value. If not <code>expr()</code> should return
6  * null.
7  */

8 public interface Return extends Stmt
9 {
10     /** The expression to return. */
11     Expr expr();
12     /** Set the expression to return. */
13     Return expr(Expr expr);
14 }
15
Popular Tags