![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Traverses the node tree and dispatches to a handler for documentation generation. More...
#include <documentationtraverser.h>
Public Member Functions | |
| DocumentationTraverser ()=default | |
| void | traverse (Node *root, DocumentationHandler &handler) |
Traverses the node tree and dispatches to a handler for documentation generation.
DocumentationTraverser encapsulates the tree traversal logic that was previously embedded in Generator::generateDocumentation(). It handles:
\list
The actual content generation and file lifecycle are delegated to an DocumentationHandler, enabling different generators to share traversal logic while implementing their own output strategies.
Definition at line 14 of file documentationtraverser.h.
|
default |
| void DocumentationTraverser::traverse | ( | Node * | root, |
| DocumentationHandler & | handler ) |
Traverses the node tree starting from root, dispatching to handler for each documentable node.
Definition at line 61 of file documentationtraverser.cpp.
Referenced by TemplateGenerator::produce().