<s> """<STR_LIT>""" <EOL> from robotide . lib . robot . model import SuiteVisitor <EOL> class ResultVisitor ( SuiteVisitor ) : <EOL> """<STR_LIT>""" <EOL> def visit_result ( self , result ) : <EOL> if self . start_result ( result ) is not False : <EOL> result . suite . visit ( self ) <EOL> result . statistics . visit ( self ) <EOL> result . errors . visit ( self ) <EOL> self . end_result ( result ) <EOL> def start_result ( self , result ) : <EOL> pass <EOL> def end_result ( self , result ) : <EOL> pass <EOL> def visit_statistics ( self , stats ) : <EOL> if self . start_statistics ( stats ) is not False : <EOL> stats . total . visit ( self ) <EOL> stats . tags . visit ( self ) <EOL> stats . suite . visit ( self ) <EOL> self . end_statistics ( stats ) <EOL> def start_statistics ( self , stats ) : <EOL> pass <EOL> def end_statistics ( self , stats ) : <EOL> pass <EOL> def visit_total_statistics ( self , stats ) : <EOL> if self . start_total_statistics ( stats ) is not False : <EOL> for stat in stats : <EOL> stat . visit ( self ) <EOL> self . end_total_statistics ( stats ) <EOL> def start_total_statistics ( self , stats ) : <EOL> pass <EOL> def end_total_statistics ( self , stats ) : <EOL> pass <EOL> def visit_tag_statistics ( self , stats ) : <EOL> if self . start_tag_statistics ( stats ) is not False : <EOL> for stat in stats : <EOL> stat . visit ( self ) <EOL> self . end_tag_statistics ( stats ) <EOL> def start_tag_statistics ( self , stats ) : <EOL> pass <EOL> def end_tag_statistics ( self , stats ) : <EOL> pass <EOL> def visit_suite_statistics ( self , stats ) : <EOL> if self . start_suite_statistics ( stats ) is not False : <EOL> for stat in stats : <EOL> stat . visit ( self ) <EOL> self . end_suite_statistics ( stats ) <EOL> def start_suite_statistics ( self , stats ) : <EOL> pass <EOL> def end_suite_statistics ( self , suite_stats ) : <EOL> pass <EOL> def visit_stat ( self , stat ) : <EOL> if self . start_stat ( stat ) is not False : <EOL> self . end_stat ( stat ) <EOL> def start_stat ( self , stat ) : <EOL> pass <EOL> def end_stat ( self , stat ) : <EOL> pass <EOL> def visit_errors ( self , errors ) : <EOL> self . start_errors ( errors ) <EOL> for msg in errors : <EOL> msg . visit ( self ) <EOL> self . end_errors ( errors ) <EOL> def start_errors ( self , errors ) : <EOL> pass <EOL> def end_errors ( self , errors ) : <EOL> pass </s>
