GCC Middle and Back End API Reference
pp_markup::element_quoted_type Class Reference

#include <tree-pretty-print-markup.h>

Inheritance diagram for pp_markup::element_quoted_type:
Collaboration diagram for pp_markup::element_quoted_type:

Public Member Functions

 element_quoted_type (tree type, const char *highlight_color)
 
void add_to_phase_2 (context &ctxt) override
 
void print_type (context &ctxt)
 

Private Member Functions

 DISABLE_COPY_AND_ASSIGN (element)
 

Private Attributes

tree m_type
 
const char * m_highlight_color
 

Detailed Description

Concrete subclass of pp_markup::element.
Print a type in quotes with the given highlighting color.   

Constructor & Destructor Documentation

◆ element_quoted_type()

pp_markup::element_quoted_type::element_quoted_type ( tree type,
const char * highlight_color )
inline

Member Function Documentation

◆ add_to_phase_2()

◆ DISABLE_COPY_AND_ASSIGN()

pp_markup::element::DISABLE_COPY_AND_ASSIGN ( element )
privateinherited

◆ print_type()

void pp_markup::element_quoted_type::print_type ( context & ctxt)

Referenced by add_to_phase_2().

Field Documentation

◆ m_highlight_color

const char* pp_markup::element_quoted_type::m_highlight_color
private

Referenced by add_to_phase_2().

◆ m_type

tree pp_markup::element_quoted_type::m_type
private

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