[fpc-devel] passrc parser and published property accessors

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Aug 13 15:22:53 CEST 2010


Hi,

It seems that passrc parser doesn't populate the ReadAccessorName and
WriteAccessorName correctly on published properties. eg: where a property
was defined in a base class, and visibility simply bumped to published in a
descendant class.


  TButton = class(TBaseButton)
  published
    property ImageName;
  end;


With a result, the fpdoc documentation for TButton (in the linear writers
at least) don't have Read or Write accessor information for
TButton.ImageName property.

Should the population of TPasProperty.[Read|Write]AccessorName be populated
in the parser, or should fpdoc manage this itself, by trying to find the
parent class with that property?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list