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:
parent
611a209756
commit
802ccc210f
2 changed files with 14 additions and 10 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue