mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 10:05:32 +00:00
AK: Add appendln
helper to SourceGenerator
This commit is contained in:
parent
f6f7280fe3
commit
6b20496758
|
@ -77,6 +77,12 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void appendln(StringView pattern)
|
||||
{
|
||||
append(pattern);
|
||||
m_builder.append('\n');
|
||||
}
|
||||
|
||||
private:
|
||||
StringBuilder& m_builder;
|
||||
MappingType m_mapping;
|
||||
|
|
Loading…
Reference in a new issue