Rule IsGroup returns true if this node is a group, else it should have rules
()
| 202 | |
| 203 | // IsGroup returns true if this node is a group, else it should have rules |
| 204 | func (pr *Rule) IsGroup() bool { |
| 205 | return pr.HasChildren() |
| 206 | } |
| 207 | |
| 208 | // SetRuleMap is called on the top-level Rule and initializes the RuleMap |
| 209 | func (pr *Rule) SetRuleMap(ps *State) { |
no test coverage detected