◆ custom_token_printer()
dump_pretty_printer::custom_token_printer::custom_token_printer |
( |
dump_pretty_printer & | dump_pp | ) |
|
|
inline |
◆ emit_any_pending_textual_chunks()
void dump_pretty_printer::custom_token_printer::emit_any_pending_textual_chunks |
( |
| ) |
|
Subroutine of dump_pretty_printer::custom_token_printer::print_tokens
for consolidating multiple adjacent pure-text chunks into single
optinfo_items (in phase 3).
References dump_pretty_printer::dump_pretty_printer(), dump_pretty_printer::emit_item(), gcc_assert, m_dump_pp, output_buffer::m_formatted_obstack, output_buffer::m_obstack, m_optinfo, make_unique(), OPTINFO_ITEM_KIND_TEXT, output_buffer_last_position_in_text(), pretty_printer::pp_buffer, pp_formatted_text(), and UNKNOWN_LOCATION.
Referenced by print_tokens().
◆ print_tokens()
Implements token_printer.
References as_a(), pp_token::begin_color, pp_token::begin_quote, pp_token::begin_url, pp_token::custom_data, emit_any_pending_textual_chunks(), pp_token::end_color, pp_token::end_quote, pp_token::end_url, gcc_assert, gcc_unreachable, m_dump_pp, pp_token_list::m_first, pp_token::m_next, m_optinfo, wrapped_optinfo_item::m_optinfo_item, pp_begin_quote(), pp_end_quote(), pretty_printer::pp_show_color, pp_string(), pretty_printer::pretty_printer(), and pp_token::text.
◆ m_dump_pp
◆ m_optinfo
optinfo* dump_pretty_printer::custom_token_printer::m_optinfo |
The documentation for this struct was generated from the following files: