1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00:00

LibWeb: Move/rename StyleBlockRule to Parser::Block

This commit is contained in:
Sam Atkins 2022-04-12 14:08:26 +01:00 committed by Andreas Kling
parent 624df40e20
commit 3e49036edf
11 changed files with 36 additions and 39 deletions

View file

@ -9,8 +9,8 @@
#include <AK/RefCounted.h>
#include <AK/Vector.h>
#include <LibWeb/CSS/Parser/Block.h>
#include <LibWeb/CSS/Parser/ComponentValue.h>
#include <LibWeb/CSS/Parser/StyleBlockRule.h>
namespace Web::CSS {
@ -30,7 +30,7 @@ public:
bool is_at_rule() const { return m_type == Type::At; }
Vector<Parser::ComponentValue> const& prelude() const { return m_prelude; }
RefPtr<StyleBlockRule const> block() const { return m_block; }
RefPtr<Parser::Block const> block() const { return m_block; }
String const& at_rule_name() const { return m_at_rule_name; }
String to_string() const;
@ -39,7 +39,7 @@ private:
Type const m_type;
String m_at_rule_name;
Vector<Parser::ComponentValue> m_prelude;
RefPtr<StyleBlockRule> m_block;
RefPtr<Parser::Block> m_block;
};
}