1 #ifndef _RE2C_CODEGEN_OUTPUT_
2 #define _RE2C_CODEGEN_OUTPUT_
62 std::vector<OutputBlock *> blocks;
69 std::ostream & stream ();
114 void emit (
const std::vector<std::string> & types,
size_t max_fill);
124 void emit (
const std::vector<std::string> & types);
127 std::ostringstream stream;
128 const char * file_name;
142 Output (
const char * source_name,
const char * header_name);
148 void output_types (std::ostream &, uint32_t,
const std::vector<std::string> &);
158 #endif // _RE2C_CODEGEN_OUTPUT_
OutputFile & wdelay_warn_condition_order()
void output_line_info(std::ostream &o, uint32_t line_number, const char *file_name)
OutputFragment(type_t t, uint32_t i)
bool get_used_yyaccept() const
OutputFile & wuser_start_label()
std::vector< std::string > types
std::ostringstream stream
OutputFile & wversion_time()
OutputFile & ws(const char *s)
OutputFile & wu32(uint32_t n)
OutputFile & wdelay_state_goto(uint32_t ind)
OutputFile & wdelay_yymaxfill()
OutputFile & wind(uint32_t ind)
OutputFile & wlabel(label_t l)
void output_state_goto(std::ostream &o, uint32_t ind, uint32_t start_label)
OutputFile & wdelay_types()
OutputFile & wc_hex(uint32_t n)
OutputFile & wrange(uint32_t u, uint32_t l)
std::string user_start_label
OutputFile & wdelay_line_info()
void output_types(std::ostream &o, uint32_t ind, const std::vector< std::string > &types)
OutputFile & wu64(uint64_t n)
void emit(const std::vector< std::string > &types, size_t max_fill)
OutputFile(const char *fn)
std::string output_get_state()
Output(const char *source_name, const char *header_name)
bool warn_condition_order
void set_block_line(uint32_t l)
OutputFile & wdelay_yyaccept_init(uint32_t ind)
void output_version_time(std::ostream &o)
OutputFile & wu32_hex(uint32_t n)
bool get_force_start_label() const
OutputFile & wraw(const char *s, size_t n)
std::vector< OutputFragment * > fragments
void output_yymaxfill(std::ostream &o, size_t max_fill)
uint32_t get_block_line() const
OutputFile & wrank(rule_rank_t l)
OutputFile & wu32_width(uint32_t n, int w)
void set_user_start_label(const std::string &label)
counter_t< label_t > label_counter
void output_yyaccept_init(std::ostream &o, uint32_t ind, bool used_yyaccept)
OutputFile & wline_info(uint32_t l, const char *fn)
std::set< std::string > skeletons
OutputFile & wstring(const std::string &s)
void set_force_start_label(bool force)