Info for typedef and using declarations.

Synopsis

Declared in <mrdocs/Metadata/Symbol/Typedef.hpp>

struct TypedefSymbol final
    : SymbolCommonBase<SymbolKind::Typedef>

Base Classes

Name

Description

SymbolCommonBase<SymbolKind::Typedef>

Base class for providing variant discriminator functions.

Member Functions

Name

Description

TypedefSymbol [constructor]

Create a typedef symbol bound to an ID.

operator<=>

Compare typedef symbols, including alias target and template.

Static Member Functions

Data Members

Name

Description

IsUsing

Indicates if this is a new C++ "using"‐style typedef

Template

Template information when the alias is templated.

Type

The aliased type.

Static Data Members

Name

Description

kind_id

The variant discriminator constant of the most‐derived class.

Non-Member Functions

Name

Description

buildSymbolDom

Build the DOM value for a single symbol.

canMerge

Check whether two symbols may be merged.

getPrimaryLocation

Determine a location to use when none is explicitly chosen.

Created with MrDocs