AK: Add appendln helper to SourceGenerator

This commit is contained in:
Hendiadyoin1 2022-02-22 19:21:33 +01:00 committed by Andreas Kling
parent f6f7280fe3
commit 6b20496758

View file

@ -77,6 +77,12 @@ public:
}
}
void appendln(StringView pattern)
{
append(pattern);
m_builder.append('\n');
}
private:
StringBuilder& m_builder;
MappingType m_mapping;