1 package Test::Valgrind::Parser;
8 Test::Valgrind::Parser - Base class for Test::Valgrind parsers.
16 our $VERSION = '1.02';
20 This class is the base for L<Test::Valgrind> parsers.
24 use base qw/Test::Valgrind::Component Test::Valgrind::Carp/;
30 =head2 C<args $session, $fh>
32 Returns the list of parser-specific arguments that are to be passed to C<valgrind>.
34 Defaults to the empty list.
40 =head2 C<parse $session, $fh>
42 This method must be implemented when subclassing.
48 =head2 C<start $session>
50 Called when the C<$session> starts.
52 Defaults to set L<Test::Valgrind::Component/started>.
54 =head2 C<finish $session>
56 Called when the C<$session> finishes.
58 Defaults to clear L<Test::Valgrind::Component/started>.
62 L<Test::Valgrind>, L<Test::Valgrind::Component>, L<Test::Valgrind::Session>.
66 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
68 You can contact me by mail or on C<irc.perl.org> (vincent).
72 Please report any bugs or feature requests to C<bug-test-valgrind at rt.cpan.org>, or through the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>.
73 I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
77 You can find documentation for this module with the perldoc command.
79 perldoc Test::Valgrind::Parser
81 =head1 COPYRIGHT & LICENSE
83 Copyright 2009 Vincent Pit, all rights reserved.
85 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
89 1; # End of Test::Valgrind::Parser