/* * 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(FlyString name, Vector values, Important); ~Declaration(); StringView name() const { return m_name; } Vector const& values() const { return m_values; } Important importance() const { return m_important; } String to_string() const; private: FlyString m_name; Vector m_values; Important m_important { Important::No }; }; }