/* * Copyright (c) 2021, Linus Groh * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace GUI::GML { inline String format_gml(StringView string) { auto ast = parse_gml(string); if (ast.is_error()) return {}; return ast.value()->to_string(); } }