StyleBlockRule.h 401 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2020-2021, the SerenityOS developers.
  3. *
  4. * SPDX-License-Identifier: BSD-2-Clause
  5. */
  6. #pragma once
  7. #include <AK/Vector.h>
  8. #include <LibWeb/CSS/Parser/Token.h>
  9. namespace Web::CSS {
  10. class StyleBlockRule {
  11. friend class Parser;
  12. public:
  13. StyleBlockRule();
  14. ~StyleBlockRule();
  15. String to_string() const;
  16. private:
  17. Token m_token;
  18. Vector<String> m_values;
  19. };
  20. }