assignTypes

abstract suspend fun assignTypes(assignments: List<Pair<NodeRef, String?>>)(source)

Applies assignments in order as one atomic change; a later assignment to the same object sees the earlier ones. When one of them fails the checks of assignType, nothing changes.