]> git.vpit.fr Git - perl/modules/Test-Valgrind.git/blobdiff - lib/Test/Valgrind/Tool.pm
Add support for ->parser_class() in tools
[perl/modules/Test-Valgrind.git] / lib / Test / Valgrind / Tool.pm
index 147ee1109b00dc25851b6b8492f1d9d4c3ab50dd..077fc09257ce71dbc1be397fff912b61cd766cfe 100644 (file)
@@ -71,6 +71,16 @@ Defaults to return C<undef>, which skips suppression generation.
 
 sub new_trainer { }
 
+=head2 C<parser_class $session>
+
+Returns the class from which the parser for this tool output will be instanciated.
+
+This method must be implemented when subclassing.
+
+=cut
+
+sub parser_class;
+
 =head2 C<report_class $session>
 
 Returns the class in which suppression reports generated by this tool will be blessed.