mimic++ v10.0.1
Loading...
Searching...
No Matches
mimicpp::printing::type Namespace Reference

Namespaces

namespace  lexing
namespace  parsing

Functions

MIMICPP_DETAIL_CONSTEXPR_PRETTY_TYPES std::optional< parsing::state::TypeId > parse_type (std::string_view const text)
MIMICPP_DETAIL_CONSTEXPR_PRETTY_TYPES std::optional< parsing::state::FunctionId > parse_function (std::string_view const text)
template<typename T>
consteval std::string_view type_name () noexcept
 Returns the raw type-name.
template<print_iterator OutIter>
constexpr OutIter prettify_type (OutIter out, std::string_view name)
 Prettifies a typen-name.
template<print_iterator OutIter>
constexpr OutIter prettify_function (OutIter out, std::string_view name)
 Prettifies a function name, generated by e.g. std::source_location::function_name().

Function Documentation

◆ parse_function()

MIMICPP_DETAIL_CONSTEXPR_PRETTY_TYPES std::optional< parsing::state::FunctionId > mimicpp::printing::type::parse_function ( std::string_view const text)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_type()

MIMICPP_DETAIL_CONSTEXPR_PRETTY_TYPES std::optional< parsing::state::TypeId > mimicpp::printing::type::parse_type ( std::string_view const text)
Here is the call graph for this function:
Here is the caller graph for this function: