original_string: public function end()
      {
          if (null === $this->ifPart) {
              throw new \RuntimeException('You must specify an if part.');
          }
          if (null === $this->thenPart) {
              throw new \RuntimeException('You must specify a then part.');
          }
  
          return $this->node;
      }
code: public function end()
      {
          if (null === $this->ifPart) {
              throw new \RuntimeException('You must specify an if part.');
          }
          if (null === $this->thenPart) {
              throw new \RuntimeException('You must specify a then part.');
          }
  
          return $this->node;
      }
code_tokens: public function end ( ) { if ( null === $ this -> ifPart ) { throw new \ RuntimeException ( 'You must specify an if part.' ) ; } if ( null === $ this -> thenPart ) { throw new \ RuntimeException ( 'You must specify a then part.' ) ; } return $ this -> node ; }
docstring: Returns the related node.
  
  @return NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition
  
  @throws \RuntimeException
docstring_tokens: Returns the related node .