Companion

object Companion

Functions

Link copied to clipboard
fun concatenateAtLeastOneTree(    tuple1: AvailObject,     tuple2: A_Tuple,     canDestroy: Boolean): A_Tuple

Concatenate the two tuples together. At least one of them must be a tree tuple.

Link copied to clipboard
fun createTwoPartTreeTuple(    left: A_Tuple,     right: A_Tuple,     newLevel: Int,     newHashOrZero: Int): AvailObject

Create a 2-child tree tuple at the specified level. The children must both be at newLevel - 1. Neither may be empty.

Link copied to clipboard
fun internalTreeReverse(self: AvailObject): AvailObject

Reverse each child of this tree, then assemble them in reverse order into a new tree. Not that reversing each child may also have to recursively navigate more levels of tree.

Properties

Link copied to clipboard
val descriptors: EnumMap<Mutability, Array<TreeTupleDescriptor>>

The TreeTupleDescriptors, organized by mutability then level.