In this page, I will explain how to write Inlines comments
for DelphiCodeToDoc in the Delphi environment. You should read
this document before : how to write
JavaDoc comments
Format of an inline Comment
An inline doc comment is a short way to describe a class, field,
constructor or method declaration. It should be used very very
rarely, and only when you think there is no need to detail more.
Example
|
TDOCProject = class
private
FDocOptions : TDOCOptions;
FDocStructure: TDOCStructure;
FFileList: TStringList;
FState : TProjectState;
FisChecked: boolean;
FdmUserMessages: TStrings;
FdmDebugMessages: TStrings;
...
|
Simple Inline
Writting a comment line with double slash ( // ) - or triple slash
( /// ) if define in configuration panel - before a class, field
or method will be processed as a Description
TAG.
End of line Inline
Writting a comment line at the end of a line with double slash
( // ) - or triple slash ( /// ) if define in configuration
panel - before a field (and only a Field) will be processed
as a Description TAG
for the preceding Field.
|