class Pod::Heading

Heading in a Pod document

class Pod::Heading is Pod::Block { }

Class for headings in a Pod document.

Methods

method level

method level(--> Int)

Returns the level of the heading, starting at 1.

Type Graph

Type relations for Pod::Heading
perl6-type-graph Pod::Heading Pod::Heading Pod::Block Pod::Block Pod::Heading->Pod::Block Mu Mu Any Any Any->Mu Pod::Block->Any

Expand above chart

Routines supplied by class Pod::Block

Pod::Heading inherits from class Pod::Block, which provides the following routines:

(Pod::Block) method contents

method contents(--> Positional:D)

Returns a list of contents of this block.

(Pod::Block) method config

method config(--> Map:D)

Returns a hash of configs.