#include <regexp_alt.h>
Definition at line 9 of file regexp_alt.h.
uint32_t re2c::AltOp::calc_size |
( |
| ) |
const |
|
virtual |
Implements re2c::RegExp.
Definition at line 24 of file nfa.cc.
26 nfa_state_t *s = &nfa.states[nfa.size++];
virtual nfa_state_t * compile(nfa_t &nfa, nfa_state_t *n)=0
void re2c::AltOp::display |
( |
std::ostream & |
o | ) |
const |
|
virtual |
uint32_t re2c::AltOp::fixedLength |
( |
| ) |
|
|
virtual |
re2c::AltOp::FORBID_COPY |
( |
AltOp |
| ) |
|
void re2c::AltOp::split |
( |
std::set< uint32_t > & |
cs | ) |
|
|
virtual |
Definition at line 40 of file regexp.cc.
46 a =
dynamic_cast<AltOp*
> (e1);
49 m1 =
dynamic_cast<MatchOp*
> (a->exp1);
57 m1 =
dynamic_cast<MatchOp*
> (e1);
63 a =
dynamic_cast<AltOp*
> (e2);
66 m2 =
dynamic_cast<MatchOp*
> (a->exp1);
74 m2 =
dynamic_cast<MatchOp*
> (e2);
RegExp * doAlt(RegExp *e1, RegExp *e2)
static uint32_t merge(Span *x0, State *fg, State *bg)
AltOp(RegExp *e1, RegExp *e2)
The documentation for this class was generated from the following files: