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


Public Types | |
| enum class | kind { text , begin_color , end_color , begin_quote , end_quote , begin_url , end_url , event_id , custom_data , NUM_KINDS } |
Public Member Functions | |
| pp_token_text (label_text &&value) | |
| void | dump (FILE *out) const |
| void DEBUG_FUNCTION | dump () const |
Static Public Member Functions | |
| static void * | operator new (size_t sz, obstack &s) |
| static void | operator delete (void *) |
Data Fields | |
| label_text | m_value |
| enum kind | m_kind |
| pp_token * | m_prev |
| pp_token * | m_next |
Subclasses of pp_token for the various kinds of token.
|
stronginherited |
|
inline |
References gcc_assert, m_value, pp_token::pp_token(), and pp_token::text.
|
inlineinherited |
References DEBUG_FUNCTION, and dump().
Referenced by dump().
|
inherited |
References as_a(), begin_color, begin_quote, begin_url, custom_data, end_color, end_quote, end_url, event_id, gcc_assert, gcc_unreachable, m_kind, and text.
|
staticinherited |
|
staticinherited |
Make room for a pp_token instance within obstack S.
References allocate_object(), and obstack.
|
inherited |
|
inherited |
Referenced by pp_token_list::apply_urlifier(), default_token_printer(), pp_token_list::insert_after(), pp_token_list::merge_consecutive_text_tokens(), pp_token_list::pop_front(), pp_token(), diagnostics::sarif_builder::sarif_token_printer::print_tokens(), dump_pretty_printer::custom_token_printer::print_tokens(), pp_token_list::remove_token(), pp_token_list::replace_custom_tokens(), and pp_token_list::~pp_token_list().
|
inherited |
Referenced by pp_token_list::insert_after(), pp_token_list::pop_front(), pp_token(), and pp_token_list::remove_token().
| label_text pp_token_text::m_value |
Referenced by pp_token_list::merge_consecutive_text_tokens(), and pp_token_text().