KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ast > CodeDecl


1 package polyglot.ast;
2
3 import polyglot.types.ProcedureInstance;
4 import polyglot.types.CodeInstance;
5 import polyglot.types.Flags;
6 import java.util.List JavaDoc;
7
8 /**
9  * A code declaration. A "code" is the supertype of methods,
10  * constructors, and initalizers.
11  */

12 public interface CodeDecl extends ClassMember
13 {
14     /** The body of the method, constructor, or initializer. */
15     Block body();
16
17     /** Set the body. */
18     CodeDecl body(Block body);
19     
20     /** The CodeInstance of the method, constructor, or initializer. */
21     CodeInstance codeInstance();
22 }
23
Popular Tags