Node represents items of abstract syntax tree.
| 13 | |
| 14 | // Node represents items of abstract syntax tree. |
| 15 | type Node interface { |
| 16 | Location() file.Location |
| 17 | SetLocation(file.Location) |
| 18 | Nature() *nature.Nature |
| 19 | SetNature(nature.Nature) |
| 20 | Type() reflect.Type |
| 21 | SetType(reflect.Type) |
| 22 | String() string |
| 23 | } |
| 24 | |
| 25 | // Patch replaces the node with a new one. |
| 26 | // Location information is preserved. |
no outgoing calls
no test coverage detected
searching dependent graphs…