toString overloads

Synopses

Declared in <mrdocs/Metadata/Name/NameBase.hpp>

Convert access specifier to its string form.

dom::String
toString(AccessKind kind) noexcept;

Convert an auto‐kind to its spelling.

dom::String
toString(AutoKind kind) noexcept;

Convert a constexpr/consteval specifier kind to a string.

Convert an explicit kind to its string form.

Return the name of the SymbolKind as a string.

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

Convert a FileKind to its string form.

std::string_view
toString(FileKind kind);

Convert a function class to string form.

Convert a FundamentalTypeKind to a string.

std::string_view
toString(FundamentalTypeKind kind) noexcept;

Convert a list kind enum to its string name.

dom::String
toString(ListKind kind) noexcept;

Convert a NameKind to its string form.

dom::String
toString(NameKind kind) noexcept;

Convert a noexcept kind to its string form.

Convert a cv/ref qualifier kind to its string form.

Convert the key kind to its canonical string form.

Convert a reference kind to its string representation.

Convert a storage class kind to its string form.

Return the name of the SymbolKind as a string.

dom::String
toString(SymbolKind kind) noexcept;

Convert a template‐argument kind to a string.

std::string_view
toString(TArgKind kind) noexcept;

Convert the keyword kind to its string form.

std::string_view
toString(TParamKeyKind kind) noexcept;

Convert a parameter kind to a readable string.

std::string_view
toString(TParamKind kind) noexcept;

Convert an alignment enum to its string representation.

Convert the specialization kind to a readable string.

std::string_view
toString(TemplateSpecKind kind);

Convert a TypeKind to its string representation.

dom::String
toString(TypeKind kind) noexcept;

Convert the name to a human‐readable string.

std::string
toString(Name const& N);

Convert a template argument to a human‐readable string.

std::string
toString(TArg const& arg) noexcept;

Render a type to a human‐readable string.

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

  • String naming the keyword.

  • String view describing the kind.

  • The string representation of the kind

  • String view naming the argument kind.

  • String view naming the keyword.

  • String view naming the parameter category.

  • String view naming the specialization category.

  • The textual form of the name.

  • Descriptive text for the argument.

  • Text representation of the type.

  • The string representation of the explicit‐specifier.

  • The string representation of the noexcept‐specifier.

Parameters

Name Description

kind

File category to stringify.

T

Type to render.

Name

Optional identifier to append.

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