original_string: protected function _processExpressions()
      {
          $types = [];
          $typeMap = $this->getTypeMap();
  
          $columns = $this->_columnNames();
          foreach ($columns as $c) {
              if (!is_scalar($c)) {
                  continue;
              }
              $types[$c] = $typeMap->type($c);
          }
  
          $types = $this->_requiresToExpressionCasting($types);
  
          if (empty($types)) {
              return;
          }
  
          foreach ($this->_values as $row => $values) {
              foreach ($types as $col => $type) {
                  /* @var \Cake\Database\Type\ExpressionTypeInterface $type */
                  $this->_values[$row][$col] = $type->toExpression($values[$col]);
              }
          }
          $this->_castedExpressions = true;
      }
code: protected function _processExpressions()
      {
          $types = [];
          $typeMap = $this->getTypeMap();
  
          $columns = $this->_columnNames();
          foreach ($columns as $c) {
              if (!is_scalar($c)) {
                  continue;
              }
              $types[$c] = $typeMap->type($c);
          }
  
          $types = $this->_requiresToExpressionCasting($types);
  
          if (empty($types)) {
              return;
          }
  
          foreach ($this->_values as $row => $values) {
              foreach ($types as $col => $type) {
                  /* @var \Cake\Database\Type\ExpressionTypeInterface $type */
                  $this->_values[$row][$col] = $type->toExpression($values[$col]);
              }
          }
          $this->_castedExpressions = true;
      }
code_tokens: protected function _processExpressions ( ) { $ types = [ ] ; $ typeMap = $ this -> getTypeMap ( ) ; $ columns = $ this -> _columnNames ( ) ; foreach ( $ columns as $ c ) { if ( ! is_scalar ( $ c ) ) { continue ; } $ types [ $ c ] = $ typeMap -> type ( $ c ) ; } $ types = $ this -> _requiresToExpressionCasting ( $ types ) ; if ( empty ( $ types ) ) { return ; } foreach ( $ this -> _values as $ row => $ values ) { foreach ( $ types as $ col => $ type ) { /* @var \Cake\Database\Type\ExpressionTypeInterface $type */ $ this -> _values [ $ row ] [ $ col ] = $ type -> toExpression ( $ values [ $ col ] ) ; } } $ this -> _castedExpressions = true ; }
docstring: Converts values that need to be casted to expressions
  
  @return void
docstring_tokens: Converts values that need to be casted to expressions