original_string: public function getNode($forceRootNode = false)
      {
          if ($forceRootNode) {
              $this->parent = null;
          }
  
          if (null !== $this->normalization) {
              $this->normalization->before = ExprBuilder::buildExpressions($this->normalization->before);
          }
  
          if (null !== $this->validation) {
              $this->validation->rules = ExprBuilder::buildExpressions($this->validation->rules);
          }
  
          $node = $this->createNode();
          $node->setAttributes($this->attributes);
  
          return $node;
      }
code: public function getNode($forceRootNode = false)
      {
          if ($forceRootNode) {
              $this->parent = null;
          }
  
          if (null !== $this->normalization) {
              $this->normalization->before = ExprBuilder::buildExpressions($this->normalization->before);
          }
  
          if (null !== $this->validation) {
              $this->validation->rules = ExprBuilder::buildExpressions($this->validation->rules);
          }
  
          $node = $this->createNode();
          $node->setAttributes($this->attributes);
  
          return $node;
      }
code_tokens: public function getNode ( $ forceRootNode = false ) { if ( $ forceRootNode ) { $ this -> parent = null ; } if ( null !== $ this -> normalization ) { $ this -> normalization -> before = ExprBuilder :: buildExpressions ( $ this -> normalization -> before ) ; } if ( null !== $ this -> validation ) { $ this -> validation -> rules = ExprBuilder :: buildExpressions ( $ this -> validation -> rules ) ; } $ node = $ this -> createNode ( ) ; $ node -> setAttributes ( $ this -> attributes ) ; return $ node ; }
docstring: Creates the node.
  
  @param bool $forceRootNode Whether to force this node as the root node
  
  @return NodeInterface
docstring_tokens: Creates the node .