commits
tags
#ifndef _RE2C_IR_REGEXP_REGEXP_MATCH_
#define _RE2C_IR_REGEXP_REGEXP_MATCH_
#include "src/ir/regexp/regexp.h"
#include "src/util/range.h"
namespace re2c
{
class MatchOp: public RegExp
{
public:
Range * match;
inline MatchOp (Range * m)
: match (m)
{}
void split (std::set<uint32_t> &);
uint32_t calc_size() const;
uint32_t fixedLength ();
nfa_state_t *compile(nfa_t &nfa, nfa_state_t *n);
void display (std::ostream & o) const;
FORBID_COPY (MatchOp);
};
} // end namespace re2c
#endif // _RE2C_IR_REGEXP_REGEXP_MATCH_