Class text

Inheritance Relationships

Base Type

Class Documentation

class text : public mxml::node_with_text

A node containing text.

Public Functions

inline virtual constexpr node_type type() const override

node_type to be returned by each implementation of this node class

inline text(std::string text = {})

default constructor

inline text(const text &t)

copy constructor

inline text(text &&t) noexcept

move constructor

inline text &operator=(text txt) noexcept

assignment operator

inline void append(std::string_view text)

append text to the stored text

virtual bool equals(const node *n) const override

compare nodes for equality

bool is_space() const

returns true if this text contains only whitespace characters