1 package Test::Valgrind::Parser;
8 Test::Valgrind::Parser - Base class for Test::Valgrind parsers.
16 our $VERSION = '1.10';
20 This class is the base for L<Test::Valgrind> parsers.
24 use base qw/Test::Valgrind::Component Test::Valgrind::Carp/;
30 The parser constructor, called without arguments.
32 Defaults to L<Test::Valgrind::Component/new>.
34 =head2 C<args $session, $fh>
36 Returns the list of parser-specific arguments that are to be passed to C<valgrind>.
38 Defaults to the empty list.
44 =head2 C<parse $session, $fh>
46 This method must be implemented when subclassing.
52 =head2 C<start $session>
54 Called when the C<$session> starts.
56 Defaults to set L<Test::Valgrind::Component/started>.
58 =head2 C<finish $session>
60 Called when the C<$session> finishes.
62 Defaults to clear L<Test::Valgrind::Component/started>.
66 L<Test::Valgrind>, L<Test::Valgrind::Component>, L<Test::Valgrind::Session>.
70 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
72 You can contact me by mail or on C<irc.perl.org> (vincent).
76 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>.
77 I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
81 You can find documentation for this module with the perldoc command.
83 perldoc Test::Valgrind::Parser
85 =head1 COPYRIGHT & LICENSE
87 Copyright 2009 Vincent Pit, all rights reserved.
89 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
93 1; # End of Test::Valgrind::Parser