Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶ added in v0.2.3
type Node[T comparable] interface { String() string // String returns node self information Parent() T // Parent returns parent node or nil NumChild() int // NumChild returns number of child GetChildByIndex(i int) T // GetChildByIndex gets child by index }
Node represents a generic printable node
Click to show internal directories.
Click to hide internal directories.