NAME¶
HTML::Lint::Parser - Parser for HTML::Lint. No user-serviceable parts inside.
VERSION¶
Version 2.20
SYNOPSIS¶
See HTML::Lint for all the gory details.
METHODS¶
new( $gripe )¶
Constructor for the main parsing object. The
$gripe
argument is a coderef to a function that can handle errors from the parser. It
is only ever (so far) "HTML::Lint::gripe()".
$parser->gripe( $errorcode, [ arg1=>val1, ...] )¶
Calls the passed-in gripe function.
If a given directive has been set to turn off a given message, then the parent
gripe never gets called.