8using namespace std::string_view_literals;
18 std::optional<std::string_view>
value;
26 std::optional<std::string_view>
doc = std::nullopt;
27 std::optional<char>
suffix = std::nullopt;
40 template <
class T_actual,
class A>
std::optional< std::string_view > doc
Result get_members(const MemberGetter &s)
Catch-all.
std::string_view key
The subkey to resolve next.
std::string_view full_key
Full key string, used for diagnostics.
std::vector< Member > members
std::optional< std::string_view > value
The value of the parameter to store.
std::optional< char > suffix
Function wrapper to set attributes of a struct, type-erasing the type of the attribute.
Function wrapper access the enumerators of an enum, type-erasing the type of the enum.
void print_completion(std::string_view method, std::string_view params)
attribute_accessor(A T_actual::*, std::string_view doc="")
Result(const MemberGetter &) get_members_func_t
enum_accessor(T, std::string_view doc="")