GCC Middle and Back End API Reference
|
#include <pretty-print.h>
Public Member Functions | |
pretty_printer (const char *=NULL, int=0) | |
virtual | ~pretty_printer () |
Data Fields | |
output_buffer * | buffer |
const char * | prefix |
pp_padding | padding |
int | maximum_length |
int | indent_skip |
pp_wrapping_mode_t | wrapping |
printer_fn | format_decoder |
bool | emitted_prefix |
bool | need_newline |
bool | translate_identifiers |
bool | show_color |
The data structure that contains the bare minimum required to do proper pretty-printing. Clients may derived from this structure and add additional fields they need.
|
explicit |
Construct a PRETTY-PRINTER with PREFIX and of MAXIMUM_LENGTH characters per line.
References DIAGNOSTICS_SHOW_PREFIX_ONCE, and pp_set_prefix().
|
virtual |
References buffer, and output_buffer::~output_buffer().
output_buffer* pretty_printer::buffer |
bool pretty_printer::emitted_prefix |
Referenced by pp_clear_state(), pp_emit_prefix(), and pp_set_prefix().
printer_fn pretty_printer::format_decoder |
int pretty_printer::indent_skip |
int pretty_printer::maximum_length |
Referenced by pp_remaining_character_count_for_line(), and pp_set_real_maximum_length().
bool pretty_printer::need_newline |
pp_padding pretty_printer::padding |
Referenced by pp_maybe_space().
const char* pretty_printer::prefix |
bool pretty_printer::show_color |
bool pretty_printer::translate_identifiers |
pp_wrapping_mode_t pretty_printer::wrapping |