GCC Middle and Back End API Reference
output_buffer Struct Reference

#include <pretty-print.h>

Collaboration diagram for output_buffer:

Public Member Functions

 output_buffer ()
 ~output_buffer ()

Data Fields

struct obstack formatted_obstack
struct obstack chunk_obstack
struct obstack * obstack
struct chunk_infocur_chunk_array
FILE * stream
int line_length
char digit_buffer [128]

Detailed Description

   The output buffer datatype.  This is best seen as an abstract datatype
   whose fields should not be accessed directly by clients.  

Constructor & Destructor Documentation

output_buffer::output_buffer ( )
@verbatim 

Various declarations for language-independent pretty-print subroutines. Copyright (C) 2003-2013 Free Software Foundation, Inc. Contributed by Gabriel Dos Reis gdr@i.nosp@m.nteg.nosp@m.rable.nosp@m.-sol.nosp@m.ution.nosp@m.s.ne.nosp@m.t

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.

output_buffer::~output_buffer ( )

References chunk_obstack, and formatted_obstack.


Field Documentation

struct obstack output_buffer::chunk_obstack
     Obstack containing a chunked representation of the format
     specification plus arguments.  

Referenced by pp_indent(), and ~output_buffer().

struct chunk_info* output_buffer::cur_chunk_array
     Stack of chunk arrays.  These come from the chunk_obstack.  

Referenced by pp_indent().

char output_buffer::digit_buffer[128]
     This must be large enough to hold any printed integer or
     floating-point value.  
struct obstack output_buffer::formatted_obstack
     Obstack where the text is built up.  

Referenced by ~output_buffer().

int output_buffer::line_length
     The amount of characters output so far.  
struct obstack* output_buffer::obstack
     Currently active obstack: one of the above two.  This is used so
     that the text formatters don't need to know which phase we're in.  
FILE* output_buffer::stream
     Where to output formatted text.  

Referenced by debug_gimple_stmt(), and dump_rdg().


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