BinOp is a binary operator.
| 178 | |
| 179 | // BinOp is a binary operator. |
| 180 | type BinOp struct { |
| 181 | LeftType *types.T |
| 182 | RightType *types.T |
| 183 | ReturnType *types.T |
| 184 | NullableArgs bool |
| 185 | Fn func(*EvalContext, Datum, Datum) (Datum, error) |
| 186 | |
| 187 | types TypeList |
| 188 | retType ReturnTyper |
| 189 | |
| 190 | //// counter, if non-nil, should be incremented every time the |
| 191 | //// operator is type checked. |
| 192 | //counter telemetry.Counter |
| 193 | } |
| 194 | |
| 195 | func (op *BinOp) params() TypeList { |
| 196 | return op.types |
nothing calls this directly
no outgoing calls
no test coverage detected