diff --git a/AK/SourceGenerator.h b/AK/SourceGenerator.h index 53c6367b36..00dfc3ca1f 100644 --- a/AK/SourceGenerator.h +++ b/AK/SourceGenerator.h @@ -77,6 +77,12 @@ public: } } + void appendln(StringView pattern) + { + append(pattern); + m_builder.append('\n'); + } + private: StringBuilder& m_builder; MappingType m_mapping;