functionOnColVisitor walks the AST looking for function(column) = value in WHERE.
| 77 | |
| 78 | // functionOnColVisitor walks the AST looking for function(column) = value in WHERE. |
| 79 | type functionOnColVisitor struct { |
| 80 | rule *FunctionOnColumnRule |
| 81 | violations *[]linter.Violation |
| 82 | inWhere bool |
| 83 | } |
| 84 | |
| 85 | func (v *functionOnColVisitor) Visit(node ast.Node) (ast.Visitor, error) { |
| 86 | if node == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected