GCC Middle and Back End API Reference
|
#include <pretty-print-format-impl.h>
Public Member Functions | |
pp_token_list *const * | get_token_lists () const |
void | append_formatted_chunk (obstack &s, const char *content) |
void | dump (FILE *out, int indent) const |
void DEBUG_FUNCTION | dump () const |
pp_formatted_chunks * | get_prev () const |
Private Attributes | |
pp_formatted_chunks * | m_prev |
pp_token_list * | m_args [PP_NL_ARGMAX *2] |
Friends | |
class | pretty_printer |
class | pp_markup::context |
class | output_buffer |
The pp_formatted_chunks data structure forms a stack of the results from the first phase of formatting (pp_format) which have not yet been output (pp_output_formatted_text). A stack is necessary because the diagnostic starter may decide to generate its own output by way of the formatter.
void pp_formatted_chunks::append_formatted_chunk | ( | obstack & | s, |
const char * | content ) |
Adds a chunk to the end of formatted output, so that it will be printed by pp_output_formatted_text.
References m_args, pp_token_list::make(), and pp_token_list::push_back_text().
|
inline |
void pp_formatted_chunks::dump | ( | FILE * | out, |
int | indent ) const |
References pp_token_list::dump(), and m_args.
|
inline |
References m_prev.
|
inline |
References m_args.
|
friend |
|
friend |
|
friend |
|
private |
Referenced by append_formatted_chunk(), dump(), pretty_printer::format(), and get_token_lists().
|
private |