package dk.camelot64.kickc.model.symbols;


import dk.camelot64.kickc.model.Program;
import dk.camelot64.kickc.model.types.SymbolType;
import dk.camelot64.kickc.model.types.SymbolTypeEnum;

public class EnumDefinition extends Scope {

   public EnumDefinition(String name, Scope parentScope) {
      super(name, parentScope, parentScope.getSegmentData());
   }

   @Override
   public SymbolType getType() {
      return new SymbolTypeEnum(this);
   }

   @Override
   public String toString(Program program) {
      return "enum-"+getFullName();
   }


}
