X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FTest%2FValgrind%2FParser.pm;h=3489ae56c17bc5794fe0c26fa27e574fa67f1914;hb=4ec45e4261121ecdc32dd5431f939abebf0b6dc4;hp=e4b68b6392bc93ac2c0d1e83d4b9812bd73ef7f7;hpb=01ace0ff88ffd8fb63dfebcc3b8a8baaf9e0df25;p=perl%2Fmodules%2FTest-Valgrind.git diff --git a/lib/Test/Valgrind/Parser.pm b/lib/Test/Valgrind/Parser.pm index e4b68b6..3489ae5 100644 --- a/lib/Test/Valgrind/Parser.pm +++ b/lib/Test/Valgrind/Parser.pm @@ -9,11 +9,11 @@ Test::Valgrind::Parser - Base class for Test::Valgrind parsers. =head1 VERSION -Version 1.02 +Version 1.10 =cut -our $VERSION = '1.02'; +our $VERSION = '1.10'; =head1 DESCRIPTION @@ -21,20 +21,15 @@ This class is the base for L parsers. =cut -use base qw/Test::Valgrind::Carp/; +use base qw/Test::Valgrind::Component Test::Valgrind::Carp/; =head1 METHODS =head2 C -=cut - -sub new { - my $class = shift; - $class = ref($class) || $class; +The parser constructor, called without arguments. - bless { }, $class; -} +Defaults to L. =head2 C @@ -54,9 +49,21 @@ This method must be implemented when subclassing. sub parse; +=head2 C + +Called when the C<$session> starts. + +Defaults to set L. + +=head2 C + +Called when the C<$session> finishes. + +Defaults to clear L. + =head1 SEE ALSO -L, L. +L, L, L. =head1 AUTHOR