added a pretty output to JString. Initial.

This commit is contained in:
barant committed 2024-12-17 16:56:05 -08:00
1 parent d1e5e41ab2
commit d74fa9689d
4 files changed
+40 -1

No files matched your search

+3 -1
View File
@@ -67,7 +67,7 @@ namespace coreutils {
return jstring.find(key).str();
}
Proxy& operator=(coreutils::ZString value) {
Proxy& operator=(coreutils::MString value) {
jstring.set(key, value);
return *this;
}
@@ -82,6 +82,8 @@ namespace coreutils {
}
JString & operator=(coreutils:: ZString value);
MString pretty();
private:
void removeWhitespace();