summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/DOM/Text.h
blob: 33b689a4b5b14d74b803da625fe09084e44e0275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <AK/String.h>
#include <LibHTML/DOM/Node.h>

class Text final : public Node {
public:
    explicit Text(const String&);
    virtual ~Text() override;

    const String& data() const { return m_data; }

private:
    String m_data;
};