src
Namespaces | Functions
emit_action.cc File Reference
#include "src/util/c99_stdint.h"
#include <stddef.h>
#include <set>
#include <string>
#include "src/codegen/emit.h"
#include "src/codegen/input_api.h"
#include "src/codegen/output.h"
#include "src/conf/opt.h"
#include "src/globals.h"
#include "src/ir/adfa/action.h"
#include "src/ir/adfa/adfa.h"
#include "src/ir/regexp/regexp.h"
#include "src/ir/regexp/regexp_rule.h"
#include "src/ir/skeleton/skeleton.h"
#include "src/parse/code.h"
#include "src/parse/loc.h"
Include dependency graph for emit_action.cc:

Go to the source code of this file.

Namespaces

 re2c
 

Functions

static void re2c::need (OutputFile &o, uint32_t ind, bool &readCh, size_t n, bool bSetMarker)
 
static void re2c::emit_match (OutputFile &o, uint32_t ind, bool &readCh, const State *const s)
 
static void re2c::emit_initial (OutputFile &o, uint32_t ind, bool &readCh, const State *const s, const Initial &init, const std::set< label_t > &used_labels)
 
static void re2c::emit_save (OutputFile &o, uint32_t ind, bool &readCh, const State *const s, uint32_t save, bool save_yyaccept)
 
static void re2c::emit_accept_binary (OutputFile &o, uint32_t ind, bool &readCh, const State *const s, const accept_t &accept, size_t l, size_t r)
 
static void re2c::emit_accept (OutputFile &o, uint32_t ind, bool &readCh, const State *const s, const accept_t &accept)
 
static void re2c::emit_rule (OutputFile &o, uint32_t ind, const State *const s, const RuleOp *const rule, const std::string &condName, const Skeleton *skeleton)
 
static void re2c::genYYFill (OutputFile &o, size_t need)
 
static void re2c::genSetCondition (OutputFile &o, uint32_t ind, const std::string &newcond)
 
static void re2c::genSetState (OutputFile &o, uint32_t ind, uint32_t fillIndex)
 
void re2c::emit_action (const Action &action, OutputFile &o, uint32_t ind, bool &readCh, const State *const s, const std::string &condName, const Skeleton *skeleton, const std::set< label_t > &used_labels, bool save_yyaccept)