#pragma once #include #include class Text final : public Node { public: explicit Text(const String&); virtual ~Text() override; const String& data() const { return m_data; } private: String m_data; };