[fpc-pascal] Group arguments from overloaded functions in fpdoc

Michael Van Canneyt michael at freepascal.org
Thu Jan 5 22:36:17 CET 2012



On Thu, 5 Jan 2012, dhkblaszyk at zeelandnet.nl wrote:

>
>
> When you have overloaded functions, fpdoc will group them on one
> page. The arguments however are listed in two separate arguments
> sections. It would be nice to have the arguments merged in one section.
> I do not know how to display the arguments though (no idea what others
> do like pasdoc or doxygen). Should only the unique arguments be shown
> (perhaps sorted alphabetically?), should there be a table with arguments
> per overloaded function?

It is already a table.

> More importantly, would a patch of this sort
> be approved? Can the authorities comment on this please? ;-)

If you find a nice solution: Of course. Maybe a single table will be more clear.

Function results may be more difficult:

Function A(b) : C;
Function A(d) : E;

But I agree that the current situation is not ideal.

Michael.



More information about the fpc-pascal mailing list