AddMatch addes a Match to the rule.
(m *Match)
| 270 | |
| 271 | // AddMatch addes a Match to the rule. |
| 272 | func (r *Rule) AddMatch(m *Match) { |
| 273 | r.matches = append(r.matches, m) |
| 274 | } |
| 275 | |
| 276 | // AddVariable adds a variable to the rule. |
| 277 | func (r *Rule) AddVariable(v *Variable) { |
no outgoing calls
no test coverage detected