Description returns the rule description if it is set.
()
| 242 | |
| 243 | // Description returns the rule description if it is set. |
| 244 | func (r *Rule) Description() ValueString { |
| 245 | if r.description != nil { |
| 246 | return *r.description |
| 247 | } |
| 248 | return ValueString{} |
| 249 | } |
| 250 | |
| 251 | // Matches returns the ordered set of Match declarations. |
| 252 | func (r *Rule) Matches() []*Match { |
nothing calls this directly
no outgoing calls
no test coverage detected