GCC Middle and Back End API Reference
pp_element_quoted_string Class Reference

#include <pretty-print-markup.h>

Inheritance diagram for pp_element_quoted_string:
Collaboration diagram for pp_element_quoted_string:

Public Member Functions

 pp_element_quoted_string (const char *text, const char *highlight_color=nullptr)
 
void add_to_phase_2 (pp_markup::context &ctxt) final override
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (element)
 

Private Attributes

const char * m_text
 
const char * m_highlight_color
 

Constructor & Destructor Documentation

◆ pp_element_quoted_string()

pp_element_quoted_string::pp_element_quoted_string ( const char * text,
const char * highlight_color = nullptr )
inline

Member Function Documentation

◆ add_to_phase_2()

void pp_element_quoted_string::add_to_phase_2 ( pp_markup::context & ctxt)
inlinefinaloverridevirtual

Implements pp_markup::element.

References m_highlight_color, m_text, and pp_string().

◆ DISABLE_COPY_AND_ASSIGN()

pp_markup::element::DISABLE_COPY_AND_ASSIGN ( element )
privateinherited

Field Documentation

◆ m_highlight_color

const char* pp_element_quoted_string::m_highlight_color
private

Referenced by add_to_phase_2().

◆ m_text

const char* pp_element_quoted_string::m_text
private

Referenced by add_to_phase_2().


The documentation for this class was generated from the following file: