src/generators/server-side-rendering/visitors/IfBlock.js/visitIfBlock
export default function visitIfBlock ( generator, block, node ) {
	const { snippet } = block.contextualise( node.expression );

	generator.append( '${ ' + snippet + ' ? `' );

	const childBlock = block.child({
		conditions: block.conditions.concat( snippet )
	});

	node.children.forEach( child => {
		visit( generator, childBlock, child );
	});

	generator.append( '` : `' );

	if ( node.else ) {
		node.else.children.forEach( child => {
			visit( generator, childBlock, child );
		});
	}

	generator.append( '` }' );
}