KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > ast > TopLevelDecl


1 package polyglot.ast;
2
3 import polyglot.types.Flags;
4 import polyglot.types.Named;
5
6 /**
7  * A top-level declaration. This is any declaration that can appear in the
8  * outermost scope of a source file.
9  */

10 public interface TopLevelDecl extends Node
11 {
12     /** The declaration's flags. */
13     Flags flags();
14
15     /** The declaration's name. */
16     String JavaDoc name();
17
18     /** The type object being declared. */
19     Named declaration();
20 }
21
Popular Tags