class Pod::Block { }

Class for a Pod block, and base class for most other Pod classes.

A Pod block has contents (more pod blocks or strings) and a config hash.

Useful subclasses:

ClassUsed for
Pod::Block::Paraparagraphs
Pod::Block::Namednamed blocks
Pod::Block::Declaratordeclarator blocks
Pod::Block::Codecode blocks
Pod::Block::Commentcomments
Pod::Block::Table=begin/end table tabular data
Pod::Heading=head1 etc. headings
Pod::Itemlist items
Pod::Defndefinition lists
Pod::FormattingCodeformatting codes

Methods§

method contents§

method contents(--> Positional:D)

Returns a list of contents of this block.

method config§

method config(--> Map:D)

Returns a hash of configs.

Typegraph§

Type relations for Pod::Block
raku-type-graph Block Block Code Code Block->Code Mu Mu Any Any Any->Mu Callable Callable Code->Any Code->Callable Routine Routine Routine->Block Sub Sub Sub->Routine Macro Macro Macro->Routine Submethod Submethod Submethod->Routine Method Method Method->Routine Regex Regex Regex->Method

Expand chart above