(e *event.Event)
| 244 | } |
| 245 | |
| 246 | func (f *filter) Run(e *event.Event) bool { |
| 247 | if f.expr == nil { |
| 248 | return false |
| 249 | } |
| 250 | return ql.Eval(f.expr, f.mapValuer(e), f.hasFunctions) |
| 251 | } |
| 252 | |
| 253 | // evalBoundSequence evaluates the sequence with bound fields |
| 254 | // and returns true if the sequence expression matches or false |