logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Embperl::Syntax::POD - convert POD to XML on-the-fly

Author

       G. Richter (richter at embperl dot org)

Description

       Class derived from Embperl::Syntax to convert Perl Plain Old Documentation (POD) files on the fly into
       XML.

       Used for generating the Embperl online documentation from the Embperl POD files. See to eg directory in
       the distribution for an example how to use it.

Methods

Embperl::Syntax::POD defines the following methods:

   Embperl::Syntax::POD->new/$self->new
       Create a new syntax class. This method should only be called inside a constructor of a derived class.

   AddPODCmd($cmdname,$procinfo)
       Add a new POD command with name $cmdname and use processor info from $procinfo. See Embperl::Syntax for a
       definition of procinfo.

   AddPODCmdStartEnd($cmdname,$endname,$procinfo)
       Add a new POD command with name $cmdname and use processor info from $procinfo. Addtionaly specify that a
       matching $endname POD command must be found to end the block, that is started by this POD command.  See
       Embperl::Syntax for a definition of procinfo.

Name

       Embperl::Syntax::POD - convert POD to XML on-the-fly

See Also

       Embperl::Syntax

perl v5.34.0                                       2022-02-06                                   Syntax::POD(3pm)

Synopsis

Todo

       Documentation of the resulting XML format still has to be written...

See Also