buildContexts

abstract fun buildContexts(stack: List<ItemType>, previousStack: List<ItemType>?, treatNewEnteringAsPreparing: Boolean, recalculateEnteringToMoving: Boolean, previousContexts: Map<Key, Context>? = null): Map<Key, Pair<Context, CreationContext>>