(rego ast.Ref)
| 34 | func (alwaysFalse) UseAs() Node { return alwaysFalse{} } |
| 35 | |
| 36 | func (f alwaysFalse) ConvertVariable(rego ast.Ref) (Node, bool) { |
| 37 | if f.Matcher != nil { |
| 38 | n, ok := f.Matcher.ConvertVariable(rego) |
| 39 | if ok { |
| 40 | return alwaysFalse{ |
| 41 | Matcher: f.Matcher, |
| 42 | InnerNode: n, |
| 43 | }, true |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | return nil, false |
| 48 | } |
| 49 | |
| 50 | func (alwaysFalse) SQLString(_ *SQLGenerator) string { |
| 51 | return "false" |
nothing calls this directly
no test coverage detected