method parse-definition-header

Documentation for method parse-definition-header assembled from the following types:

class Documentable::Primary

From Documentable::Primary

(Documentable::Primary) method parse-definition-header

Defined as

method parse-definition-header(Pod::Heading :$heading --> Hash)

This method takes a Pod::Heading element and returns its metadata in a Hash object.

This returned Hash follow this format:

%(
    name       => ...
    kind       => ...
    subkinds   => ...
    categories => ...
)

For this to happen, the Pod::Heading object must verify one of this two conditions: