GCC Middle and Back End API Reference
pp_token_custom_data Struct Reference

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

Inheritance diagram for pp_token_custom_data:
Collaboration diagram for pp_token_custom_data:

Data Structures

class  value
 

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_custom_data (std::unique_ptr< value > val)
 
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

std::unique_ptr< valuem_value
 
enum kind m_kind
 
pp_tokenm_prev
 
pp_tokenm_next
 

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_custom_data()

pp_token_custom_data::pp_token_custom_data ( std::unique_ptr< value > val)
inline

Member Function Documentation

◆ dump() [1/2]

void DEBUG_FUNCTION pp_token::dump ( ) const
inlineinherited

References DEBUG_FUNCTION, and dump().

Referenced by dump().

◆ dump() [2/2]

void pp_token::dump ( FILE * out) const
inherited

◆ 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(), and obstack.

Field Documentation

◆ m_kind

◆ m_next

◆ m_prev

◆ m_value

std::unique_ptr<value> pp_token_custom_data::m_value

Referenced by pp_token_custom_data().


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