Class EnumDeclaration

All Implemented Interfaces:
ASTNode, TypeDeclaration, TypeDeclarationContainer

public class EnumDeclaration extends AbstractTypeDeclarationNode
Represents an enum declaration.
Version:
1.0
  • Constructor Details

    • EnumDeclaration

      public EnumDeclaration(Scanner s, int offs, String name)
  • Method Details

    • getTypeString

      public String getTypeString()
      Description copied from interface: TypeDeclaration
      Returns the type of this type declaration, as a string.
      Returns:
      The type.