diff --git a/AK/SourceGenerator.h b/AK/SourceGenerator.h index 005e5e739c4..285e6e70d5a 100644 --- a/AK/SourceGenerator.h +++ b/AK/SourceGenerator.h @@ -66,6 +66,8 @@ public: return result.release_value(); } + [[nodiscard]] MappingType clone_mapping() const { return MUST(m_mapping.clone()); } + StringView as_string_view() const { return m_builder.string_view(); } void append(StringView pattern)