add_when_block_branches(when_block, branches)#

Add new branches to a when block.

Parameters:
when_blocksuite.WhenBlock

Input block.

branchesList[WhenBranch]

List of intermediate structures describing the branches.

Returns:
List[suite.WhenBranch]