src
Public Member Functions | Public Attributes | List of all members
re2c::Output Struct Reference

#include <output.h>

Collaboration diagram for re2c::Output:
Collaboration graph
[legend]

Public Member Functions

 Output (const char *source_name, const char *header_name)
 
 ~Output ()
 

Public Attributes

OutputFile source
 
HeaderFile header
 
std::vector< std::string > types
 
std::set< std::string > skeletons
 
size_t max_fill
 

Detailed Description

Definition at line 134 of file output.h.

Constructor & Destructor Documentation

re2c::Output::Output ( const char *  source_name,
const char *  header_name 
)

Definition at line 371 of file output.cc.

372  : source (source_name)
373  , header (header_name)
374  , types ()
375  , skeletons ()
376  , max_fill (1)
377 {}
size_t max_fill
Definition: output.h:140
std::vector< std::string > types
Definition: output.h:138
OutputFile source
Definition: output.h:136
HeaderFile header
Definition: output.h:137
std::set< std::string > skeletons
Definition: output.h:139
re2c::Output::~Output ( )

Definition at line 379 of file output.cc.

380 {
381  if (!warn.error ())
382  {
384  header.emit (types);
385  }
386 }
size_t max_fill
Definition: output.h:140
Warn warn
Definition: warn.cc:11
std::vector< std::string > types
Definition: output.h:138
OutputFile source
Definition: output.h:136
HeaderFile header
Definition: output.h:137
void emit(const std::vector< std::string > &types, size_t max_fill)
Definition: output.cc:291
void emit(const std::vector< std::string > &types)
Definition: output.cc:353
bool error() const
Definition: warn.cc:34

Here is the call graph for this function:

Member Data Documentation

HeaderFile re2c::Output::header

Definition at line 137 of file output.h.

size_t re2c::Output::max_fill

Definition at line 140 of file output.h.

std::set<std::string> re2c::Output::skeletons

Definition at line 139 of file output.h.

OutputFile re2c::Output::source

Definition at line 136 of file output.h.

std::vector<std::string> re2c::Output::types

Definition at line 138 of file output.h.


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