All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.pmd.lang.java.ast.ASTTopLevelDeclaration Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show 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 { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy