ListTermination

class ntoseye.ListTermination

Subclass of BaseRecord.

The end condition of a guest linked-list walk.

property diagnostic: str | None

Why the walk ended before the list head, if it did.

property kind: Literal['head', 'null', 'cycle', 'bound', 'corrupt']

The variant: head, null, cycle, bound, corrupt.

final class Bound

Subclass of ListTermination.

The walk reached its limit.

property kind: Literal['bound']

bound.

final class Corrupt

Subclass of ListTermination.

property error: str

The problem with a corrupt link.

property kind: Literal['corrupt']

corrupt.

final class Cycle

Subclass of ListTermination.

A loop that does not go through the head.

property address: int

The address where a cycle closed.

property kind: Literal['cycle']

cycle.

final class Head

Subclass of ListTermination.

The walk came back to the list head.

property kind: Literal['head']

head.

final class Null

Subclass of ListTermination.

property kind: Literal['null']

null.