|
GCC Middle and Back End API Reference
|
#include <pretty-print-token-buffer.h>


Public Member Functions | |
| pp_token_buffer_element (const pretty_print_token_buffer &token_buf) | |
| void | add_to_phase_2 (pp_markup::context &ctxt) final override |
Private Member Functions | |
| DISABLE_COPY_AND_ASSIGN (element) | |
Private Attributes | |
| const pretty_print_token_buffer & | m_token_buf |
A pp_element subclass for use with "%e" that replays the buffered tokens from TOKEN_BUF in another formatting call.
|
inline |
References m_token_buf.
|
finaloverridevirtual |
Implements pp_markup::element.
References pp_markup::context::add_event_id(), as_a(), pp_token::begin_color, pp_markup::context::begin_highlight_color(), pp_markup::context::begin_quote(), pp_token::begin_quote, pp_markup::context::begin_url(), pp_token::begin_url, pp_token::custom_data, pp_token::end_color, pp_markup::context::end_highlight_color(), pp_markup::context::end_quote(), pp_token::end_quote, pp_markup::context::end_url(), pp_token::end_url, pp_token::event_id, gcc_assert, gcc_unreachable, pp_markup::context::m_pp, m_token_buf, pp_string(), pp_markup::context::push_back_any_text(), and pp_token::text.
|
private |
Referenced by add_to_phase_2(), and pp_token_buffer_element().