/* * Copyright (c) 2020-2021, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace Web::CSS::Parser { class Declaration { public: Declaration(DeprecatedFlyString name, Vector values, Important); ~Declaration(); StringView name() const { return m_name; } Vector const& values() const { return m_values; } Important importance() const { return m_important; } DeprecatedString to_deprecated_string() const; private: DeprecatedFlyString m_name; Vector m_values; Important m_important { Important::No }; }; }