original_string: protected function parseGroupOpen(Token\Group\Open $token, \SplStack $stack) 
  	{
  		$group = new Element\Group();
  		
  		// if the group is not the root
  		if ($stack->count() > 0) {
  			// set the parent-child and child-parent relationships
  			$group->setParent($stack->top());
  			$stack->top()->appendChild($group);
  		}
  		
  		$stack->push($group);
  		
  		return;
  	}
code: protected function parseGroupOpen(Token\Group\Open $token, \SplStack $stack) 
  	{
  		$group = new Element\Group();
  		
  		// if the group is not the root
  		if ($stack->count() > 0) {
  			// set the parent-child and child-parent relationships
  			$group->setParent($stack->top());
  			$stack->top()->appendChild($group);
  		}
  		
  		$stack->push($group);
  		
  		return;
  	}
code_tokens: protected function parseGroupOpen ( Token \ Group \ Open $ token , \ SplStack $ stack ) { $ group = new Element \ Group ( ) ; // if the group is not the root if ( $ stack -> count ( ) > 0 ) { // set the parent-child and child-parent relationships $ group -> setParent ( $ stack -> top ( ) ) ; $ stack -> top ( ) -> appendChild ( $ group ) ; } $ stack -> push ( $ group ) ; return ; }
docstring: Parses a group-open token
  
  @param  Jstewmc\Rtf\Token\Group\Open  $token  the group-open token
  @param  SplStack                      $stack  the group stack
  @param  Jstewmc\Rtf\Element\Group     $root   the root group (optional; if
  omitted, defaults to null)
  @return  void
  @since  0.1.0
docstring_tokens: Parses a group - open token