GCC Middle and Back End API Reference
xml::text Struct Reference

#include <xml.h>

Inheritance diagram for xml::text:
Collaboration diagram for xml::text:

Public Member Functions

 text (std::string str)
void write_as_xml (pretty_printer *pp, int depth, bool indent) const final override
textdyn_cast_text () final override
void dump (FILE *out) const
void DEBUG_FUNCTION dump () const

Data Fields

std::string m_str

Constructor & Destructor Documentation

◆ text()

xml::text::text ( std::string str)
inline

References m_str.

Referenced by dyn_cast_text().

Member Function Documentation

◆ dump() [1/2]

void DEBUG_FUNCTION xml::node::dump ( ) const
inlineinherited

References DEBUG_FUNCTION, and dump().

Referenced by dump().

◆ dump() [2/2]

void xml::node::dump ( FILE * out) const
inherited

◆ dyn_cast_text()

text * xml::text::dyn_cast_text ( )
inlinefinaloverridevirtual

Reimplemented from xml::node.

References final(), and text().

◆ write_as_xml()

void xml::text::write_as_xml ( pretty_printer * pp,
int depth,
bool indent ) const
finaloverridevirtual
struct text : public node.

Implements xml::node.

References i, m_str, pp_newline(), pp_string(), and xml::write_escaped_text().

Field Documentation

◆ m_str

std::string xml::text::m_str

Referenced by text(), and write_as_xml().


The documentation for this struct was generated from the following files: