Interface TypeDeclarationContainer
- All Known Subinterfaces:
TypeDeclaration
- All Known Implementing Classes:
AbstractTypeDeclarationNode, CompilationUnit, EnumDeclaration, NormalClassDeclaration, NormalInterfaceDeclaration
public interface TypeDeclarationContainer
Interface for tree nodes that can hold type declarations (e.g.
CompilationUnits and TypeDeclarations).- Version:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTypeDeclaration(TypeDeclaration typeDec) Adds a type declaration to this container.
-
Method Details
-
addTypeDeclaration
Adds a type declaration to this container.- Parameters:
typeDec- The new type declaration.
-