1 #ifndef _RE2C_IR_SKELETON_PATH_
2 #define _RE2C_IR_SKELETON_PATH_
34 typedef std::vector<uint32_t>
arc_t;
37 std::vector<const arc_t *> arcs;
77 rule_pos = arcs.size ();
82 ctx_pos = arcs.size ();
90 rule_pos = arcs.size () + p->rule_pos;
95 ctx_pos = arcs.size () + p->ctx_pos;
97 arcs.insert (arcs.end (), p->arcs.begin (), p->arcs.end ());
103 #endif // _RE2C_IR_SKELETON_PATH_
void append(const path_t *p)
rule_rank_t match() const
rule_t(rule_rank_t r, bool c)
bool operator<(const rule_t &r) const
size_t len_matching() const
std::vector< uint32_t > arc_t
void extend(rule_t r, bool c, const arc_t *a)
const arc_t * operator[](size_t i) const