sub new_trainer { }
-=head2 C<report_class $session>
-
-Wraps around either L</report_class_suppressions> or L</report_class_analysis> depending on the running mode of the C<$session>.
-
-=cut
-
-sub report_class {
- my ($self, $sess) = @_;
-
- if ($sess->do_suppressions) {
- $self->report_class_suppressions($sess);
- } else {
- $self->report_class_analysis($sess);
- }
-}
+=head2 C<parser_class $session>
-=head2 C<report_class_suppressions $session>
-
-Returns the class in which suppression reports generated by this tool will be blessed.
+Returns the class from which the parser for this tool output will be instanciated.
This method must be implemented when subclassing.
=cut
-sub report_class_suppression;
+sub parser_class;
-=head2 C<report_class_analysis $session>
+=head2 C<report_class $session>
-Returns the class in which error reports generated by this tool will be blessed.
+Returns the class in which suppression reports generated by this tool will be blessed.
This method must be implemented when subclassing.
=cut
-sub report_class_analysis;
+sub report_class;
=head2 C<args $session>