kdevplatform/language/duchain
persistentsymboltable.h
Go to the documentation of this file.
115 void addDeclaration(const IndexedQualifiedIdentifier& id, const IndexedDeclaration& declaration);
119 void removeDeclaration(const IndexedQualifiedIdentifier& id, const IndexedDeclaration& declaration);
126 void declarations(const IndexedQualifiedIdentifier& id, uint& count, const IndexedDeclaration*& declarations) const;
128 using Declarations = ConstantConvenientEmbeddedSet<IndexedDeclaration, IndexedDeclarationHandler>;
137 Utils::StorableSet<IndexedTopDUContext, IndexedTopDUContextIndexConversion, RecursiveImportCacheRepository,
141 ConvenientEmbeddedSetTreeFilterIterator<IndexedDeclaration, IndexedDeclarationHandler, IndexedTopDUContext,
Allows simple indirect access to top-contexts with on-demand loading.
Definition: indexedtopducontext.h:35
IndexedTopDUContext indexedTopContext() const
Definition: indexeddeclaration.h:96
static IndexedTopDUContext extract(const IndexedDUContext &ctx)
Definition: persistentsymboltable.h:91
static void setLeftChild(IndexedDeclaration &m_data, int child)
Definition: persistentsymboltable.h:46
ConvenientEmbeddedSetTreeFilterIterator< IndexedDeclaration, IndexedDeclarationHandler, IndexedTopDUContext, CachedIndexedRecursiveImports, DeclarationTopContextExtractor > FilteredDeclarationIterator
Definition: persistentsymboltable.h:142
void setDummyData(QPair< uint, uint > data)
Definition: indexeddeclaration.h:140
static bool equals(const IndexedDeclaration &m_data, const IndexedDeclaration &rhs)
Definition: persistentsymboltable.h:75
static void createFreeItem(IndexedDeclaration &data)
Definition: persistentsymboltable.h:58
void setIsDummy(bool dummy)
The following functions allow storing 2 integers in this object and marking it as a dummy,...
Definition: indexeddeclaration.h:111
Utils::StorableSet< IndexedTopDUContext, IndexedTopDUContextIndexConversion, RecursiveImportRepository, true > IndexedRecursiveImports
Definition: topducontext.h:290
A helper-class to store an identifier by index in a type-safe way.
Definition: identifier.h:95
static void setRightChild(IndexedDeclaration &m_data, int child)
Definition: persistentsymboltable.h:54
Represents a declaration only by its global indices.
Definition: indexeddeclaration.h:33
QPair< uint, uint > dummyData() const
Definition: indexeddeclaration.h:129
static int rightChild(const IndexedDeclaration &m_data)
Definition: persistentsymboltable.h:50
static bool isFree(const IndexedDeclaration &m_data)
Definition: persistentsymboltable.h:70
IndexedTopDUContext indexedTopContext() const
Definition: indexedducontext.cpp:48
static void copyTo(const IndexedDeclaration &m_data, IndexedDeclaration &data)
Definition: persistentsymboltable.h:65
Global symbol-table that is stored to disk, and allows retrieving declarations that currently are not...
Definition: persistentsymboltable.h:105
Definition: abstractfunctiondeclaration.cpp:27
static IndexedTopDUContext extract(const IndexedDeclaration &decl)
Definition: persistentsymboltable.h:83
ConstantConvenientEmbeddedSet< IndexedDeclaration, IndexedDeclarationHandler > Declarations
Definition: persistentsymboltable.h:128
static int leftChild(const IndexedDeclaration &m_data)
Definition: persistentsymboltable.h:42
Utils::StorableSet< IndexedTopDUContext, IndexedTopDUContextIndexConversion, RecursiveImportCacheRepository, true > CachedIndexedRecursiveImports
Definition: persistentsymboltable.h:138
Represents a context only by its global indices.
Definition: indexedducontext.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Mar 3 2021 00:37:28 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed Mar 3 2021 00:37:28 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.