SetType sets the type of the node.
(t reflect.Type)
| 66 | |
| 67 | // SetType sets the type of the node. |
| 68 | func (n *base) SetType(t reflect.Type) { |
| 69 | n.nature = nature.FromType(t) |
| 70 | } |
| 71 | |
| 72 | // NilNode represents nil. |
| 73 | type NilNode struct { |
nothing calls this directly
no test coverage detected