(buf *TrackedBuffer, d format.Dialect)
| 16 | } |
| 17 | |
| 18 | func (n *RowExpr) Format(buf *TrackedBuffer, d format.Dialect) { |
| 19 | if n == nil { |
| 20 | return |
| 21 | } |
| 22 | if items(n.Args) { |
| 23 | buf.WriteString("args") |
| 24 | buf.astFormat(n.Args, d) |
| 25 | } |
| 26 | buf.astFormat(n.Xpr, d) |
| 27 | if items(n.Colnames) { |
| 28 | buf.WriteString("cols") |
| 29 | buf.astFormat(n.Colnames, d) |
| 30 | } |
| 31 | } |