OODoc::Parser - base class for all OODoc parsers.
OODoc::Parser is a OODoc::Object OODoc::Parser is extended by OODoc::Parser::Markov
# Never instantiated directly.
A parser is used to process files which contain POD or contain code: their filename extension is
pl (actually, this can be configured).
Currently distributed parsers:
The Markov parser understands standard POD, but adds logical markup tags and the
-Option --Default skip_links undef
The parser should not attempt to load modules which match the REGEXP or are equal or sub-namespace of STRING. More than one of these can be passed in an ARRAY.
Parse the specified input file into a code file and an object tree which describes the pod. Returned is a list of package objects which contain the docs found in this file.
-Option--Default input <required> output <black hole>
After the manuals have been parsed into objects, the information can be formatted in various ways, for instance into POD and HTML. However, the parsing is not yet complete: the structure has been decomposed with parse(), but the text blocks not yet. This is because the transformations which are needed are context dependent. For each text section cleanup() is called for the final touch.
Returns true is the PACKAGE name matches one of the links to be skipped, set by new(skip_links).
Text blocks have to get the finishing touch in the final formatting phase. The parser has to fix the text block segments to create a formatter dependent output. Only a few formatters are predefined.
This module is part of OODoc distribution version 2.00, built on January 11, 2013. Website: http://perl.overmeer.net/oodoc/
Copyrights 2003-2013 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html