[fpc-devel] passrc parser and published property accessors
Michael Van Canneyt
michael at freepascal.org
Fri Aug 13 15:43:32 CEST 2010
On Fri, 13 Aug 2010, Graeme Geldenhuys wrote:
> 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)
> property ImageName;
> 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?
It should manage this itself.
The parse tree should reflect the actual sources.
More information about the fpc-devel