osprey/kg++fe/gnu/pretty-print.h File Reference

#include "diagnostic.h"

Include dependency graph for pretty-print.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  pretty_print_info

Defines

#define pp_left_paren(PPI)   output_add_character (pp_buffer (PPI), '(')
#define pp_right_paren(PPI)   output_add_character (pp_buffer (PPI), ')')
#define pp_left_bracket(PPI)   output_add_character (pp_buffer (PPI), '[')
#define pp_right_bracket(PPI)   output_add_character (pp_buffer (PPI), ']')
#define pp_left_brace(PPI)   output_add_character (pp_buffer (PPI), '{')
#define pp_right_brace(PPI)   output_add_character (pp_buffer (PPI), '}')
#define pp_semicolon(PPI)   output_add_character (pp_buffer (PPI), ';')
#define pp_comma(PPI)   output_add_string (pp_buffer (PPI), ", ")
#define pp_dot(PPI)   output_add_character (pp_buffer (PPI), '.')
#define pp_colon(PPI)   output_add_character (pp_buffer (PPI), ':')
#define pp_colon_colon(PPI)   output_add_string (pp_buffer (PPI), "::")
#define pp_arrow(PPI)   output_add_string (pp_buffer (PPI), "->")
#define pp_equal(PPI)   output_add_character (pp_buffer (PPI), '=')
#define pp_question(PPI)   output_add_character (pp_buffer (PPI), '?')
#define pp_bar(PPI)   output_add_character (pp_buffer (PPI), '|')
#define pp_carret(PPI)   output_add_character (pp_buffer (PPI), '^')
#define pp_ampersand(PPI)   output_add_character (pp_buffer (PPI), '&')
#define pp_less(PPI)   output_add_character (pp_buffer (PPI), '<')
#define pp_greater(PPI)   output_add_character (pp_buffer (PPI), '>')
#define pp_plus(PPI)   output_add_character (pp_buffer (PPI), '+')
#define pp_minus(PPI)   output_add_character (pp_buffer (PPI), '-')
#define pp_star(PPI)   output_add_character (pp_buffer (PPI), '*')
#define pp_slash(PPI)   output_add_character (pp_buffer (PPI), '/')
#define pp_modulo(PPI)   output_add_character (pp_buffer (PPI), '%')
#define pp_exclamation(PPI)   output_add_character (pp_buffer (PPI), '!')
#define pp_complement(PPI)   output_add_character (pp_buffer (PPI), '~')
#define pp_quote(PPI)   output_add_character (pp_buffer (PPI), '\'')
#define pp_backquote(PPI)   output_add_character (pp_buffer (PPI), '`')
#define pp_doublequote(PPI)   output_add_character (pp_buffer (PPI), '"')
#define pp_newline(PPI)   output_add_newline (pp_buffer (PPI))
#define pp_character(PPI, C)   output_add_character (pp_buffer (PPI), C)
#define pp_whitespace(PPI)   output_add_space (pp_buffer (PPI))
#define pp_indentation(PPI)   output_indentation (pp_buffer (PPI))
#define pp_newline_and_indent(PPI, N)
#define pp_separate_with(PPI, C)
#define pp_format_scalar(PPI, F, S)   output_formatted_scalar (pp_buffer (PPI), F, S)
#define pp_wide_integer(PPI, I)   pp_format_scalar (PPI, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) I)
#define pp_pointer(PPI, P)   pp_format_scalar (PPI, "%p", p)
#define pp_identifier(PPI, ID)   output_add_string (pp_buffer (PPI), ID)
#define pp_tree_identifier(PPI, T)   pp_identifier(PPI, IDENTIFIER_POINTER (T))
#define pp_unsupported_tree(PPI, T)

Typedefs

typedef unsigned int pp_flags

Enumerations

enum  pp_padding {
  pp_none, pp_before, pp_after, pp_none,
  pp_before, pp_after, pp_none, pp_before,
  pp_after, pp_none, pp_before, pp_after
}


Define Documentation

#define pp_ampersand ( PPI   )     output_add_character (pp_buffer (PPI), '&')

#define pp_arrow ( PPI   )     output_add_string (pp_buffer (PPI), "->")

Definition at line 55 of file pretty-print.h.

Referenced by dump_expr(), pp_c_arrow(), and pp_c_postfix_expression().

#define pp_backquote ( PPI   )     output_add_character (pp_buffer (PPI), '`')

Definition at line 71 of file pretty-print.h.

#define pp_bar ( PPI   )     output_add_character (pp_buffer (PPI), '|')

Definition at line 58 of file pretty-print.h.

Referenced by pp_c_inclusive_or_expression().

#define pp_carret ( PPI   )     output_add_character (pp_buffer (PPI), '^')

Definition at line 59 of file pretty-print.h.

Referenced by pp_c_exclusive_or_expression().

#define pp_character ( PPI,
 )     output_add_character (pp_buffer (PPI), C)

#define pp_colon ( PPI   )     output_add_character (pp_buffer (PPI), ':')

#define pp_colon_colon ( PPI   )     output_add_string (pp_buffer (PPI), "::")

Definition at line 54 of file pretty-print.h.

Referenced by pp_cxx_colon_colon().

#define pp_comma ( PPI   )     output_add_string (pp_buffer (PPI), ", ")

Definition at line 51 of file pretty-print.h.

