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
sections.cpp File Reference

(2874cbaa84bfd73052f02f1fb3a1686455c8c63d)

#include "sections.h"
#include "aggregate.h"
#include "classnode.h"
#include "config.h"
#include "enumnode.h"
#include "functionnode.h"
#include "generator.h"
#include "utilities.h"
#include "namespacenode.h"
#include "qmlpropertynode.h"
#include "qmltypenode.h"
#include "sharedcommentnode.h"
#include "typedefnode.h"
#include "variablenode.h"
#include <QtCore/qobjectdefs.h>
+ Include dependency graph for sections.cpp:

Go to the source code of this file.

Functions

QString sortName (const Node *node)
 Construct a name for the node that can be used for sorting a set of nodes into equivalence classes.
 
static NodenodeToTestForDistribution (Node *node)
 
static void pushBaseClasses (QStack< ClassNode * > &stack, ClassNode *cn)
 

Function Documentation

◆ nodeToTestForDistribution()

static Node * nodeToTestForDistribution ( Node * node)
static

Returns the node to test when distributing node based on Node::nodeType().

It returns either node itself, or if node is a shared comment node, the first node in its collective.

Definition at line 529 of file sections.cpp.

References Node< _Tp >::hasDoc(), and Node< _Tp >::isSharedCommentNode().

+ Here is the call graph for this function:

◆ pushBaseClasses()

static void pushBaseClasses ( QStack< ClassNode * > & stack,
ClassNode * cn )
static

Definition at line 837 of file sections.cpp.

◆ sortName()

QString sortName ( const Node * node)

Construct a name for the node that can be used for sorting a set of nodes into equivalence classes.

Definition at line 150 of file sections.cpp.

References Node< _Tp >::CPP, FunctionNode::isCCtor(), Node< _Tp >::isClassNode(), FunctionNode::isCtor(), FunctionNode::isDtor(), Node< _Tp >::isFunction(), FunctionNode::isMCtor(), Node< _Tp >::isProperty(), and Node< _Tp >::isVariable().

+ Here is the call graph for this function: