1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:07:36 +00:00

LibWeb: Expose Declaration's internals with getters

This is more in line with our style of not accessing `m_foo` fields
directly.
This commit is contained in:
Sam Atkins 2022-03-31 14:41:39 +01:00 committed by Andreas Kling
parent 611a209756
commit 802ccc210f
2 changed files with 14 additions and 10 deletions

View file

@ -20,6 +20,10 @@ public:
Declaration();
~Declaration();
String const& name() const { return m_name; }
Vector<ComponentValue> const& values() const { return m_values; }
Important importance() const { return m_important; }
String to_string() const;
private: