mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
AK: Add appendln
helper to SourceGenerator
This commit is contained in:
parent
f6f7280fe3
commit
6b20496758
1 changed files with 6 additions and 0 deletions
|
@ -77,6 +77,12 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void appendln(StringView pattern)
|
||||
{
|
||||
append(pattern);
|
||||
m_builder.append('\n');
|
||||
}
|
||||
|
||||
private:
|
||||
StringBuilder& m_builder;
|
||||
MappingType m_mapping;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue