raze-gles/tools/re2c/src/ir/regexp/regexp_close.h
Christoph Oelckers 8c95516224 - added compile tools from GZDoom repo:
- updaterevision for automated revision string generation
- re2c as a prerequisite to use sc_man in the future
- zipdir to automatically generate an engine resource file.
2019-09-22 08:52:30 +02:00

27 lines
480 B
C++

#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_