6 class RuleDescription {
12 NEEDS_MATCH_ALL = (1 << 3),
15 RuleDescription(
const std::string &n,
unsigned int flags)
16 : name(n), multi(flags & IS_MULTI), can_check(flags & CAN_CHECK), can_apply(flags & CAN_APPLY),
17 needs_match_all(flags & NEEDS_MATCH_ALL)
28 extern const std::map<RuleID, RuleDescription> rule_descriptions;