clang::mrdocs::InfoCommonBase

Base class for providing variant discriminator functions.

Synopsis

Declared in <mrdocs/Metadata/Info.hpp>
template<InfoKind K>
struct InfoCommonBase
    : Info


Base Classes

Name Description
InfoBase class with common properties of all symbols

Member Functions

Name Description
asInfo
asSourceInfo
operator<=> Three-way comparison operators

Data Members

Name Description
Access Declaration access.
DefLoc Location where the entity was defined
Extraction Determine why a symbol is extracted.
Kind Kind of declaration.
Loc Locations where the entity was declared.
Name The unqualified name.
Parent The parent symbol, if any.
id The unique identifier for this symbol.
javadoc The extracted javadoc for this declaration.

Static Data Members

Name Description
kind_id The variant discriminator constant of the most-derived class.

Protected Member Functions

Name Description
InfoCommonBase [constructor]Construct from SymbolID

Non-Member Functions

Name Description
mergeMerges two Info objects.

Derived Classes

Name Description
ConceptInfo Info for concepts.
EnumConstantInfo Info for enum constants.
EnumInfo
FunctionInfo
GuideInfo Info for deduction guides.
NamespaceAliasInfo Info for namespace aliases.
NamespaceInfo Describes a namespace.
OverloadsInfo Represents a set of function overloads.
RecordInfo Metadata for struct, class, or union.
TypedefInfo
UsingInfo Info for using declarations.
VariableInfo A variable.

Description

This offers functions that return a boolean at compile-time, indicating if the most-derived class is a certain type.

Created with MrDocs