src
rules.h
Go to the documentation of this file.
1 #ifndef _RE2C_PARSE_RULES_
2 #define _RE2C_PARSE_RULES_
3 
4 #include <map>
5 #include <set>
6 
7 #include "src/ir/rule_rank.h"
8 
9 namespace re2c
10 {
11 
13 {
14  uint32_t line;
15  std::set<rule_rank_t> shadow;
16  bool reachable;
17 
19  : line (0)
20  , shadow ()
21  , reachable (false)
22  {}
23 };
24 
25 typedef std::map<rule_rank_t, rule_info_t> rules_t;
26 
27 } // namespace re2c
28 
29 #endif // _RE2C_PARSE_RULES_
std::map< rule_rank_t, rule_info_t > rules_t
Definition: rules.h:25
uint32_t line
Definition: rules.h:14
std::set< rule_rank_t > shadow
Definition: rules.h:15
bool reachable
Definition: rules.h:16
Definition: bitmap.cc:10