implement parsing of base class from class definition