protected function computeVariables()
    {
        if ($this->isScopeRoot()) {
            return $this->variables;
        }
        
        if ($this->isScope()) {
            return array_merge($this->parentExecution->computeVariables(), $this->variables);
        }
        
        return $this->parentExecution->computeVariables();
    }