#include <path.h>
|
typedef std::vector< uint32_t > | arc_t |
|
Definition at line 31 of file path.h.
re2c::path_t::path_t |
( |
rule_t |
r, |
|
|
bool |
c |
|
) |
| |
|
inlineexplicit |
void re2c::path_t::append |
( |
const path_t * |
p | ) |
|
|
inline |
Definition at line 85 of file path.h.
87 if (!p->rule.rank.is_none ())
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 ());
void re2c::path_t::extend |
( |
rule_t |
r, |
|
|
bool |
c, |
|
|
const arc_t * |
a |
|
) |
| |
|
inline |
Definition at line 71 of file path.h.
74 if (!r.rank.is_none ())
77 rule_pos = arcs.size ();
82 ctx_pos = arcs.size ();
size_t re2c::path_t::len |
( |
| ) |
const |
|
inline |
size_t re2c::path_t::len_matching |
( |
| ) |
const |
|
inline |
const arc_t* re2c::path_t::operator[] |
( |
size_t |
i | ) |
const |
|
inline |
The documentation for this class was generated from the following file: