Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 184 | |
| 185 | // Format implements the NodeFormatter interface. |
| 186 | func (node *AndExpr) Format(ctx *FmtCtx) { |
| 187 | binExprFmtWithParen(ctx, node.Left, "AND", node.Right, true) |
| 188 | } |
| 189 | |
| 190 | // NewTypedAndExpr returns a new AndExpr that is verified to be well-typed. |
| 191 | func NewTypedAndExpr(left, right TypedExpr) *AndExpr { |
nothing calls this directly
no test coverage detected