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 Pod::Block Pod::Block Any Any Pod::Block->Any Mu Mu Any->Mu Pod::Block::Table Pod::Block::Table Pod::Block::Table->Pod::Block Pod::Defn Pod::Defn Pod::Defn->Pod::Block Pod::Heading Pod::Heading Pod::Heading->Pod::Block Pod::Block::Named Pod::Block::Named Pod::Block::Named->Pod::Block Pod::Block::Declarator Pod::Block::Declarator Pod::Block::Declarator->Pod::Block Pod::Item Pod::Item Pod::Item->Pod::Block Pod::Block::Code Pod::Block::Code Pod::Block::Code->Pod::Block Pod::Block::Para Pod::Block::Para Pod::Block::Para->Pod::Block Pod::Block::Comment Pod::Block::Comment Pod::Block::Comment->Pod::Block Pod::FormattingCode Pod::FormattingCode Pod::FormattingCode->Pod::Block

Expand chart above