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.
dom::String
toString(ConstexprKind kind) noexcept;
Convert an explicit kind to its string form.
dom::String
toString(ExplicitKind kind) noexcept;
Return the name of the SymbolKind as a string.
constexpr
std::string_view
toString(ExtractionMode kind) noexcept;
Convert a FileKind to its string form.
Convert a function class to string form.
dom::String
toString(FunctionClass kind) noexcept;
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.
dom::String
toString(NoexceptKind kind) noexcept;
Convert a cv/ref qualifier kind to its string form.
dom::String
toString(QualifierKind kind) noexcept;
Convert the key kind to its canonical string form.
dom::String
toString(RecordKeyKind kind) noexcept;
Convert a reference kind to its string representation.
dom::String
toString(ReferenceKind kind) noexcept;
Convert a storage class kind to its string form.
dom::String
toString(StorageClassKind kind) noexcept;
Return the name of the SymbolKind as a string.
dom::String
toString(SymbolKind kind) noexcept;
Convert a template‐argument kind to a string.
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.
dom::String
toString(TableAlignmentKind kind) noexcept;
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.
Convert a template argument to a human‐readable string.
Render a type to a human‐readable string.
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