<commit_before>/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2003-2006, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |                                         **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id$


package scala.xml;

import scala.runtime.compat.StringBuilder

/** a special XML node is either text (PCDATA), a comment, a PI, or
 *  an entity ref
**/
abstract class SpecialNode extends Node {

  /** always empty */
  final override def attributes = Null;

  /** always Node.EmptyNamespace */
  final override def namespace = null;

  /** always empty */
  final def child = Nil;

  final override def toString(): String =
    toString(new StringBuilder()).toString();

  def toString(sb:StringBuilder): StringBuilder ;

}<commit_msg>fixed method SpecialNode.toString in DocGenerat...<commit_after>/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2003-2006, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |                                         **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */

// $Id$


package scala.xml

import scala.runtime.compat.StringBuilder

/** &lt;code&gt;SpecialNode&lt;/code&gt; is a special XML node which
 *  represents either text (PCDATA), a comment, a PI, or an entity ref.
 *
 *  @author <NAME>
 */
abstract class SpecialNode extends Node {

  /** always empty */
  final override def attributes = Null

  /** always Node.EmptyNamespace */
  final override def namespace = null

  /** always empty */
  final def child = Nil

  final override def toString(): String =
    toString(new StringBuilder()).toString()

  def toString(sb: StringBuilder): StringBuilder

}
{'fraction_non_alphanumeric': 0.12094653812445223, 'fraction_numerical': 0.007011393514460999, 'mean_word_length': 1.071687840290381, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1675536', 'n_tokens_mistral': 570, 'n_tokens_neox': 538, 'n_words': 134}