Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 215 | |
| 216 | // Format implements the NodeFormatter interface. |
| 217 | func (node *OrExpr) Format(ctx *FmtCtx) { |
| 218 | binExprFmtWithParen(ctx, node.Left, "OR", node.Right, true) |
| 219 | } |
| 220 | |
| 221 | // NewTypedOrExpr returns a new OrExpr that is verified to be well-typed. |
| 222 | func NewTypedOrExpr(left, right TypedExpr) *OrExpr { |
nothing calls this directly
no test coverage detected