Repository navigation
2.1.0
Keep the tree consistent. Iterating a LinkedTreeList now visits the linkers of that list and everything below them and stays within the list (a list of children used to iterate the whole tree from the root; a top level list is unchanged); parseTreeNext / TreeLinkerIterator take an optional boundary parent. Linkers added to a list of children get the list's parent, a removed linker no longer has a parent, and an emptied list remembers its parent. setChildren throws for an item which is not one of the list's linkers and, with no children given, removes the item's children. childrenFromArray keeps existing linkers and plain values (0, '', false, null, strings) instead of copying them into plain objects.