TortureDocs.scala 433 B

12345678910111213141516171819202122232425262728
  1. /** Scaladoc kept?
  2. * second line with star
  3. */
  4. def scaladocOnly(): Int = 1
  5. // line one
  6. // line two
  7. def lineRun(): Int = 2
  8. /** block doc */
  9. // trailing line
  10. def mixedBlockThenLine(): Int = 3
  11. // leading line
  12. /** block after line */
  13. def mixedLineThenBlock(): Int = 4
  14. // detached
  15. def blankLineBetween(): Int = 5
  16. /** class doc */
  17. class DocClass {
  18. /** member doc */
  19. def documented(): Int = 6
  20. /** val doc */
  21. val docVal = 7
  22. }