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
commit 802ccc210f
Notes: sideshowbarker 2024-07-17 14:17:38 +09:00
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: