net.sourceforge.pmd.lang.java.ast.ASTTopLevelDeclaration Maven / Gradle / Ivy
The newest version!
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.java.ast;
/**
* Marker interface for nodes that can appear on the top-level of a file.
* In these contexts, they are children of the {@link ASTCompilationUnit CompilationUnit}
* node. Note that both {@link ASTTypeDeclaration TypeDeclaration}
* and {@link ASTEmptyDeclaration EmptyDeclaration} can appear also in
* a {@linkplain ASTTypeBody type body}.
*
*
*
* BodyDeclaration ::= {@link ASTTypeDeclaration TypeDeclaration}
* | {@link ASTImportDeclaration ImportDeclaration}
* | {@link ASTPackageDeclaration PackageDeclaration}
* | {@link ASTEmptyDeclaration EmptyDeclaration}
*
*
*/
public interface ASTTopLevelDeclaration extends JavaNode {
}