(expr ast.Expr)
| 371 | } |
| 372 | |
| 373 | func (un *unparser) visitSelect(expr ast.Expr) error { |
| 374 | sel := expr.AsSelect() |
| 375 | return un.visitSelectInternal(sel.Operand(), sel.IsTestOnly(), ".", sel.FieldName()) |
| 376 | } |
| 377 | |
| 378 | func (un *unparser) visitSelectInternal(operand ast.Expr, testOnly bool, op string, field string) error { |
| 379 | // handle the case when the select expression was generated by the has() macro. |
no test coverage detected