Type returns the type of the node.
()
| 58 | |
| 59 | // Type returns the type of the node. |
| 60 | func (n *base) Type() reflect.Type { |
| 61 | if n.nature.Type == nil { |
| 62 | return anyType |
| 63 | } |
| 64 | return n.nature.Type |
| 65 | } |
| 66 | |
| 67 | // SetType sets the type of the node. |
| 68 | func (n *base) SetType(t reflect.Type) { |
nothing calls this directly
no outgoing calls
no test coverage detected