|
Specification |
Technical data |
DelphiCodeToDoc is divided in four parts : the parser, the
extractor, the structure builder, and the generator. |
|
|
Parser |
|
It parses Pascal Object source code in TreeNodes and Tokens.
The parser is from JediCodeFormat
project. It is modified at the minimum to easily import correction
and modification from the original version (mainly bug fixes).
Thanks Anthony Steele for his approval to use part
of his source code.
I'm also a contributor of JediCodeFormat project. |
|
|
|
Extractor |
|
Formatted comments are extract from the parsed result and
link with the structure. Supported comment styles are JavaDoc
and direct comments, but it's easy to add another format based
on tags. |
|
|
|
Structure builder |
|
The builder analyze the parsed result and build a structured
tree with information about units, class, members ... all
source code components. |
|
|
|
Generator |
|
It builds the formatted output. Supported output style are
only TeXT and HTML for the moment, but it is easy to generate
other format, because of the Generator abstract base class. |
|
|
|