parsers for class, entity and enum