src
regexp_match.h
Go to the documentation of this file.
1 #ifndef _RE2C_IR_REGEXP_REGEXP_MATCH_
2 #define _RE2C_IR_REGEXP_REGEXP_MATCH_
3 
4 #include "src/ir/regexp/regexp.h"
5 #include "src/util/range.h"
6 
7 namespace re2c
8 {
9 
10 class MatchOp: public RegExp
11 {
12 public:
14 
15  inline MatchOp (Range * m)
16  : match (m)
17  {}
18  void split (std::set<uint32_t> &);
19  uint32_t calc_size() const;
20  uint32_t fixedLength ();
22  void display (std::ostream & o) const;
23 
25 };
26 
27 } // end namespace re2c
28 
29 #endif // _RE2C_IR_REGEXP_REGEXP_MATCH_
uint32_t fixedLength()
Definition: fixed_length.cc:44
nfa_state_t * compile(nfa_t &nfa, nfa_state_t *n)
Definition: nfa.cc:46
Range * match
Definition: regexp_match.h:13
void split(std::set< uint32_t > &)
Definition: split.cc:32
FORBID_COPY(MatchOp)
void display(std::ostream &o) const
Definition: display.cc:35
uint32_t calc_size() const
Definition: calc_size.cc:32
Definition: bitmap.cc:10
MatchOp(Range *m)
Definition: regexp_match.h:15