Node
This struct contains only a next pointer and not any data payload. The
intended usage is to embed it intrusively into another data structure and
access the data with @fieldParentPtr.
Fields of this type
Fields
- next:?*Node
- = null
Functions in this namespace
Functions
- removeNext
- Remove the node after the one provided, returning it.
- findLast
- Iterate over the singly-linked list from this node, until the final
- countChildren
- Iterate over each next node, returning the count of all nodes except
- reverse
- Reverse the list starting from this node in-place.