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

#include <output.h>

Public Member Functions

 OutputBlock ()
 
 ~OutputBlock ()
 

Public Attributes

std::vector< OutputFragment * > fragments
 
bool used_yyaccept
 
bool force_start_label
 
std::string user_start_label
 
uint32_t line
 

Detailed Description

Definition at line 43 of file output.h.

Constructor & Destructor Documentation

re2c::OutputBlock::OutputBlock ( )

Definition at line 37 of file output.cc.

38  : fragments ()
39  , used_yyaccept (false)
40  , force_start_label (false)
41  , user_start_label ()
42  , line (0)
43 {
44  fragments.push_back (new OutputFragment (OutputFragment::CODE, 0));
45 }
bool force_start_label
Definition: output.h:47
std::string user_start_label
Definition: output.h:48
bool used_yyaccept
Definition: output.h:46
std::vector< OutputFragment * > fragments
Definition: output.h:45
uint32_t line
Definition: output.h:49
re2c::OutputBlock::~OutputBlock ( )

Definition at line 47 of file output.cc.

48 {
49  for (unsigned int i = 0; i < fragments.size (); ++i)
50  {
51  delete fragments[i];
52  }
53 }
std::vector< OutputFragment * > fragments
Definition: output.h:45

Member Data Documentation

bool re2c::OutputBlock::force_start_label

Definition at line 47 of file output.h.

std::vector<OutputFragment *> re2c::OutputBlock::fragments

Definition at line 45 of file output.h.

uint32_t re2c::OutputBlock::line

Definition at line 49 of file output.h.

bool re2c::OutputBlock::used_yyaccept

Definition at line 46 of file output.h.

std::string re2c::OutputBlock::user_start_label

Definition at line 48 of file output.h.


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