| 156 | } |
| 157 | |
| 158 | type UnaryExpr struct { |
| 159 | P position.Position // pos is the position of the op |
| 160 | Expr Node |
| 161 | Op int |
| 162 | |
| 163 | typMu sync.RWMutex |
| 164 | typ types.Type |
| 165 | } |
| 166 | |
| 167 | func (n *UnaryExpr) Pos() *position.Position { |
| 168 | return position.Merge(&n.P, n.Expr.Pos()) |
nothing calls this directly
no outgoing calls
no test coverage detected