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 Type
    Method
    Description
    void
    Adds a type declaration to this container.
  • Method Details

    • addTypeDeclaration

      void addTypeDeclaration(TypeDeclaration typeDec)
      Adds a type declaration to this container.
      Parameters:
      typeDec - The new type declaration.