mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 04:48:07 +02:00
* Some small improvements from Andrey Sobol: better specialization declaration in markdown, write more detailed end log
git-svn-id: trunk@48489 -
This commit is contained in:
parent
b4a1c27c58
commit
f128e64ccb
@ -1473,12 +1473,19 @@ begin
|
||||
if aEL.ExternalName<>'' then
|
||||
aLine:=aLine+' external name '''+ael.ExternalName+'''';
|
||||
if Assigned(aEL.AncestorType) then
|
||||
if (aEL.AncestorType is TPasSpecializeType) then
|
||||
begin
|
||||
aLine:=aLine+' ('+ael.AncestorType.Name;
|
||||
if Assigned(ael.Interfaces) and (aEl.Interfaces.Count>0) then
|
||||
For I:=0 to aEl.Interfaces.Count-1 do
|
||||
aLine:=aLine+', '+TPasElement(aEl.Interfaces[i]).Name;
|
||||
aLine:=aLine+')';
|
||||
aLine:=aLine+'(specialize ';
|
||||
aLine:=aLine+ TPasSpecializeType(aEL.AncestorType).DestType.Name;
|
||||
aLine:=aLine+ '<,>)';
|
||||
end
|
||||
else
|
||||
begin
|
||||
aLine:=aLine+' ('+ael.AncestorType.Name;
|
||||
if Assigned(ael.Interfaces) and (aEl.Interfaces.Count>0) then
|
||||
For I:=0 to aEl.Interfaces.Count-1 do
|
||||
aLine:=aLine+', '+TPasElement(aEl.Interfaces[i]).Name;
|
||||
aLine:=aLine+')';
|
||||
end;
|
||||
if Assigned(aEl.GUIDExpr) then
|
||||
aLine:=aLine+' ['+aEl.GUIDExpr.GetDeclaration(True)+']';
|
||||
|
@ -1621,7 +1621,7 @@ end;
|
||||
|
||||
procedure TFPDocWriter.OutputResults();
|
||||
begin
|
||||
DoLog('Documentation process finished.');
|
||||
DoLog('Package: %s - Documentation process finished.', [FPackage.Name]);
|
||||
end;
|
||||
|
||||
function TFPDocWriter.ConvertExtShort(AContext: TPasElement;
|
||||
|
Loading…
Reference in New Issue
Block a user