kdevplatform/language/duchain
declaration.h
Go to the documentation of this file.
static TypePtr< T > dynamicCast(const TypePtr< U > &o)
Convert TypePtr to TypePtr<T>, using a dynamic_cast.
Definition: typepointer.h:88
A helper-class to store an identifier by index in a type-safe way.
Definition: identifier.h:55
QExplicitlySharedDataPointer wrapper with convenience functions attached.
Definition: typepointer.h:39
#define DUCHAIN_DECLARE_DATA(Class)
Use this to declare the data functions in your DUChainBase based class.
Definition: duchainbase.h:41
static TypePtr< AbstractType > staticCast(const TypePtr< U > &o)
Convert TypePtr to TypePtr<T>, using a static_cast.
Definition: typepointer.h:72
Represents a single declaration in a definition-use chain.
Definition: declaration.h:51
This class contains dynamic data of a top-context, and also the repository that contains all the data...
Definition: topducontextdynamicdata.h:37
Represents a declaration only by its global indices.
Definition: indexeddeclaration.h:33
TypePtr< T > type() const
Convenience function to return this declaration's type dynamically casted to T.
Definition: declaration.h:305
The top context in a definition-use chain for one source file.
Definition: topducontext.h:113
Definition: declarationdata.h:35
Represents a declaration only by its index within the top-context.
Definition: localindexeddeclaration.h:32
Definition: abstractfunctiondeclaration.cpp:27
A single context in source code, represented as a node in a directed acyclic graph.
Definition: ducontext.h:72
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:36:33 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:36:33 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.