mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 01:26:22 +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
Notes:
sideshowbarker
2024-07-17 14:17:38 +09:00
Author: https://github.com/AtkinsSJ
Commit: 802ccc210f
Pull-request: https://github.com/SerenityOS/serenity/pull/13407
Reviewed-by: https://github.com/trflynn89
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