(expr ast.Expr)
| 409 | } |
| 410 | |
| 411 | func (un *unparser) visitSelect(expr ast.Expr) error { |
| 412 | sel := expr.AsSelect() |
| 413 | return un.visitSelectInternal(sel.Operand(), sel.IsTestOnly(), ".", sel.FieldName()) |
| 414 | } |
| 415 | |
| 416 | func (un *unparser) visitSelectInternal(operand ast.Expr, testOnly bool, op string, field string) error { |
| 417 | // handle the case when the select expression was generated by the has() macro. |
no test coverage detected