20#ifndef GCC_PRETTY_PRINT_MARKUP_H
21#define GCC_PRETTY_PRINT_MARKUP_H
101 const char *highlight_color =
nullptr)
113 ctxt.end_highlight_color ();
Definition pretty-print.h:84
pp_element_quoted_string(const char *text, const char *highlight_color=nullptr)
Definition pretty-print-markup.h:100
const char * m_highlight_color
Definition pretty-print-markup.h:119
const char * m_text
Definition pretty-print-markup.h:118
void add_to_phase_2(pp_markup::context &ctxt) final override
Definition pretty-print-markup.h:106
void add_to_phase_2(context &ctxt) final override
Definition pretty-print.cc:3218
comma_separated_quoted_strings(const auto_vec< const char * > &strings)
Definition pretty-print-markup.h:84
const auto_vec< const char * > & m_strings
Definition pretty-print-markup.h:92
Definition pretty-print-markup.h:30
void end_highlight_color()
Definition pretty-print.cc:3175
pretty_printer & m_pp
Definition pretty-print-markup.h:55
bool & m_quoted
Definition pretty-print-markup.h:57
void begin_highlight_color(const char *color_name)
Definition pretty-print.cc:3164
void add_event_id(diagnostic_event_id_t event_id)
Definition pretty-print.cc:3200
pp_token_list * m_formatted_token_list
Definition pretty-print-markup.h:58
void end_quote()
Definition pretty-print.cc:3151
context(pretty_printer &pp, bool "ed, pp_token_list *formatted_token_list)
Definition pretty-print-markup.h:32
void begin_url(const char *url)
Definition pretty-print.cc:3185
output_buffer & m_buf
Definition pretty-print-markup.h:56
void begin_quote()
Definition pretty-print.cc:3141
void end_url()
Definition pretty-print.cc:3193
void push_back_any_text()
Definition pretty-print.cc:3208
virtual ~element()
Definition pretty-print-markup.h:68
DISABLE_COPY_AND_ASSIGN(element)
element()
Definition pretty-print-markup.h:72
virtual void add_to_phase_2(context &ctxt)=0
Definition pretty-print-format-impl.h:300
Definition pretty-print.h:241
pp_markup::element pp_element
Definition coretypes.h:175
Definition coretypes.h:174
void pp_string(pretty_printer *pp, const char *str)
Definition pretty-print.cc:2638
output_buffer *& pp_buffer(pretty_printer *pp)
Definition pretty-print.h:398