<commit_before>package dotty.tools.scaladoc
package translators

object ScalaSignatureProvider:
  def rawSignature(documentable: Member, builder: SignatureBuilder): SignatureBuilder =
    documentable.kind match
      case Kind.Extension(_, m) =>
        extensionSignature(documentable, m, builder)
      case Kind.Exported(d) =>
         methodSignature(documentable, d, builder)
      case d: Kind.Def =>
        methodSignature(documentable, d, builder)
      case Kind.Constructor(d) =>
        methodSignature(documentable, d, builder)
      case Kind.Implicit(d: Kind.Def, _) =>
        methodSignature(documentable, d, builder)
      case Kind.EnumCase(cls: Kind.Class) =>
        enumEntrySignature(documentable, cls, builder)
      case Kind.EnumCase(_) =>
       enumPropertySignature(documentable, builder)
      case Kind.Given(cls: Kind.Class, _, _) =>
        givenClassSignature(documentable, cls, builder)
      case Kind.Given(d: Kind.Def, _, _) =>
        givenMethodSignature(documentable, d, builder)
      case Kind.Given(Kind.Val, _, _) =>
        givenPropertySignature(documentable, builder)<commit_msg>Remove unreachable branch<commit_after>package dotty.tools.scaladoc
package translators

object ScalaSignatureProvider:
  def rawSignature(documentable: Member, builder: SignatureBuilder): SignatureBuilder =
    documentable.kind match
      case Kind.Extension(_, m) =>
        extensionSignature(documentable, m, builder)
      case Kind.Exported(d) =>
         methodSignature(documentable, d, builder)
      case d: Kind.Def =>
        methodSignature(documentable, d, builder)
      case Kind.Constructor(d) =>
        methodSignature(documentable, d, builder)
      case Kind.Implicit(d: Kind.Def, _) =>
        methodSignature(documentable, d, builder)
      case Kind.EnumCase(cls: Kind.Class) =>
        enumEntrySignature(documentable, cls, builder)
      case Kind.EnumCase(_) =>
       enumPropertySignature(documentable, builder)
      case Kind.Given(cls: Kind.Class, _, _) =>
        givenClassSignature(documentable, cls, builder)
      case Kind.Given(d: Kind.Def, _, _) =>
        givenMethodSignature(documentable, d, builder)
{'fraction_non_alphanumeric': 0.10354348826507133, 'fraction_numerical': 0.0, 'mean_word_length': 3.529166666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4672325', 'n_tokens_mistral': 604, 'n_tokens_neox': 595, 'n_words': 133}