In RakuAST::Doc::Declarator§

See primary documentation in context for method add-leading.

$declarator.add-leading("additional");

Add a line to the leading documentation.

In RakuAST::Doc::DeclaratorTarget§

See primary documentation in context for method add-leading.

$target.add-leading("additional");

Add a line to the leading documentation. Creates a RakuAST::Doc::Declarator object and sets it in the .WHY if there wasn't one already.