| GCC Middle and Back End API Reference
    | 
#include <diagnostic.h>

| Public Member Functions | |
| diagnostic_location_print_policy (const diagnostic_context &dc) | |
| diagnostic_location_print_policy (const diagnostic_text_output_format &) | |
| bool | show_column_p () const | 
| const diagnostic_column_policy & | get_column_policy () const | 
| void | print_text_span_start (const diagnostic_context &dc, pretty_printer &pp, const expanded_location &exploc) | 
| void | print_html_span_start (const diagnostic_context &dc, xml::printer &xp, const expanded_location &exploc) | 
| Private Attributes | |
| diagnostic_column_policy | m_column_policy | 
| bool | m_show_column | 
A bundle of state for printing locations within diagnostics (e.g. "FILENAME:LINE:COLUMN"), to isolate the interactions between diagnostic_context and the start_span callbacks.
| diagnostic_location_print_policy::diagnostic_location_print_policy | ( | const diagnostic_context & | dc | ) | 
References m_column_policy, and m_show_column.
| diagnostic_location_print_policy::diagnostic_location_print_policy | ( | const diagnostic_text_output_format & | text_output | ) | 
References m_column_policy, and m_show_column.
| 
 | inline | 
References m_column_policy.
Referenced by default_diagnostic_start_span_fn< to_html >(), and default_diagnostic_start_span_fn< to_text >().
| void diagnostic_location_print_policy::print_html_span_start | ( | const diagnostic_context & | dc, | 
| xml::printer & | xp, | ||
| const expanded_location & | exploc ) | 
| void diagnostic_location_print_policy::print_text_span_start | ( | const diagnostic_context & | dc, | 
| pretty_printer & | pp, | ||
| const expanded_location & | exploc ) | 
| 
 | inline | 
References m_show_column.
Referenced by default_diagnostic_start_span_fn< to_html >(), and default_diagnostic_start_span_fn< to_text >().
| 
 | private | 
Referenced by diagnostic_location_print_policy(), diagnostic_location_print_policy(), and get_column_policy().
| 
 | private | 
Referenced by diagnostic_location_print_policy(), diagnostic_location_print_policy(), and show_column_p().