kdevplatform/language/duchain
ducontext.cpp File Reference
#include "ducontext.h"
#include <limits>
#include <algorithm>
#include <QSet>
#include "ducontextdata.h"
#include "declaration.h"
#include "duchain.h"
#include "duchainlock.h"
#include "use.h"
#include "identifier.h"
#include "topducontext.h"
#include "persistentsymboltable.h"
#include "aliasdeclaration.h"
#include "namespacealiasdeclaration.h"
#include "abstractfunctiondeclaration.h"
#include "duchainregister.h"
#include "topducontextdynamicdata.h"
#include "importers.h"
#include "uses.h"
#include "navigation/abstractdeclarationnavigationcontext.h"
#include "navigation/abstractnavigationwidget.h"
#include "ducontextdynamicdata.h"
#include <debug.h>
Include dependency graph for ducontext.cpp:

Go to the source code of this file.
Namespaces | |
KDevelop | |
Macros | |
#define | ENSURE_CAN_READ_(x) {if (x->inDUChain()) { ENSURE_CHAIN_READ_LOCKED }} |
#define | ENSURE_CAN_WRITE_(x) {if (x->inDUChain()) { ENSURE_CHAIN_WRITE_LOCKED }} |
Functions | |
QVector< RangeInRevision > | KDevelop::allUses (DUContext *context, int declarationIndex, bool noEmptyRanges=false) |
const Identifier & | KDevelop::globalAliasIdentifier () |
const Identifier & | KDevelop::globalImportIdentifier () |
const IndexedIdentifier & | KDevelop::globalIndexedAliasIdentifier () |
const IndexedIdentifier & | KDevelop::globalIndexedImportIdentifier () |
bool | KDevelop::isContextTemporary (uint index) |
QDebug | operator<< (QDebug dbg, const KDevelop::DUContext::Import &import) |
KDevelop::REGISTER_DUCHAIN_ITEM (DUContext) | |
static bool | KDevelop::sortByRange (const DUChainBase *lhs, const DUChainBase *rhs) |
bool | KDevelop::usesRangeLessThan (const Use &left, const Use &right) |
Variables | |
const uint | maxParentDepth = 20 |
Macro Definition Documentation
◆ ENSURE_CAN_READ_
#define ENSURE_CAN_READ_ | ( | x | ) | {if (x->inDUChain()) { ENSURE_CHAIN_READ_LOCKED }} |
Definition at line 54 of file ducontext.cpp.
◆ ENSURE_CAN_WRITE_
#define ENSURE_CAN_WRITE_ | ( | x | ) | {if (x->inDUChain()) { ENSURE_CHAIN_WRITE_LOCKED }} |
Definition at line 53 of file ducontext.cpp.
Function Documentation
◆ operator<<()
QDebug operator<< | ( | QDebug | dbg, |
const KDevelop::DUContext::Import & | import | ||
) |
Definition at line 60 of file ducontext.cpp.
Variable Documentation
◆ m_dataType
const AbstractType::Ptr m_dataType |
Definition at line 616 of file ducontext.cpp.
◆ m_flags
DUContext::SearchFlags m_flags |
Definition at line 615 of file ducontext.cpp.
◆ m_ownType
DUContext::ContextType m_ownType |
Definition at line 618 of file ducontext.cpp.
◆ m_position
const CursorInRevision m_position |
Definition at line 617 of file ducontext.cpp.
◆ maxParentDepth
const uint maxParentDepth = 20 |
Definition at line 48 of file ducontext.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Mar 4 2021 23:31:17 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Mar 4 2021 23:31:17 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.