AddMatch addes a Match to the rule.
(m *Match)
| 229 | |
| 230 | // AddMatch addes a Match to the rule. |
| 231 | func (r *Rule) AddMatch(m *Match) { |
| 232 | r.matches = append(r.matches, m) |
| 233 | } |
| 234 | |
| 235 | // AddVariable adds a variable to the rule. |
| 236 | func (r *Rule) AddVariable(v *Variable) { |
no outgoing calls
no test coverage detected