title: How do I document vals in pattern definitions
body: <p>I would like to create ScalaDoc entries to every val and def of my class.  The problem is that the vals lie inside a pattern definition, and don't know how to use the <code>/** */</code> syntax.</p>
  
  <p>Example:</p>
  
  <pre><code>class C(id: String) {
     val (part1, part2) = {
           .....
           (expr1, expr2)
     }
  }
  </code></pre>
  
  <p>How do I document <em>part1</em> and <em>part2</em>?</p>
  
  <p>I've read before asking <a href="https://wiki.scala-lang.org/display/SW/Tags+and+Annotations" rel="noreferrer">this documentation</a> about ScalaDoc.</p>