KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ast > Labeled


1 package polyglot.ast;
2
3 /**
4  * Am immutable representation of a Java statement with a label. A labeled
5  * statement contains the statement being labeled and a string label.
6  */

7 public interface Labeled extends CompoundStmt
8 {
9     /** The label. */
10     String JavaDoc label();
11     /** Set the label. */
12     Labeled label(String JavaDoc label);
13
14     /** The statement to label. */
15     Stmt statement();
16     /** Set the statement to label. */
17     Labeled statement(Stmt statement);
18 }
19
Popular Tags