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