toString overloads

Synopses

Declared in <mrdocs/Metadata/Specifiers/ExplicitInfo.hpp>

dom::String
toString(AccessKind kind) noexcept;
dom::String
toString(AutoKind kind) noexcept;

Return the name of the SymbolKind as a string.

constexpr
std::string_view
toString(ExtractionMode kind) noexcept;
std::string_view
toString(FileKind kind);

Convert a FundamentalTypeKind to a string.

std::string_view
toString(FundamentalTypeKind kind) noexcept;
dom::String
toString(ListKind kind) noexcept;
dom::String
toString(NameKind kind) noexcept;

Return the name of the SymbolKind as a string.

dom::String
toString(SymbolKind kind) noexcept;
std::string_view
toString(TArgKind kind) noexcept;
std::string_view
toString(TParamKeyKind kind) noexcept;
std::string_view
toString(TParamKind kind) noexcept;
std::string_view
toString(TemplateSpecKind kind);
dom::String
toString(TypeKind kind) noexcept;
std::string
toString(Name const& N);
std::string
toString(TArg const& arg) noexcept;
std::string
toString(
    Type const& T,
    std::string_view Name = "");

Convert ExplicitInfo to a string.

dom::String
toString(
    ExplicitInfo const& info,
    bool resolved = false,
    bool implicit = false);

Convert NoexceptInfo to a string.

dom::String
toString(
    NoexceptInfo const& info,
    bool resolved = false,
    bool implicit = false);

Return Value

  • The string representation of the kind

  • The string representation of the explicit‐specifier.

  • The string representation of the noexcept‐specifier.

Parameters

Name

Description

info

The explicit‐specifier information.

resolved

If true, the operand is not shown when the explicit‐specifier is non‐dependent.

implicit

If true, implicit explicit‐specifiers are shown.

Created with MrDocs