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

#include <pretty-print-markup.h>

Collaboration diagram for pp_markup::context:

Public Member Functions

 context (pretty_printer &pp, bool &quoted, pp_token_list *formatted_token_list)
 
void begin_quote ()
 
void end_quote ()
 
void begin_highlight_color (const char *color_name)
 
void end_highlight_color ()
 
void push_back_any_text ()
 

Data Fields

pretty_printerm_pp
 
output_bufferm_buf
 
boolm_quoted
 
pp_token_listm_formatted_token_list
 

Constructor & Destructor Documentation

◆ context()

pp_markup::context::context ( pretty_printer & pp,
bool & quoted,
pp_token_list * formatted_token_list )
inline

Member Function Documentation

◆ begin_highlight_color()

void pp_markup::context::begin_highlight_color ( const char * color_name)

◆ begin_quote()

void pp_markup::context::begin_quote ( )

◆ end_highlight_color()

void pp_markup::context::end_highlight_color ( )

◆ end_quote()

◆ push_back_any_text()

void pp_markup::context::push_back_any_text ( )

References m_buf, m_formatted_token_list, and obstack.

Referenced by begin_quote().

Field Documentation

◆ m_buf

output_buffer& pp_markup::context::m_buf

Referenced by context(), and push_back_any_text().

◆ m_formatted_token_list

pp_token_list* pp_markup::context::m_formatted_token_list

◆ m_pp

◆ m_quoted

bool& pp_markup::context::m_quoted

Referenced by begin_quote(), context(), and end_quote().


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