#define pp_complement ( PPI   )     output_add_character (pp_buffer (PPI), '~')

#define pp_dot ( PPI   )     output_add_character (pp_buffer (PPI), '.')

Definition at line 52 of file pretty-print.h.

Referenced by dump_expr(), pp_c_dot(), pp_c_initializer_list(), and pp_c_postfix_expression().

#define pp_doublequote ( PPI   )     output_add_character (pp_buffer (PPI), '"')

Definition at line 72 of file pretty-print.h.

Referenced by pp_c_string_literal().

#define pp_equal ( PPI   )     output_add_character (pp_buffer (PPI), '=')

#define pp_exclamation ( PPI   )     output_add_character (pp_buffer (PPI), '!')

Definition at line 68 of file pretty-print.h.

Referenced by pp_c_exclamation(), and pp_c_unary_expression().

#define pp_format_scalar ( PPI,
F,
S   )     output_formatted_scalar (pp_buffer (PPI), F, S)

Definition at line 87 of file pretty-print.h.

Referenced by pp_c_char().

#define pp_greater ( PPI   )     output_add_character (pp_buffer (PPI), '>')

Definition at line 62 of file pretty-print.h.

Referenced by pp_c_relational_expression().

#define pp_identifier ( PPI,
ID   )     output_add_string (pp_buffer (PPI), ID)

#define pp_indentation ( PPI   )     output_indentation (pp_buffer (PPI))

#define pp_left_brace ( PPI   )     output_add_character (pp_buffer (PPI), '{')

#define pp_left_bracket ( PPI   )     output_add_character (pp_buffer (PPI), '[')

Definition at line 46 of file pretty-print.h.

Referenced by pp_c_left_bracket(), and pp_cxx_delete_expression().

#define pp_left_paren ( PPI   )     output_add_character (pp_buffer (PPI), '(')

#define pp_less ( PPI   )     output_add_character (pp_buffer (PPI), '<')

Definition at line 61 of file pretty-print.h.

Referenced by pp_c_relational_expression().

#define pp_minus ( PPI   )     output_add_character (pp_buffer (PPI), '-')

#define pp_modulo ( PPI   )     output_add_character (pp_buffer (PPI), '%')

#define pp_newline ( PPI   )     output_add_newline (pp_buffer (PPI))

#define pp_newline_and_indent ( PPI,
 ) 

Value:

do {                                \
    pp_indentation (PPI) += N;        \
    pp_newline (PPI);                 \
  } while (0)

Definition at line 77 of file pretty-print.h.

Referenced by pp_c_statement(), pp_cxx_statement(), and pp_cxx_template_declaration().

#define pp_plus ( PPI   )     output_add_character (pp_buffer (PPI), '+')

Definition at line 63 of file pretty-print.h.

Referenced by pp_c_additive_expression(), and pp_cxx_unary_expression().

#define pp_pointer ( PPI,
P   )     pp_format_scalar (PPI, "%p", p)

Definition at line 91 of file pretty-print.h.

Referenced by pp_base_format(), and pp_base_format_text().

#define pp_question ( PPI   )     output_add_character (pp_buffer (PPI), '?')

Definition at line 57 of file pretty-print.h.

Referenced by pp_c_conditional_expression(), and pp_cxx_conditional_expression().

#define pp_quote ( PPI   )     output_add_character (pp_buffer (PPI), '\'')

Definition at line 70 of file pretty-print.h.

Referenced by pp_c_character_constant(), and pp_c_character_literal().

#define pp_right_brace ( PPI   )     output_add_character (pp_buffer (PPI), '}')

#define pp_right_bracket ( PPI   )     output_add_character (pp_buffer (PPI), ']')

Definition at line 47 of file pretty-print.h.

Referenced by pp_c_right_bracket(), and pp_cxx_delete_expression().

#define pp_right_paren ( PPI   )     output_add_character (pp_buffer (PPI), ')')

#define pp_semicolon ( PPI   )     output_add_character (pp_buffer (PPI), ';')

Definition at line 50 of file pretty-print.h.

Referenced by dump_generic_node(), pp_c_semicolon(), pp_c_statement(), and pp_cfg_jump().

#define pp_separate_with ( PPI,
 ) 

#define pp_slash ( PPI   )     output_add_character (pp_buffer (PPI), '/')

#define pp_star ( PPI   )     output_add_character (pp_buffer (PPI), '*')

#define pp_tree_identifier ( PPI,
T   )     pp_identifier(PPI, IDENTIFIER_POINTER (T))

Definition at line 94 of file pretty-print.h.

Referenced by dump_decl_name(), dump_generic_node(), pp_c_attributes(), and pp_c_statement().

#define pp_unsupported_tree ( PPI,
T   ) 

#define pp_whitespace ( PPI   )     output_add_space (pp_buffer (PPI))

#define pp_wide_integer ( PPI,
 )     pp_format_scalar (PPI, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) I)


Typedef Documentation

typedef unsigned int pp_flags

Definition at line 28 of file pretty-print.h.


Enumeration Type Documentation

enum pp_padding

Enumerator:
pp_none 
pp_before 
pp_after 
pp_none 
pp_before 
pp_after 
pp_none 
pp_before 
pp_after 
pp_none 
pp_before 
pp_after 

Definition at line 30 of file pretty-print.h.


Generated on Wed Apr 8 15:41:52 2009 for Open64 by  doxygen 1.5.6