LayoutBuilder.php
protected function processBlockViewData(
        BlockView $blockView,
        ContextInterface $context,
        DataAccessor $data,
        $deferred,
        $encoding
    ) {
        if ($deferred) {
            $this->expressionProcessor->processExpressions($blockView->vars, $context, $data, true, $encoding);
        }

        $this->buildValueBags($blockView);

        foreach ($blockView->children as $key => $childView) {
            $this->processBlockViewData($childView, $context, $data, $deferred, $encoding);

            if (!$childView->isVisible()) {
                unset($blockView->children[$key]);
            }
        }
    }
protected function processBlockViewData(
        BlockView $blockView,
        ContextInterface $context,
        DataAccessor $data,
        $deferred,
        $encoding
    ) {
        if ($deferred) {
            $this->expressionProcessor->processExpressions($blockView->vars, $context, $data, true, $encoding);
        }

        $this->buildValueBags($blockView);

        foreach ($blockView->children as $key => $childView) {
            $this->processBlockViewData($childView, $context, $data, $deferred, $encoding);

            if (!$childView->isVisible()) {
                unset($blockView->children[$key]);
            }
        }
    }
protected function processBlockViewData ( BlockView $ blockView , ContextInterface $ context , DataAccessor $ data , $ deferred , $ encoding ) { if ( $ deferred ) { $ this -> expressionProcessor -> processExpressions ( $ blockView -> vars , $ context , $ data , true , $ encoding ) ; } $ this -> buildValueBags ( $ blockView ) ; foreach ( $ blockView -> children as $ key => $ childView ) { $ this -> processBlockViewData ( $ childView , $ context , $ data , $ deferred , $ encoding ) ; if ( ! $ childView -> isVisible ( ) ) { unset ( $ blockView -> children [ $ key ] ) ; } } }
Processes expressions that work with data

@param BlockView $blockView
@param ContextInterface $context
@param DataAccessor $data
@param bool $deferred
@param string $encoding
Processes expressions that work with data