mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibCore: Add formatter for Object.
This commit is contained in:
parent
235622dc7f
commit
56cf272ed5
2 changed files with 16 additions and 0 deletions
|
@ -170,6 +170,13 @@ private:
|
|||
|
||||
}
|
||||
|
||||
namespace AK {
|
||||
template<>
|
||||
struct Formatter<Core::Object> : Formatter<StringView> {
|
||||
void format(TypeErasedFormatParams&, FormatBuilder&, const Core::Object&);
|
||||
};
|
||||
}
|
||||
|
||||
namespace Core {
|
||||
template<typename T, typename Callback>
|
||||
inline void Object::for_each_child_of_type(Callback callback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue