Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdocdatabase.cpp File Reference

(8be0581bc94853da91b3bcf83254add63aeb64fd)

#include "qdocdatabase.h"
#include "atom.h"
#include "collectionnode.h"
#include "functionnode.h"
#include "generator.h"
#include "genustypes.h"
#include "qdocindexfiles.h"
#include "qdoclogging.h"
#include "qmltypenode.h"
#include "tree.h"
#include "utilities.h"
#include <QtCore/qregularexpression.h>
#include <stack>
Include dependency graph for qdocdatabase.cpp:

Go to the source code of this file.

Functions

static void collectConceptReferences (const Node *node, QStringList &refs)
 Gathers the fully-qualified concept names referenced by node.
static void registerConceptUsersUnder (Aggregate *parent, QDocDatabase &db)
 Walks every documented node under parent and registers each constrained item as a member of the concept's CollectionNode for each concept it references.

Variables

static NodeMultiMap emptyNodeMultiMap_

Function Documentation

◆ collectConceptReferences()

void collectConceptReferences ( const Node * node,
QStringList & refs )
static

Gathers the fully-qualified concept names referenced by node.

Template-head and direct-concept references live on the optional RelaxedTemplateDeclaration carried by the node; trailing-requires and constrained-auto references are accumulated on the FunctionNode.

Definition at line 972 of file qdocdatabase.cpp.

References Node< _Tp >::isFunction(), and Node< _Tp >::templateDecl().

Here is the call graph for this function:

◆ registerConceptUsersUnder()

void registerConceptUsersUnder ( Aggregate * parent,
QDocDatabase & db )
static

Walks every documented node under parent and registers each constrained item as a member of the concept's CollectionNode for each concept it references.

Recurses into aggregates so the entire primary tree is covered.

Definition at line 991 of file qdocdatabase.cpp.

Variable Documentation

◆ emptyNodeMultiMap_

NodeMultiMap emptyNodeMultiMap_
static