GCC Middle and Back End API Reference
pp_token_text Struct Reference

#include <pretty-print-format-impl.h>

Inheritance diagram for pp_token_text:
Collaboration diagram for pp_token_text:

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_tokenm_prev
 
pp_tokenm_next
 

Detailed Description

Subclasses of pp_token for the various kinds of token.   

Member Enumeration Documentation

◆ kind

enum class pp_token::kind
stronginherited
Enumerator
text 
begin_color 
end_color 
begin_quote 
end_quote 
begin_url 
end_url 
event_id 
custom_data 
NUM_KINDS 

Constructor & Destructor Documentation

◆ pp_token_text()

pp_token_text::pp_token_text ( label_text && value)
inline

References gcc_assert, and m_value.

Member Function Documentation

◆ dump() [1/2]

void DEBUG_FUNCTION pp_token::dump ( ) const
inlineinherited

References pp_token::dump().

Referenced by pp_token::dump().

◆ dump() [2/2]

◆ operator delete()

void pp_token::operator delete ( void * )
staticinherited

◆ operator new()

void * pp_token::operator new ( size_t sz,
obstack & s )
staticinherited
Make room for a pp_token instance within obstack S.   

References allocate_object().

Field Documentation

◆ m_kind

◆ m_next

◆ m_prev

◆ m_value


The documentation for this struct was generated from the following file: