original_string: public static function get($node, $tagName, $count = 1) {
          $node = $node->{$tagName};
          if ($node->count() !== $count)
              throw new XmlParserException("xml does not have exactly $count $tagName's");
          return $node[0];
      }
code: public static function get($node, $tagName, $count = 1) {
          $node = $node->{$tagName};
          if ($node->count() !== $count)
              throw new XmlParserException("xml does not have exactly $count $tagName's");
          return $node[0];
      }
code_tokens: public static function get ( $ node , $ tagName , $ count = 1 ) { $ node = $ node -> { $ tagName } ; if ( $ node -> count ( ) !== $ count ) throw new XmlParserException ( "xml does not have exactly $count $tagName's" ) ; return $ node [ 0 ] ; }
docstring: Returns a child node for a tag name from an XML node.
  @param \SimpleXMLElement $node
  @param string $tagName
  @param int $count how many child nodes for the tag name are allowed
  @return \SimpleXMLElement
docstring_tokens: Returns a child node for a tag name from an XML node .