kdevplatform/language/duchain
#include <localindexedducontext.h>
Public Member Functions | |
LocalIndexedDUContext (DUContext *decl) | |
LocalIndexedDUContext (uint contextIndex=0) | |
DUContext * | data (TopDUContext *top) const |
uint | hash () const |
bool | isLoaded (TopDUContext *top) const |
bool | isValid () const |
uint | localIndex () const |
bool | operator< (const LocalIndexedDUContext &rhs) const |
bool | operator== (const LocalIndexedDUContext &rhs) const |
Detailed Description
Represents a DUContext within a TopDUContext, without storing the TopDUContext(It must be given to data())
Definition at line 33 of file localindexedducontext.h.
Constructor & Destructor Documentation
◆ LocalIndexedDUContext() [1/2]
|
explicit |
Definition at line 35 of file localindexedducontext.cpp.
◆ LocalIndexedDUContext() [2/2]
|
explicit |
Definition at line 30 of file localindexedducontext.cpp.
Member Function Documentation
◆ data()
DUContext * LocalIndexedDUContext::data | ( | TopDUContext * | top | ) | const |
- Warning
- Duchain must be read locked
Definition at line 52 of file localindexedducontext.cpp.
◆ hash()
|
inline |
Definition at line 54 of file localindexedducontext.h.
◆ isLoaded()
bool LocalIndexedDUContext::isLoaded | ( | TopDUContext * | top | ) | const |
Definition at line 44 of file localindexedducontext.cpp.
◆ isValid()
|
inline |
Definition at line 49 of file localindexedducontext.h.
◆ localIndex()
|
inline |
Index within the top-context.
Definition at line 67 of file localindexedducontext.h.
◆ operator<()
|
inline |
Definition at line 59 of file localindexedducontext.h.
◆ operator==()
|
inline |
Definition at line 44 of file localindexedducontext.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 16 2021 23:30:10 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.