The BST maps out where all nodes are that are known to this document.
An extremely expensive operation that scans the BSTs for obvious signs of corruption (empty nodes, non-continuous ldoc, out-of-order ldoc, etc.)
An optional instance of the ListDocumentModel.Logger
class to log all
operations that modify the BST (all calls to _mergeNode
) to help with
bug identification when applicable.
Generated using TypeDoc
A representation of the Logootish Document Model for mapping "real," continuous
known_position
s to Logoot positions. This is useful when working with strings, arrays, or, just in general, anything that needs a fixed order. This does not actually store the data in question, but stores a mapping of real indices in the data to the Logoot positions of that element. This is used to transform edits between ones in the Logoot and local position spaces. One important thing to note: Logoot edits (insertions/removals) can be applied in any order. Local edits must be applied in a consistent order.