![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "aggregate.h"#include "config.h"#include "functionnode.h"#include "inclusionfilter.h"#include "inclusionpolicy.h"#include "parameters.h"#include "typedefnode.h"#include "qdocdatabase.h"#include "qmlpropertynode.h"#include "qmltypenode.h"#include "sharedcommentnode.h"#include <QtCore/qspan.h>#include <vector>Go to the source code of this file.
Functions | |
| static void | warnAboutDocumentedChildInUndocumentedParent (const Node *aggregate, const Node *child) |
| static void | addToRelatedTarget (Node *node, const QString &targettarget) |
| static bool | keep (FunctionNode *fn) |
Adds node to the list of related non-members of the aggregate target, without adopting it. The node remains documented under its parent, and the documentation of target links to it.
If target resolves to an aggregate in an index file, records the relationship in the node's tree instead, so that it is written to the index file of this module. The module that documents target can then link to the node.
If node is a shared comment node, adds each node in its collective instead. Does nothing if target resolves to the node's parent. If target is not found, reports it.
Definition at line 353 of file aggregate.cpp.
References Location::Location(), Node< _Tp >::parent(), and QDocDatabase::qdocDB().
|
static |
Definition at line 674 of file aggregate.cpp.
References FunctionNode::isDeprecated(), FunctionNode::isDtor(), Node< _Tp >::isInternal(), Node< _Tp >::isPrivate(), and FunctionNode::isSomeCtor().
|
static |
Warn about documented, non-private children under undocumented parents, unless:
\list
Internal or InternalAuto status (we check the child's own status, not inherited internal status from the parent). {\dontdocument} command. {\dontdocument} command. {-showinternal} command-line option is set (internal nodes generate output, so the warning is not needed). {-no-linkerrors} command-line option is set (avoids false positives when the aggregate is documented outside the current project). {child->status()} directly rather than {child->isInternal()} because {isInternal()} also considers the parent's status. Since the parent is undocumented (and thus marked InternalAuto), {isInternal()} would incorrectly return true for all children, suppressing the warning entirely.Definition at line 270 of file aggregate.cpp.
References Node< _Tp >::declLocation(), Node< _Tp >::doc(), Node< _Tp >::genus(), Node< _Tp >::hasDoc(), Internal, InternalAuto, Doc::isAutoGenerated(), Node< _Tp >::isDontDocument(), Location::isEmpty(), Node< _Tp >::isNamespace(), Node< _Tp >::isPrivate(), Node< _Tp >::isProxyNode(), Doc::location(), Node< _Tp >::parent(), InclusionFilter::processInternalDocs(), and Node< _Tp >::status().