UnaryOp is a unary operator.
| 66 | |
| 67 | // UnaryOp is a unary operator. |
| 68 | type UnaryOp struct { |
| 69 | Typ *types.T |
| 70 | ReturnType *types.T |
| 71 | Fn func(*EvalContext, Datum) (Datum, error) |
| 72 | |
| 73 | types TypeList |
| 74 | retType ReturnTyper |
| 75 | |
| 76 | //// counter, if non-nil, should be incremented every time the |
| 77 | //// operator is type checked. |
| 78 | //counter telemetry.Counter |
| 79 | } |
| 80 | |
| 81 | func (op *UnaryOp) params() TypeList { |
| 82 | return op.types |
nothing calls this directly
no outgoing calls
no test coverage detected