original_string: public function addChild(&$child)
  	{
  		JLog::add('JNode::addChild() is deprecated.', JLog::WARNING, 'deprecated');
  
  		if ($child instanceof Jnode)
  		{
  			$child->setParent($this);
  		}
  	}
code: public function addChild(&$child)
  	{
  		JLog::add('JNode::addChild() is deprecated.', JLog::WARNING, 'deprecated');
  
  		if ($child instanceof Jnode)
  		{
  			$child->setParent($this);
  		}
  	}
code_tokens: public function addChild ( & $ child ) { JLog :: add ( 'JNode::addChild() is deprecated.' , JLog :: WARNING , 'deprecated' ) ; if ( $ child instanceof Jnode ) { $ child -> setParent ( $ this ) ; } }
docstring: Add child to this node
  
  If the child already has a parent, the link is unset
  
  @param   JNode  &$child  The child to be added
  
  @return  void
  
  @since   11.1
docstring_tokens: Add child to this node