Docstrings

dotty.tools.dotc.typer.Docstrings$
object Docstrings

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def cookComment(sym: Symbol, owner: Symbol)(using Context): Option[Comment]

Expands or cooks the documentation for sym in class owner. The expanded comment will directly replace the original comment in the doc context.

Expands or cooks the documentation for sym in class owner. The expanded comment will directly replace the original comment in the doc context.

The expansion registers @define sections, and will replace <invalid inheritdoc annotation> and variable occurrences in the comments.

If the doc comments contain @usecase sections, they will be typed.

Attributes

owner

The class for which comments are being cooked.

sym

The symbol for which the comment is being cooked.