toString overloads
Declared in <mrdocs/Metadata/Attribute/AttributeKind.hpp>
Convert access specifier to its string form.
dom::String
toString(AccessKind kind) noexcept;
» more...
Convert an AttributeKind to its string representation.
dom::String
toString(AttributeKind kind) noexcept;
» more...
Convert an auto-kind to its spelling.
dom::String
toString(AutoKind kind) noexcept;
» more...
Convert a constexpr/consteval specifier kind to a string.
dom::String
toString(ConstexprKind kind) noexcept;
» more...
Convert an explicit kind to its string form.
dom::String
toString(ExplicitKind kind) noexcept;
» more...
Convert a FundamentalTypeKind to a string.
std::string_view
toString(FundamentalTypeKind kind) noexcept;
» more...
Convert a noexcept kind to its string form.
dom::String
toString(NoexceptKind kind) noexcept;
» more...
Convert a cv/ref qualifier kind to its string form.
dom::String
toString(QualifierKind kind) noexcept;
» more...
Convert a reference kind to its string representation.
dom::String
toString(ReferenceKind kind) noexcept;
» more...
Convert a storage class kind to its string form.
dom::String
toString(StorageClassKind kind) noexcept;
» more...
Convert the specialization kind to a readable string.
std::string_view
toString(TemplateSpecKind kind);
» more...
Convert a TypeKind to its string representation.
dom::String
toString(TypeKind kind) noexcept;
» more...
Convert the name to a human-readable string.
std::string
toString(Name const& N);
» more...
Convert a template argument to a human-readable string.
std::string
toString(TArg const& arg) noexcept;
» more...
Convert a described enumerator to string form.
template<typename Enum>
requires describe::has_describe_enumerators<Enum>::value
std::string
toString(Enum e);
» more...
Render a type to a human-readable string.
std::string
toString(
Type const& T,
std::string_view Name = "");
» more...
Convert ExplicitInfo to a string.
dom::String
toString(
ExplicitInfo const& info,
bool resolved = false,
bool implicit = false);
» more...
Convert NoexceptInfo to a string.
dom::String
toString(
NoexceptInfo const& info,
bool resolved = false,
bool implicit = false);
» more...
| Name | Description |
|---|---|
| e | The enumerator to convert. |
| 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. |