|
Doxygen
|
#include <src/scopedtypevariant.h>
Classes | |
| struct | DummyDef |
Public Types | |
| using | GlobalDef = const Definition * |
| using | Variant = std::variant<DummyDef,LocalDef,GlobalDef> |
Public Member Functions | |
| ScopedTypeVariant (GlobalDef d=nullptr) | |
| ScopedTypeVariant (const DString &name) | |
| DString | name () const |
| LocalDef * | localDef () |
| const LocalDef * | localDef () const |
| const Definition * | globalDef () const |
| bool | isDummy () const |
Private Attributes | |
| DString | m_name |
| Variant | m_variant |
Variant class for a scoped type.
Variants:
Definition at line 47 of file scopedtypevariant.h.
| using ScopedTypeVariant::GlobalDef = const Definition * |
Definition at line 51 of file scopedtypevariant.h.
| using ScopedTypeVariant::Variant = std::variant<DummyDef,LocalDef,GlobalDef> |
Definition at line 52 of file scopedtypevariant.h.
|
inlineexplicit |
Definition at line 53 of file scopedtypevariant.h.
References m_name, m_variant, and name().
Referenced by addVariable(), generateClassMemberLink(), generateClassMemberLink(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), getLinkInScope(), getLinkInScope(), setCallContextForVar(), and updateCallContextForSmartPointer().
|
inlineexplicit |
Definition at line 55 of file scopedtypevariant.h.
|
inline |
Definition at line 60 of file scopedtypevariant.h.
References m_variant.
Referenced by writeObjCMethodCall().
|
inline |
Definition at line 61 of file scopedtypevariant.h.
References m_variant.
Referenced by generateClassOrGlobalLink(), generateClassOrGlobalLink(), generateMemberLink(), and setCallContextForVar().
|
inline |
Definition at line 58 of file scopedtypevariant.h.
References m_variant.
Referenced by generateFunctionLink(), generateFunctionLink(), generateMemberLink(), and getLinkInScope().
|
inline |
|
inline |
Definition at line 57 of file scopedtypevariant.h.
References m_name.
Referenced by generateClassOrGlobalLink(), generateMemberLink(), ScopedTypeVariant(), ScopedTypeVariant(), and setCallContextForVar().
|
private |
Definition at line 64 of file scopedtypevariant.h.
Referenced by name(), ScopedTypeVariant(), and ScopedTypeVariant().
|
private |
Definition at line 65 of file scopedtypevariant.h.
Referenced by globalDef(), isDummy(), localDef(), localDef(), ScopedTypeVariant(), and ScopedTypeVariant().